skills/refinement/SKILL.md
REFINEMENT SKILL — Analyze design, features, backlog, and drift to identify and plan needed work. USE FOR: PLANNER producing new backlog items from gaps between design and current state; evaluating tech debt and drift for resolution; structured backlog growth when the user asks the PLANNER to refine or plan more work. DO NOT USE FOR: implementing backlog items (EXECUTOR work); reviewing completed work (use planner-review skill).
npx skillsauth add zcross00/ProcessDocumentation refinementInstall 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 the PLANNER is directed to refine — that is, to analyze the current project state and produce new backlog items for work not yet planned.
| Argument | Default | Meaning | |----------|---------|---------| | count | 10 | Number of backlog items to produce |
If the user specifies a count (e.g., "refine 5 items"), use that number. Otherwise, produce 10 items.
Read these files in order:
design/GOALS.md — Understand what success looks like.design/DESIGN.md — Understand the full system design, including the Technical Debt section.design/FEATURES.md — Understand what has already been implemented.design/BACKLOG.md — Understand what is already planned.design/DRIFT.md — Understand what is working against the goals.Compare the design against the feature list and backlog to find work that is:
Skip anything that is already in the backlog or confirmed in the feature list.
Rank identified gaps by:
Select the top N items (where N is the count argument).
For each selected gap, use the backlog-entry skill to create a properly formatted BL-N entry.
Each entry must:
TD-N and DR-N entries.DR-N entry.Report to the user:
development
TEST WRITING SKILL — Write correctly structured JUnit 5 tests that match this project's conventions. USE FOR: adding tests for a new backlog item; flagging missing test coverage; writing tests for engine classes, domain logic, or persistence. Covers class placement, naming conventions, setup patterns, assertion style, and what not to test. DO NOT USE FOR: running tests (use build-verify skill); diagnosing test failures (read the Surefire report directly).
development
STANDARDS CHECK JAVA SKILL — Apply standards/general.md and standards/java.md systematically to a Java file or diff. USE FOR: pre-commit standards compliance check; reviewing a file for standards adherence before or after a change. Produces a categorized violation list with the specific rule cited for each. DO NOT USE FOR: general code review (use planner-review skill for implementation review).
development
PLANNER REVIEW SKILL — Review a completed backlog item and update design artifacts accordingly. USE FOR: PLANNER reviewing an EXECUTOR's completed work; updating FEATURES.md after a feature lands; removing completed items from BACKLOG.md; checking for drift. DO NOT USE FOR: implementing backlog items (EXECUTOR work); initial planning (read GOALS and DESIGN directly).
testing
GIT WORKFLOW SKILL — Exact command sequences for all branch lifecycle operations in this project. USE FOR: creating a work branch for a backlog item; committing and merging work; tagging design versions or releases. Eliminates the need to look up git-workflow.md during implementation. DO NOT USE FOR: deciding what to work on (use backlog-entry or agent-orientation).