/fullstack-dev-kit:fix-prfrom fullstack-dev-kit
Drives PR feedback to resolution by triaging review comments, CI failures, and self-review findings to fix, defer, or discard each item, then re-verifies gates and replies to reviewers.
Ships in fullstack-dev-kit. 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.
None: SKILL.md is the whole skill.
Drive a PR's feedback to done: run a review, triage every item to a decision, fix what deserves fixing, file what deserves doing later, discard what deserves nothing, answer every reviewer, and re-check after pushing in case late feedback (bots, CI) arrives. The bar for correctness is high; the bar for new machinery is low — fix the defect, don't redesign around it.
Resolve the PR from the current branch — never trust a PR number carried over from earlier in the session (it may be stale; acting on the wrong one, or claiming you did, is a false report). Run gh pr view --json number,state,url,headRefName (no argument = the current branch's PR), or gh pr view <pr> --json number,state,url when the user named one, and read state:
create-pr), or point you at the correct open PR. Never claim you posted changes to it.create-pr, not fix-pr.For bitbucket/gitlab, do the equivalent state check (/pullrequests/{id} → state; glab mr view <id>). Never report having pushed to, commented on, or updated a PR you didn't first confirm is open.
Write one or two sentences: what this PR is for, and what it deliberately does not change — derived from the title, body, linked issue, and the diff. Every scope call below is measured against it. If the intent is genuinely ambiguous, ask the author before triaging.
Collect from every surface, deduplicated. Commands below are for github (prHost in .claude/dev-kit.json); for bitbucket use the REST API (/pullrequests/{id} comments, /statuses), for gitlab glab mr view/checks.
gh pr checks <pr> — read the failing job logs, not just the status.gh pr view <pr> --comments, gh api for threads). Keep outdated threads: the code moved, the concern may not have.pr-review pass).One row per distinct claim, merging duplicates across sources (if the review pass and a human flagged the same defect, that's one row citing both — and the human's thread still gets a reply):
| id | source | file:line | claim | category | verdict |
Assign exactly one verdict per row — nothing stays undecided:
FIX_NOW — fix it in this PR.DEFER_TO_ISSUE — real value, wrong moment → a tracked issue.DISCARD — not worth anyone's time; no fix, no issue.Never DISCARD (from instructions/secure-coding.md + instructions/testing-standards.md): security/data-exposure, serious performance regressions, duplication this PR introduces, and missing test coverage for behavior it changes (when the project has tests). Only defer one of these when the fix is genuinely a separate project — and say so, treating the PR as blocked on the author's call, not quietly filing an issue.
Show the classified ledger before touching code — the cheapest moment to correct a bad call.
Batch every fix that would push past the PR's intent into one round of questions (AskUserQuestion) with your recommendation. Don't widen scope silently.
Smallest correct change per FIX_NOW, following the repo's conventions and the kit instructions. Add/update the tests that prove each fix (a test that fails without it); keep touched files at the project's coverage bar (adaptive — see testing-standards.md). One commit per coherent group; push to the PR branch. No opportunistic refactors, no force-push/amend/rebase of remote commits.
Reply to each human/bot comment with the decision taken, then resolve the thread. Show the exact replies and get confirmation before posting to GitHub (in --auto-approve pipeline runs, post them and flag prominently in the report). Never resolve someone else's thread without a reply. A finding you believe is wrong gets a reasoned reply, not silence.
For each DEFER_TO_ISSUE, confirm the batch with the user, then create a tracked issue via the configured tracker (the issue-* adapters / .claude/dev-kit.json) — or the PR host's issues — and link it from the reply.
Same as create-pr, adaptive to the project: unit tests for touched files pass; coverage-check holds the project's bar with no regression; related e2e pass if user-facing and the project does e2e; lint clean; no suppressions to dodge a gate.
Bots and CI often post minutes after a push. Right after pushing, run the bundled watcher in the background. It ships with the kit at scripts/watch-pr-feedback.sh; resolve its path from the kit install — $CLAUDE_PLUGIN_ROOT on Claude Code, the kit checkout path on Codex:
BASELINE=<ledger github ids> "$CLAUDE_PLUGIN_ROOT"/scripts/watch-pr-feedback.sh <pr> # Claude Code
# Codex: run the same script from the kit's install path (no $CLAUDE_PLUGIN_ROOT there)
Read its exit code: 10 = new feedback (printed) → back to step 3 with the new items; 20 = a bot signalled all-clear (👍 on the PR / approving review); 0 = ten quiet minutes; 30 = inconclusive → re-run it. Only close out on 0 or 20 from a window covering the last push. (GitHub only; for other hosts, do a single post-push re-check instead.)
Account for every ledger row (fixed / deferred+issue link / discarded+why / answered), the verification evidence, how the feedback window closed, and the PR URL. Never report the PR clean while blocking threads remain open.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub theam/claude-dev-kit --plugin fullstack-dev-kit13 skills in this plugin
/coverage-checkRun the repo's unit tests with coverage and verify that every file touched in the current change keeps line, branch, and function coverage at or above 95%. Language- and framework-agnostic. Use before committing, before PR creation, or when the user asks about coverage./create-prCreate a branch, commit the work, and open a pull request for a completed user story, after all quality gates pass. Use when the user asks to open/create a PR or as the final step of the story workflow./delegate-backlogDelegate an approved backlog to the configured async provider so several stories are worked in parallel — one branch and PR per issue — then re-apply the kit's quality via pr-review/fix-pr. The provider is delegation.provider in the kit config (github-copilot or self-hosted-action). Verifies that provider (never fabricates a trigger, never falls through to the other one) and never auto-merges. Use when a PO/dev wants to fan a backlog out to an async agent./dev-kit-setupFirst-use bootstrap for the dev kit. Detects the team's issue tracker, discovers what it can via MCP/CLI, asks only what cannot be discovered, and persists the result to .claude/dev-kit.json in the consuming repo. Use when that file is missing, when the user asks to set up or reconfigure the kit, or when issue-fetch cannot resolve its configuration./e2e-generateCreate or update end-to-end tests for a user-facing flow that changed, using whatever e2e framework the repo already uses. Use after implementing a user story that alters UI behavior, routing, forms, or API-driven views./figma-fetchExtract frame/component structure and all visible text from a Figma design URL. Use whenever a prompt or a fetched issue contains a figma.com/design or figma.com/file link.Other plugins' skills for the same job