cdkd: Skill for Claude Code

.claude/skills/verify-pr/SKILL.md

verify-pr is a skill for Claude Code from go-to-k/cdkd. It costs 29 tokens per session (5,331 once invoked), scanned A, original, Apache-2.0.

A pre-merge checklist for a pull request, which is a proposed set of code changes submitted for review. It checks code quality, tests, builds, CI, documentation, AWS cleanup, and review readiness.

In plain words
What is it for?
It is for running the full verification process before creating or merging a pull request.
Why use it?
It reduces the chance of merging changes that fail checks or leave behind resources, especially when command output could hide failures.

Skill for Claude Code

Written for Claude Code: argument-hint in frontmatter. Also seen: reads .claude/ paths; mentions CLAUDE.md; names the AskUserQuestion tool.

This is go-to-k/cdkd's own configuration. It tells Claude Code how to work on cdkd itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything cdkd configures →

View source ↗ go-to-k/cdkd
Reuse

Borrowing it

Nothing to install: this file belongs to go-to-k/cdkd. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/go-to-k/cdkd/main/.claude/skills/verify-pr/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/go-to-k/cdkd

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for verify-pr

README.md
[![agentmods](https://agentmods.dev/badge/skills/go-to-k/cdkd/verify-pr.svg)](https://agentmods.dev/skills/go-to-k/cdkd/verify-pr)
Your own site
<a href="https://agentmods.dev/skills/go-to-k/cdkd/verify-pr"><img src="https://agentmods.dev/badge/skills/go-to-k/cdkd/verify-pr.svg" alt="Measured on agentmods" height="20"></a>
Per session 29 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 5,331 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Agent Snooping · line 132
    Skill enumerates or reads other installed skills. Access to other skills' SKILL.md files or the skills directory reveals prompt instructions, capabilities, and secrets that should be invisible to peer skills.
    Fix: Remove all code or instructions that list or read other skills' files or directories. Skills should operate independently; cross-skill access is a privilege escalation.
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00029 $0.05331
Opus 5 $0.00015 $0.02665
Sonnet 5 $0.00006 $0.01066
Haiku 4.5 $0.00003 $0.00533

Measured today against content hash b8d4163ba20c, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

verify-pr scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured today.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.claude/skills/verify-pr/SKILL.md · 385 lines

How it starts

The opening of the file, as written. The whole thing — 385 lines — stays where its author put it; the contents beside it link to each section on GitHub.

PR Readiness Verification

Heavy pre-merge gate. Run before creating or merging a pull request — NOT before every commit (per-commit verification is /check, enforced by the check-gate hook).

Checklist

Run each check and report pass/fail:

  1. Worktree pre-flight: [ -d node_modules ] || pnpm install. git worktree add does NOT copy node_modules, so a fresh worktree's typecheck/lint/build/test all fail with tsc: command not found etc. — and the failure is easy to miss when output is piped to tail (the exit code reflects tail). If skipping via an existing node_modules, spot-check pnpm-lock.yaml mtime ≤ node_modules/.modules.yaml mtime. Do not start step 1 until this passes, or every check below silently no-ops.

  2. Code quality

    • vp run typecheck, vp run lint (lint:fix first if needed), 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, and a background-task notification's exit code 0 is the chained command's exit. When in doubt: vp run X > /tmp/out 2>&1; rc=$?; tail -3 /tmp/out; echo "[rc=$rc]".
  3. Tests

    • vp test run — all unit tests pass. Preferred over vp run test: nothing sits between the caller and the verdict (/check step 4 has the full rationale). Report test count.
    • Every scope / diff check in this skill uses origin/main...HEAD, never main...HEAD — the gate hooks derive scope from origin/main, so an unfetched local main makes this skill and the merge-blocking hook disagree about what the branch touched.
    • Test coverage check: compare the diff's src/ changes vs tests/ changes; new/modified logic with no corresponding test update = fail — add the missing tests before proceeding.
  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 -q '"mergeable=\(.mergeable) state=\(.mergeStateStatus)"' — at mergeable=CONFLICTING state=DIRTY the CI workflow NEVER fires, however long you wait (PR #404: ~70 min lost; close+reopen and force-pushing unchanged content do not re-trigger). Resolution: git fetch origin main && git rebase origin/main, resolve, force-push — CI fires within ~30s.
    • Only after the state is CLEAN / UNSTABLE / BLOCKED / BEHIND: gh pr checks <PR> — all pass; if pending, wait and recheck.

Read the full file on GitHub · 385 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. today Changed · +1 lines b8d4163ba20c
  2. yesterday Changed · +4 lines d0c87b7f0ccb
  3. 4d ago Changed · +59 lines 3e8e30308f3e
  4. 5d ago Changed 650e9b274d08
  5. 8d ago First seen · 321 lines · 29 tokens per session scan A 3dc1071516ca

Subscribe to this mod's changes

verify-pr is a skill published in the GitHub repository go-to-k/cdkd (135 stars, last pushed today), licensed Apache-2.0. It adds 29 tokens to every session and 5,331 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

aws-cdk-mcp-server-mcp

AWS Cloud Development Kit (CDK) best practices, infrastructure as code patterns, and security compliance with CDK Nag.

Friz-zy/ai-capability-registry · 33 tokens

aws-testing

Testing strategies for AWS workloads. Use when writing unit tests, integration tests, contract tests, mocking AWS services, or setting up quality gates and CI/CD test pipelines.

eliecer2000/kiro-bootstrap · 36 tokens

python-runtime

Python toolchain configuration and best practices. Use when setting up Ruff, pytest, mypy type hints, dependency management, virtual environments or Python project standards.

eliecer2000/kiro-bootstrap · 34 tokens

prowler-pr

Creates Pull Requests for Prowler following the project template and conventions. Trigger: When working on pull request requirements or creation (PR template sections, PR title Conventional Commits check, changelog gate/no-changelog label), or when inspecting PR-related GitHub workflows like conventional-commit.yml…

prowler-cloud/prowler · 84 tokens

prowler-test-api

Testing patterns for Prowler API: JSON:API, Celery tasks, RLS isolation, RBAC. Trigger: When writing tests for api/ (JSON:API requests/assertions, cross-tenant isolation, RBAC, Celery tasks, viewsets/serializers).

prowler-cloud/prowler · 62 tokens

adversarial-reviewer

Adversarial code review that assumes bugs exist and hunts for them. Use when asked to review code, find bugs, audit for correctness, stress-test a PR, or when someone says "tear this apart" or "what's wrong with this". Give no benefit of the doubt — every line is guilty until proven innocent.

emdash-cms/emdash · 71 tokens