Backlog
Maintain a concise, actionable Markdown backlog of future improvements for the
current project. This skill records planning work only; do not implement the
improvement unless the user separately asks for implementation.
Target document
Resolve the target in this order:
- Use an explicit path supplied by the user.
- Otherwise use
docs/backlog.md relative to the repository root. Do not
search for or fall back to another filename.
Before editing, inspect the repository's AGENTS.md files and any relevant
project guidance. Follow their architecture, security, documentation, and
placement requirements. If multiple plausible target documents exist and the
user did not specify one, ask which document to update.
Cleanup mode
When invoked with the cleanup option by a planning workflow, require both:
- the exact backlog item heading to remove; and
- the path to the successfully saved plan.
Verify that the plan exists before editing docs/backlog.md. Remove only the
matching ## item section, from its heading through the line before the next
same-level ## heading or the end of the file. If the heading is missing or
not unique, do not edit the backlog and report the problem. Preserve all other
items and document structure.
Workflow
- Identify the repository root and resolve the target document.
- Read the existing target document completely when it exists.
- Turn the user's request into a focused backlog item:
- a descriptive
## heading;
- a short explanation of the desired improvement;
- a
### Desired behavior section when behavior or constraints need to be
made explicit.
- Check for an existing item covering the same or a closely related concern.
Update or extend that item instead of creating a duplicate. Preserve the
document's existing headings, tone, ordering, and Markdown style.
- Keep the entry implementation-neutral but specific enough to guide future
planning. Include important compatibility, failure-mode, security, and
operational constraints from the request or project guidance. Do not invent
unsupported requirements.
- Use a precise edit for an existing document. Use
write only to create the
document, creating its parent directory as needed. Do not rewrite unrelated
content.
- Report the target path and the item added or updated. Mention if no change
was needed because the request was already covered. In cleanup mode, report
the removed heading and the verified plan path.
Content rules
- Keep backlog entries concise and actionable.
- Prefer desired outcomes and acceptance criteria over speculative task lists.
- Preserve fail-closed, privacy, compatibility, and operational guarantees
when they are relevant to the project.
- Do not include credentials, tokens, secrets, or sensitive request data.
- Do not silently change an existing item's intent; ask a concise clarification
when the requested change conflicts with it or is materially underspecified.
- Do not modify source code, tests, configuration, or project memory as part of
this skill.
1---2name: backlog3description: Maintain a project's backlog by adding, updating, or creating docs/backlog.md. Use when the user asks to record a future improvement, backlog item, TODO, or planned enhancement in project documentation.4---56# Backlog78Maintain a concise, actionable Markdown backlog of future improvements for the9current project. This skill records planning work only; do not implement the10improvement unless the user separately asks for implementation.1112## Target document1314Resolve the target in this order:15161. Use an explicit path supplied by the user.172. Otherwise use `docs/backlog.md` relative to the repository root. Do not18 search for or fall back to another filename.1920Before editing, inspect the repository's `AGENTS.md` files and any relevant21project guidance. Follow their architecture, security, documentation, and22placement requirements. If multiple plausible target documents exist and the23user did not specify one, ask which document to update.2425## Cleanup mode2627When invoked with the `cleanup` option by a planning workflow, require both:2829- the exact backlog item heading to remove; and30- the path to the successfully saved plan.3132Verify that the plan exists before editing `docs/backlog.md`. Remove only the33matching `##` item section, from its heading through the line before the next34same-level `##` heading or the end of the file. If the heading is missing or35not unique, do not edit the backlog and report the problem. Preserve all other36items and document structure.3738## Workflow39401. Identify the repository root and resolve the target document.412. Read the existing target document completely when it exists.423. Turn the user's request into a focused backlog item:43 - a descriptive `##` heading;44 - a short explanation of the desired improvement;45 - a `### Desired behavior` section when behavior or constraints need to be46 made explicit.474. Check for an existing item covering the same or a closely related concern.48 Update or extend that item instead of creating a duplicate. Preserve the49 document's existing headings, tone, ordering, and Markdown style.505. Keep the entry implementation-neutral but specific enough to guide future51 planning. Include important compatibility, failure-mode, security, and52 operational constraints from the request or project guidance. Do not invent53 unsupported requirements.546. Use a precise edit for an existing document. Use `write` only to create the55 document, creating its parent directory as needed. Do not rewrite unrelated56 content.577. Report the target path and the item added or updated. Mention if no change58 was needed because the request was already covered. In cleanup mode, report59 the removed heading and the verified plan path.6061## Content rules6263- Keep backlog entries concise and actionable.64- Prefer desired outcomes and acceptance criteria over speculative task lists.65- Preserve fail-closed, privacy, compatibility, and operational guarantees66 when they are relevant to the project.67- Do not include credentials, tokens, secrets, or sensitive request data.68- Do not silently change an existing item's intent; ask a concise clarification69 when the requested change conflicts with it or is materially underspecified.70- Do not modify source code, tests, configuration, or project memory as part of71 this skill.