Agent skill

Verify PR

by go-to-k in go-to-k/cdkd

Comprehensive PR readiness check before merge. An agent skill from go-to-k/cdkd.

Apache-2.0Auto-check passedDevelopment

Install Verify PR

skills CLI
$ npx skills add go-to-k/cdkd --skill verify-pr -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install go-to-k/cdkd verify-pr --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/go-to-k/cdkd.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/verify-pr .claude/skills/verify-pr && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
verify-pr
GitHub stars
146
Token cost
~2.1k tokens
SKILL.md length
1,088 words
Files
4 (incl. references)
Skills in repo
14
Repo updated
First seen
Licence
Apache-2.0

At a glance

Comprehensive PR readiness check before merge. An agent skill from go-to-k/cdkd.

  • Works in 11 steps: Worktree pre-flight: mise trust, then [… → Code quality — /check steps 1-3, which… → Tests → …
  • Development work in your project
  • SKILL.md covers Checklist, Output and Final Step
  • Calls git, gh and mise

What it does

Verify PR is an agent skill from go-to-k/cdkd. Comprehensive PR readiness check before merge. Run quality checks, tests, CI, documentation, AWS resource cleanup, and code review.

Its SKILL.md is about 2.1k tokens, which your agent loads only when the skill is triggered. The skill folder holds 4 other files, including reference files (for example `references/code-review.md`, `references/leftover-and-integ-gates.md` and `references/wrap-up.md`).

It sits in Development. It works with Amazon Web Services and AWS CloudFormation. The repository describes itself as: Drop-in CDK CLI for existing CDK apps — up to 15x faster deploys via direct AWS SDK calls instead of CloudFormation. The licence is Apache-2.0.

When your agent uses it

  • Development work in your project

Example prompts

  • “/verify-pr”

Workflow steps

11 steps, taken from the first numbered list in SKILL.md.

  1. Worktree pre-flight: mise trust, then [ -d node_modules ] || pnpm install.
  2. Code quality — /check steps 1-3, which this skill supersedes.
  3. Tests
  4. CI status
  5. Working tree: git status clean; branch up to date with remote.
  6. Documentation consistency
  7. Leftover resources + the integ runs — read
  8. No stale references: grep for removed imports / old module names;
  9. Code review — read references/code-review.md.
  10. Live-test changed behavior
  11. **Retrospective, residual-nit sweep, PR title + body freshness (steps

What it can do on your machine

Read from SKILL.md and the folder at commit aefb343. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • git
    • gh
    • mise
    • pnpm
    • node

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use git, gh and pnpm, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Verify PR loads about 2.1k tokens when it runs, and up to ~5.2k if it reads all its reference files. Until then it costs about 35 tokens; SKILL.md has 1,088 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~35
When it runs · the whole SKILL.md, loaded when a task matches
~2.1k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~5.2k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from go-to-k/cdkd at commit aefb343, republished under its Apache-2.0 licence (© go-to-k). 1,088 words, ~2,118 tokens.

Download SKILL.mdSave it as .claude/skills/verify-pr/SKILL.md (or your agent's skills folder). This skill also uses 3 other files; get the full folder from GitHub.
name
verify-pr
description
Comprehensive PR readiness check before merge. Run quality checks, tests, CI, documentation, AWS resource cleanup, and code review.
argument-hint
[PR-number]

PR Readiness Verification

Heavy pre-merge check, before creating or merging a PR — NOT before every commit (that is /check). No hook or marker enforces it; the checklist still applies in full and is the recommended procedure before gh pr create / gh pr merge.

Steps 6, 8 and 10-12 live in references/*.md, read at the step that uses them.

Checklist

Run each check and report pass/fail:

  1. Worktree pre-flight: mise trust, then [ -d node_modules ] || pnpm install. mise trust is unconditional — an untrusted .mise.toml makes every mise exec in this run die with a config-parse error naming no cause. A fresh worktree has no node_modules, so typecheck / lint / build / test all fail with tsc: command not found, easy to miss when output is piped to tail (the exit code is tail's). Do not start step 1 until this passes.

  2. Code quality — /check steps 1-3, which this skill supersedes.

    • vp run check (CI's exact command: typecheck + lint + Prettier; lint alone skips Prettier), vp run typecheck:test (the only gate covering tests/**), vp run build — all pass.
    • When piping to tail / head / grep, check the output CONTENT for Error / Command failed: $? after a pipeline reflects the last stage. When in doubt: out=$(mktemp); vp run X > "$out" 2>&1; rc=$?; tail -3 "$out"; echo "[rc=$rc]".
  3. Tests

    • vp test run — all unit tests pass (preferred over vp run test; /check step 4 has the rationale). Report the test count.
    • Every scope / diff check in this skill uses origin/main...HEAD, never main...HEAD — the integ-destroy gate derives its scope from origin/main, so an unfetched local main makes this skill and the merge-blocking gate disagree about what the branch touched.
    • Test coverage check: compare the diff's src/ changes against its tests/ changes; new or modified logic with no test update is a FAIL.
  4. CI status

    • PR number: argument, else gh pr view --json number -q .number, else ask via AskUserQuestion.
    • FIRST: gh pr view <PR> --json mergeStateStatus,mergeable. At mergeable=CONFLICTING state=DIRTY the CI workflow NEVER fires, however long you wait, and neither close+reopen nor a force-push of unchanged content re-triggers it. Resolution: git fetch origin main && git rebase origin/main, resolve, force-push.
    • Only once the state is CLEAN / UNSTABLE / BLOCKED / BEHIND: gh pr checks <PR> — all pass; if pending, wait and recheck.
  5. Working tree: git status clean; branch up to date with remote.

  6. Documentation consistency

    • Invoke /check-docs logic: docs match code changes; no stale references. Run it ONCE per PR, at the FINAL sha — not per commit. It is the required step for SEMANTIC docs consistency: CI only covers the STRUCTURAL checks (links, nav, tables, error strings, coverage matrices), so whether a surviving sentence is still TRUE is checked here or nowhere.
    • Generated-artifact freshness: CI carries a staleness guard per generated artifact. Do not hand-list them — regenerate everything, then check nothing is dirty:
      bash
      # `format` is in the chain, not a tidy-up: CI's guard formats before
      # diffing, so skipping it renders a formatting-only diff as real drift.
      vp run gen:all-matrices && vp run format
      vp run audit:coverage:check          # offline critic, not part of the aggregate
      git status --short docs/ src/provisioning/property-coverage.generated.ts \
                         src/provisioning/unsupported-types.generated.ts
      Anything dirty was stale before you ran the above: stage it into the PR and re-run /check-docs. If audit:coverage:check fails, run vp run audit:coverage:regenerate (heavy, needs AWS credentials with cloudformation:ListTypes + DescribeType) and commit the cache. A new registry.register(...) also needs an integ fixture covering it; nothing blocks on that, so check it here.
  7. Leftover resources + the integ runs — read references/leftover-and-integ-gates.md. Always do the baseline state-bucket check; the deletion / cross-cutting / local-execution / schema-bump integ runs apply only when the diff touches their scope.

  8. No stale references: grep for removed imports / old module names; src/index.ts exports consistent.

  9. Code review — read references/code-review.md. /review-pr <N> picks the reviewers: one by default, pr-security-reviewer additive whenever a security surface is touched, 3-axis for a state-schema bump or a security fix. Every fix round gets re-reviewed.

  10. Live-test changed behavior

    • Unit tests verify code correctness; this verifies FEATURE correctness against the runtime the user sees. vp run build first.
    • For each user-visible change (CLI command, output format, flag, error message), run the actual command path: CLI change → node dist/cli.js <subcommand> <args> against tests/integration/<example>/cdk.out or a real state bucket, in each output mode; state-touching change → a real or test bucket; library change → a minimal repro importing the new path.
    • "Tests passed" is not "feature works." If you cannot live-test, report it as a FAILED row rather than skipping silently, and do not open or merge the PR on it quietly.
  11. Retrospective, residual-nit sweep, PR title + body freshness (steps 10-12) — read references/wrap-up.md. All three run once, at the end. The nit sweep is where a deferral gets CLASSIFIED: do not report the PR ready with a reviewer-flagged item that is neither fixed, filed, nor recorded as won't-do.

Show full SKILL.md (297 more words)Show less

Output

Present results as a table:

CheckResult
vp run check (typecheck + lint + format)pass/fail
vp run typecheck:testpass/fail
buildpass/fail
tests (N files, M tests)pass/fail
test coverage for changespass/fail
CIpass/fail
working treeclean/dirty
docs consistencypass/fail
leftover resourcesnone/found
integ-destroy marker (deletion-touching PRs only)fresh/stale/n-a
broad / local / schema-migration integ run (when in scope)run/n-a
code review (incl. shared-utility callers)pass/issues found
live-test changed behaviorpass/skipped/issues found
retrospective + rule proposalsdone/skipped
residual review-nit sweep (fixed / TODO-issue / won't-do)N items / 0 unhandled
every TODO carries Session-fit / Severity / Effort / EstimateN classified / 0 open now
auto-close audit (no Closes (#N) in body)clean / N traps fixed
PR title + body freshnessup-to-date/stale (updated)/n-a (no PR yet)

If all pass, confirm "PR is ready to merge." If any fail, list the issues.

Read ../../rules/session-report.md before writing the report — its paths: glob matches only AGENTS.md, which the harness injects rather than reads, so it never auto-loads.

Then add the State line the wrap-report rule requires. Specific to THIS skill: "ready to merge" is rarely the end of the turn. A merely PENDING check (CI, an integ, a reviewer not back) is WAITING and you merge on green; a check that legitimately cannot pass is not WAITING at all; STOPPED is only for a PR already merged, or one whose next step the user explicitly owns.

Final Step

After all checks pass, land the work:

bash
git add -A
git diff --cached --quiet || git commit -m "..."
git push        # after a rebase: --force-with-lease

No marker is recorded — nothing mechanical consults this run, which makes the report the only record that it happened. Two merge conditions remain, and this skill sets neither: the main ruleset's required checks, which GitHub enforces — wait with gh pr checks <N> --watch — and, for a deletion-touching diff, the integ-destroy gate /run-integ sets after a clean real-AWS destroy.

Skip the commit/push if any check failed.

© go-to-k, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 3 other files (references) in .claude/skills/verify-pr of go-to-k/cdkd.

  • SKILL.md
  • references/code-review.md
  • references/leftover-and-integ-gates.md
  • references/wrap-up.md

Open the folder on GitHubat commit aefb343

Compare with similar skills

Verify PR next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Verify PR compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Verify PR this skillgo-to-k/cdkd146—~2.1kAutomated safety check: PassApache-2.0
PR Reviewaws/aws-cdk-cli107—~2kAutomated safety check: PassApache-2.0
AWS Architecture Diagramawslabs/agent-plugins916—~3.8kAutomated safety check: NotesApache-2.0
Document Serviceawslabs/agent-plugins916—~4.4kAutomated safety check: PassApache-2.0
AWS Sam Bootstrapgiuseppe-trisciuoglio/developer-kit357—~954Automated safety check: NotesMIT
AWS Cdk Developmentzxkane/aws-skills3672 repos~2.5kAutomated safety check: PassMIT

Similar skills

  • PR Review

    aws/aws-cdk-cli

    Official

    AWS CDK CLI general PR reviewer. An agent skill from aws/aws-cdk-cli.

    107 GitHub stars~2k tokensUpdated yesterday
    DevelopmentAuto-check passed
  • AWS Architecture Diagram

    awslabs/agent-plugins

    Official

    Generate validated AWS architecture diagrams as draw.io XML using official AWS4 icon libraries.

    916 GitHub stars~3.8k tokensUpdated today
    DevOps & CloudAuto-check: notes
  • Document Service

    awslabs/agent-plugins

    Official

    This skill should be used when the user asks to "analyze this codebase", "document this service", "generate technical docs", "I inherited this code", "help me understand this system", "create docs…

    916 GitHub stars~4.4k tokensUpdated today
    DevOps & CloudAuto-check passed
  • AWS Sam Bootstrap

    giuseppe-trisciuoglio/developer-kit

    Provides AWS SAM bootstrap patterns: generates template.yaml and samconfig.toml for new projects via sam init, creates SAM templates for existing Lambda/CloudFormation code migration, validates…

    357 GitHub stars~954 tokensUpdated 1 mo ago
    Backend & APIsAuto-check: notes
  • AWS Cdk Development

    zxkane/aws-skills

    AWS Cloud Development Kit (CDK) expert for building cloud infrastructure with TypeScript/Python.

    367 GitHub starsUsed in 2 repos~2.5k tokens
    DevOps & CloudAuto-check passed
  • AWS Cloud Advisor

    tech-leads-club/agent-skills

    Answers AWS architecture, security and service-selection questions by searching AWS documentation through MCP tools first, then adapting advice to your stack and team.

    7k GitHub stars~2.1k tokensUpdated yesterday
    DevOps & CloudAuto-check passed

More from go-to-k/cdkd

All 14 skills in this repo
  • Hunt Bugs

    go-to-k/cdkd

    Proactively hunt for cdkd bugs by deploying real CDK apps that exercise common-but-untested AWS resources, configs, and CloudFormation notations against real AWS, then fix what breaks.

    146 GitHub stars~2.2k tokensUpdated today
    Auto-check passed
  • Use Cdkd

    go-to-k/cdkd

    Build the current cdkd checkout and use it from another CDK project.

    146 GitHub stars~669 tokensUpdated today
    Auto-check passed
  • Work Issues

    go-to-k/cdkd

    Work through already-filed GitHub issues (typically the bug-hunt's output) end to end — triage safely, pick as many FILE-DISJOINT issues as the run can carry, claim each on the issue before starting…

    146 GitHub stars~1.7k tokensUpdated today
    Auto-check passed
  • Cdkd

    go-to-k/cdkd

    Install cdkd and use it safely from an AWS CDK project. An agent skill from go-to-k/cdkd.

    146 GitHub stars~7k tokensUpdated today
    Auto-check: notes
  • Run Integ

    go-to-k/cdkd

    Run integration tests (deploy + destroy) against real AWS. An agent skill from go-to-k/cdkd.

    146 GitHub stars~5.8k tokensUpdated today
    Auto-check passed
  • Check

    go-to-k/cdkd

    Run local quality checks (typecheck, lint, build, tests). An agent skill from go-to-k/cdkd.

    146 GitHub stars~1.5k tokensUpdated today
    Auto-check passed

Categories

Questions about Verify PR

What does Verify PR do?

Comprehensive PR readiness check before merge. An agent skill from go-to-k/cdkd. Verify PR is an agent skill from go-to-k/cdkd. Comprehensive PR readiness check before merge.

When should I use Verify PR?

Verify PR fits situations like: development work in your project.

How do I install Verify PR in Claude Code?

Run `npx skills add go-to-k/cdkd --skill verify-pr -a claude-code`. Or copy the skill folder (.claude/skills/verify-pr in go-to-k/cdkd) into .claude/skills/verify-pr in your project. Claude Code loads it when a task matches its description.

How do I install Verify PR in Codex?

Run `npx skills add go-to-k/cdkd --skill verify-pr -a codex`. Or copy the skill folder (.claude/skills/verify-pr in go-to-k/cdkd) into .agents/skills/verify-pr in your project. Codex loads it when a task matches its description.

Can I use Verify PR in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add go-to-k/cdkd --skill verify-pr -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/verify-pr, .gemini/skills/verify-pr, .github/skills/verify-pr and .opencode/skills/verify-pr in your project.

What does Verify PR need to run?

Going by SKILL.md and its folder, Verify PR needs the command-line tools its instructions call (git, gh, mise, pnpm and node).

Does Verify PR access the network?

SKILL.md contains no URLs. Its commands use git and gh, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Verify PR safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Verify PR use?

Verify PR is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Verify PR use?

About 2.1k tokens (SKILL.md is roughly 8.5k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 3k tokens, read only when the agent opens those files.

What are the alternatives to Verify PR?

Skills that share tags, products or a category with Verify PR: PR Review (aws/aws-cdk-cli, 107 stars), AWS Architecture Diagram (awslabs/agent-plugins, 916 stars), Document Service (awslabs/agent-plugins, 916 stars) and AWS Sam Bootstrap (giuseppe-trisciuoglio/developer-kit, 357 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Verify PR?

go-to-k (a GitHub user) maintains it in go-to-k/cdkd, which has 146 GitHub stars. The repository holds 14 skills in this directory. The repository was last updated on October 10, 2026.

Source: go-to-k/cdkd on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.