pr-backlog-reflection
Skill1 starsChanged 2 months agoApache-2.0View on GitHub
Identify concrete, out-of-scope follow-up work noticed while implementing or reviewing a Compendium pull request. Use to turn architectural debt, defects, duplication, missing coverage, or polish gaps into deduplicated GitHub-backlog candidates; do not use for merge-readiness review findings.
In this repository7 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- code-reviewSkill
- pull-request-reviewSkill
- backlog-refinementSkill
- product-ownerSkill
- quality-assuranceSkill
- ux-designerSkill
The file
We split this skill into the rules it gives an agent
6 rules. About 0 are common, 6 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈6
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 20
Read the PR/issue description, current diff against its merge base, relevant tests, and the canonical specifications for touched subsystems.
- Distinctive: line 25
Use the relevant lenses from the pull-request review skill, especially shared state authority, service ownership, cross-surface parity, …
- Distinctive: line 32
Keep a candidate only when it has a specific trigger or maintenance cost and a bounded, independently valuable outcome.
- Distinctive: line 44
Do not split one root cause into several issues merely because it has several call sites.
- Distinctive: line 58
Search open and recently closed issues, related PRs, and relevant specifications using the domain terms, affected subsystem, and likely …
- Distinctive: line 64
Use the repository's backlog-refinement procedure when it is available for priority, relationship, sizing, and GitHub issue conventions.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
PR backlog reflection (brylie/compendium)
Turn useful observations from a pull request into a small, actionable backlog set. The goal is to preserve improvements that are real but not required to complete the current PR, without manufacturing work or expanding the PR.
This is a follow-up-discovery workflow, not a substitute for pull-request review. A problem that makes the current PR incorrect, unsafe, or incomplete belongs in the review or implementation work first. Do not edit code, create GitHub issues, change project-board fields, or post comments unless the user explicitly authorizes that mutation.
Establish the change and its intended boundary
- Read the PR/issue description, current diff against its merge base, relevant tests, and the canonical specifications for touched subsystems.
- Build on observations made during implementation or review; inspect nearby callers, parallel adapters, and consumers only far enough to establish a concrete improvement opportunity.
- Use the relevant lenses from the pull-request review skill, especially shared state authority, service ownership, cross-surface parity, persistence, trust boundaries, and test layers.
Decide whether an observation belongs in the backlog
Keep a candidate only when it has a specific trigger or maintenance cost and a bounded, independently valuable outcome. Good candidates commonly include:
- repeated business logic or manually synchronized schemas across adapters;
- an architectural seam, migration, lifecycle, or error path that was exposed by the PR but is not needed for the PR's acceptance criteria;
- missing regression, boundary, accessibility, observability, or capacity coverage with a clear failure mode;
- a reproducible defect outside the PR's scope; or
- a small feature or usability gap that materially improves an existing flow.
Discard preference-only nits, vague future-proofing, and speculative risks. Do not split one root cause into several issues merely because it has several call sites. Do not refile debt that is unrelated to the changed area unless the work directly revealed a new, evidenced consequence.
Classify each valid observation before presenting it:
| Classification | Use when |
| Current-PR finding | It violates the intended contract, creates a credible regression, or is necessary for a supported surface. Keep it out of the backlog list and raise it in the active review/work. |
| Backlog candidate | It is valuable, concrete, and can be delivered independently after this PR. |
| Note only | It lacks enough evidence, duplicates existing work, or has no meaningful outcome. |
Check that the work is not already tracked
Search open and recently closed issues, related PRs, and relevant specifications using the domain terms, affected subsystem, and likely user outcome. Merge a candidate into existing work when the root cause and outcome overlap; mention the existing issue rather than proposing a duplicate. If the existing issue is only adjacent, explain the distinction.
Use the repository's backlog-refinement procedure when it is available for priority, relationship, sizing, and GitHub issue conventions. Do not invent a priority, owner, milestone, or product commitment when the repository contract does not supply one.
Report actionable candidates
Lead with No backlog candidates identified when none meet the bar. Otherwise,
for each candidate provide:
- Title: an outcome-oriented issue title.
- Why now: the exact observation in this PR and why it is intentionally outside the current scope.
- Problem and impact: the triggering condition and concrete cost or risk.
- Proposed outcome: behavior, refactoring boundary, or coverage that would make the work complete; include concise acceptance criteria when clear.
- Affected area: modules/surfaces and any important dependency or relationship to the current PR.
- Evidence: relevant file paths, tests, specifications, or a reproduction.
- Duplicate check: linked related issue/PR, or
none foundwith the search terms used.
Separate ready-to-file candidates from observations that need validation. Keep the list small and rank only when the repository's established priority rules provide a basis. If asked to file approved candidates, create one issue per distinct root cause and preserve the evidence and relationships in the issue body.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

