01-package-scaffolding/pr-review-ticket-bridge/SKILL.md
Review a pull request, validate review comments against the actual implementation, and generate follow-up tickets only for findings that survive evidence-based triage. Use after a PR review cycle when comments need to be triaged into actionable work items. Do not use during an in-progress review, when all comments were already addressed in the PR, or for discussions that aren't action items.
npx skillsauth add chelch5/skilllibrary pr-review-ticket-bridgeInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Use this skill when you need to inspect a pull request and turn valid findings into tracked work items.
This skill produces canonical ticket proposals — it does not bypass the repo's existing ticket lifecycle or create tickets through unguarded paths.
Review ALL of these before judging comments:
Do not treat a single comment in isolation as sufficient evidence.
Before triaging comments, evaluate the PR yourself:
For each material review comment, assess:
| Field | Values |
|-------|--------|
| Severity | critical, major, minor |
| Validity | valid, partially valid, outdated, invalid |
| Evidence | Tie judgment to the actual diff and repo contract |
Reject comments that:
Narrow partially valid comments to the specific surviving issue.
For each potentially valid finding:
### Comment: [summary]
**Reviewer claim:** [what they said]
**Code location:** [file:line]
**Validation:**
- [ ] Code at location still exists (not outdated)
- [ ] Issue described is actually present
- [ ] No subsequent commit addressed this
**Verdict:** [VALID | INVALID | OUTDATED]
For each valid, actionable finding:
Decision matrix:
| Impact | Effort | Blocks Release? | Action | |--------|--------|----------------|--------| | High | Small | Yes | Address in PR now | | High | Large | Yes | Create P0 ticket | | High | Any | No | Create P1 ticket | | Medium | Small | No | Address now or defer | | Low | Any | No | Defer or won't-fix |
Return:
# PR Review → Ticket Bridge Report
PR: #[NUMBER]
Date: [ISO date]
## Summary
- Comments received: N
- Validated as issues: N
- Tickets created: N
- Addressed in PR: N
- Deferred/Rejected: N
## Tickets Proposed
| ID | Title | Priority | Source Comment |
|----|-------|----------|---------------|
## Rejected Comments
| Comment | Reason |
|---------|--------|
## Blockers for Human Decision
| Finding | Why | Owner |
|---------|-----|-------|
gh pr view or extract from GitHub web UItesting
Manages context window budgets, loading strategies, and compaction techniques for AI-assisted coding sessions. Trigger on 'context window', 'what to load', 'context management', 'context overflow', 'token budget'. DO NOT USE for loading specific project docs into agent context (use project-context) or prompt wording and optimization (use prompt-crafting).
development
Implements authentication, session, token, and authorization patterns for the current stack. Trigger on 'add auth', 'JWT', 'OAuth', 'login endpoint', 'session management', 'API key auth'. DO NOT USE for OWASP hardening checklists (use security-hardening), threat modeling (use security-threat-model), or secret rotation/storage (use security-best-practices).
tools
Defines request/response shapes, versioning, validation, and compatibility rules for API-first work. Trigger on 'design API', 'OpenAPI spec', 'REST schema', 'API versioning', 'generate client SDK'. DO NOT USE for GraphQL schemas, gRPC/protobuf definitions (use stack-standards), auth endpoint logic (use auth-patterns), or external API client wrappers (use external-api-client).
development
Create a repo-local ticket system with an index, machine-readable manifest, board, and individual ticket files. Use when a repo needs task decomposition that autonomous agents can follow without re-planning the whole project each session. Do not use for executing tickets (use ticket-execution) or quick fixes that don't warrant formal tickets.