/review:data-contractsfrom review
Reviews PR diffs for data consistency, schema/migration safety, and API/event contract compatibility. Use when analyze risk_class includes data or api, or when a PR changes schemas, migrations, public APIs, or event payloads.
Ships in review. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Quality Review pass covering taxonomy categories 7 Data & consistency and 11 API / contract design. Emits Conventional Comment findings in the bug-finder schema.
mktemp -d$OUTPUT_DIR/pr-analysis-<PR_NUMBER>.jsonWrites $OUTPUT_DIR/data-contracts-<PR_NUMBER>.json:
{
"pr_number": 123,
"pass": "data-contracts",
"findings": [
{
"severity": "critical|high|medium",
"label": "issue|suggestion|nitpick|question|thought|praise",
"decoration": "blocking|non-blocking|if-minor",
"path": "exact/path",
"line": 42,
"title": "5-10 words",
"body": "explanation",
"suggestion": "concrete fix",
"suggested_change": "exact replacement for lines start_line..line, or omit"
}
]
}
suggested_change posts as a committable GitHub suggestion. Emit it only
when the fix is confined to the commented lines, you can reproduce the range
verbatim from the diff, and it runs under ~10 lines; otherwise leave the prose
suggestion alone. Most findings in this pass are design-level and will not
qualify.
PR_URL="$1"
OUTPUT_DIR="${2:-$(mktemp -d -t pr-review-XXXXXX)}"
mkdir -p "$OUTPUT_DIR"
PR_NUMBER=$(echo "$PR_URL" | grep -oE 'pull/[0-9]+' | grep -oE '[0-9]+')
references/anti-patterns.md.references/checklist.md.shared/severity-rubric.md./review:review captures the PR once into $OUTPUT_DIR and every pass shares
it. Read $OUTPUT_DIR/pr.diff and $OUTPUT_DIR/pr-view.json; never write to
either — the other passes are reading them. Fetch only when run standalone:
if [ ! -s "$OUTPUT_DIR/pr.diff" ]; then
gh pr diff "$PR_URL" > "$OUTPUT_DIR/pr.diff"
gh pr view "$PR_URL" --json title,body,files,additions,deletions,commits \
> "$OUTPUT_DIR/pr-view.json"
fi
Focus on migrations, schema files, serializers, OpenAPI/Protobuf/Avro, handlers with writes, public route/event definitions.
Walk checklist: data/consistency first, then API/contracts. Clean Code findings are blocking regardless of module reach — blast radius sets severity, not whether to block. Name the resolving refactoring in suggestion.
Prioritize:
jq -n \
--argjson pr_number "$PR_NUMBER" \
--arg pass "data-contracts" \
--argjson findings "$FINDINGS_JSON" \
'{pr_number: $pr_number, pass: $pass, findings: $findings}' \
> "$OUTPUT_DIR/data-contracts-${PR_NUMBER}.json"
/review:data-contracts <PR_URL> [OUTPUT_DIR]data or api ∈ risk_classWhat SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub ozzycodes2/claudellum --plugin review11 skills in this plugin
/analyzeAnalyze PR changes to detect languages, frameworks, test setup, impact areas, and risk classes. Use when starting a PR review and you need to understand what changed before deeper analysis./change-evolutionReviews PR diffs for CD readiness, reversibility, and design-quality risks such as YAGNI, deep modules, and complexity budget. Use when a PR is large, mixes refactor with behavior, or introduces flags/migrations/stranglers./codegenGenerates simple tests, docstrings, and documentation updates for PR changes. Use when reviewing a PR and you want draft tests, docstrings, or CHANGELOG entries to fill the gaps it surfaced (human review required before committing).