write-issue-briefs
Use when asked to triage, go through the issues, clean up the backlog, check which issues are ready, write tickets for the agent, or review new PRs from outside. Sorts open issues and outside PRs into duplicate, needs info, or ready, reproduces bugs on the current code, and turns
Install
npx skills add https://github.com/Heyvhuang/copybook-skills/tree/main/plugins/skills/skills/write-issue-briefs
claude plugin marketplace add https://llmmart.ai/marketplace.json && claude plugin install heyvhuang-copybook-skills@llmmart
git clone https://github.com/Heyvhuang/copybook-skills.git
The skills CLI installs just this skill, for any of its supported agents. Claude Code installs the whole heyvhuang/copybook-skills collection as a plugin from our marketplace. Git is the plain clone.
Skill manifest
Sort issues into briefs an agent can build from
Every open issue or outside PR ends in one of three buckets: duplicate, needs info, or ready. Only ready items get a build brief.
1. List what needs attention
Read the open issues and outside PRs, oldest first, and group them into three short lists:
- New issues with no reply or review yet.
- Stale issues waiting on a next step or a new reporter reply.
- Outside PRs from non-maintainers.
Show a one-line summary for each item and tag it [issue] or [PR].
2. Check for duplicates first
Before editing notes or writing briefs, compare each item against the other open items, closed issues, and existing code by concept, not only by exact title words.
- If two items cover the same bug or request, keep the older or more complete one.
- Link the duplicate to the existing item or file path, mark it duplicate, and stop. Do not write a brief for a duplicate.
3. Reproduce bugs and verify PR claims
For each bug report, run the reported steps or a matching test on the current code (main or current HEAD). Record the exact command, exit code, key output lines, and the file involved.
- If the bug fails as reported, keep the failing command, output, and file path for the brief.
- If the check passes or the bug does not appear, mark the item needs info and state
did not reproducewith the exact command you ran. Do not write a brief.
For an outside PR, read the description and any attached diff, check the repo, and run the matching test or build command. If the goal, diff, or verification is missing, mark it needs info.
4. Ask one question when facts are missing
Mark an item needs info when a feature has no clear acceptance rule, a bug lacks steps or did not reproduce, or an outside PR is missing facts. Ask exactly one concrete question using this template, and do not write a brief:
### Needs info
**Checked so far:**
- State what you read or ran (include `did not reproduce` and the exact command if a bug did not fail).
**Question for the reporter:**
- Ask the single missing fact that would make this item ready.
5. Write a build brief for ready items
Only items that are not duplicates, have a clear acceptance rule, and (for bugs) reproduced on the current code are ready. Write a brief with four parts:
### Issue brief
- **Behaviour now:** What happens today. For a bug, name the failing command and key output.
- **Behaviour wanted:** The concrete acceptance rule that defines done.
- **Files:** Exact repo file paths to read or change.
- **Proof check:** The exact command that fails now and will pass once the work is done.
Keep each brief short enough that another agent can open the named files, run the proof check, and build without guessing.
Based on mattpocock/skills (MIT), rewritten by Copybook.
Files (copybook-skills)
-
CHANGES.md 340 B
Loading… -
example.md 1.2 KB
Loading… -
LICENSE 1 KB · in bundle
-
SKILL.md 3.3 KB
--- name: write-issue-briefs description: "Use when asked to triage, go through the issues, clean up the backlog, check which issues are ready, write tickets for the agent, or review new PRs from outside. Sorts open issues and outside PRs into duplicate, needs info, or ready, reproduces bugs on the current code, and turns each ready item into a brief an agent can build from. Not for turning a conversation into a spec (write-spec-and-tickets)." license: MIT (see LICENSE) --- # Sort issues into briefs an agent can build from Every open issue or outside PR ends in one of three buckets: duplicate, needs info, or ready. Only ready items get a build brief. ## 1. List what needs attention Read the open issues and outside PRs, oldest first, and group them into three short lists: - New issues with no reply or review yet. - Stale issues waiting on a next step or a new reporter reply. - Outside PRs from non-maintainers. Show a one-line summary for each item and tag it `[issue]` or `[PR]`. ## 2. Check for duplicates first Before editing notes or writing briefs, compare each item against the other open items, closed issues, and existing code by concept, not only by exact title words. - If two items cover the same bug or request, keep the older or more complete one. - Link the duplicate to the existing item or file path, mark it **duplicate**, and stop. Do not write a brief for a duplicate. ## 3. Reproduce bugs and verify PR claims For each bug report, run the reported steps or a matching test on the current code (`main` or current `HEAD`). Record the exact command, exit code, key output lines, and the file involved. - If the bug fails as reported, keep the failing command, output, and file path for the brief. - If the check passes or the bug does not appear, mark the item **needs info** and state `did not reproduce` with the exact command you ran. Do not write a brief. For an outside PR, read the description and any attached diff, check the repo, and run the matching test or build command. If the goal, diff, or verification is missing, mark it **needs info**. ## 4. Ask one question when facts are missing Mark an item **needs info** when a feature has no clear acceptance rule, a bug lacks steps or did not reproduce, or an outside PR is missing facts. Ask exactly one concrete question using this template, and do not write a brief: ```markdown ### Needs info **Checked so far:** - State what you read or ran (include `did not reproduce` and the exact command if a bug did not fail). **Question for the reporter:** - Ask the single missing fact that would make this item ready. ``` ## 5. Write a build brief for ready items Only items that are not duplicates, have a clear acceptance rule, and (for bugs) reproduced on the current code are **ready**. Write a brief with four parts: ```markdown ### Issue brief - **Behaviour now:** What happens today. For a bug, name the failing command and key output. - **Behaviour wanted:** The concrete acceptance rule that defines done. - **Files:** Exact repo file paths to read or change. - **Proof check:** The exact command that fails now and will pass once the work is done. ``` Keep each brief short enough that another agent can open the named files, run the proof check, and build without guessing. Based on mattpocock/skills (MIT), rewritten by Copybook.
Reviews (0)
No reviews yet.
Comments
Sign in to join the conversation.
No comments yet. Start the conversation.