Skilllibrary planner
install
source · Clone the upstream repo
git clone https://github.com/merceralex397-collab/skilllibrary
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/merceralex397-collab/skilllibrary "$T" && mkdir -p ~/.claude/skills && cp -r "$T/06-agent-role-candidates/planner" ~/.claude/skills/merceralex397-collab-skilllibrary-planner && rm -rf "$T"
manifest:
06-agent-role-candidates/planner/SKILL.mdsource content
Purpose
Converts a single ticket or feature request into a bounded, ordered implementation plan with concrete steps, file touch lists, dependency edges, and acceptance criteria. Produces a plan that implementer agents can execute without re-interpreting the original ticket.
When to use
- A ticket or feature request needs to be broken into ordered implementation steps.
- An implementer agent needs a plan before it can start coding.
- The user asks "how should I implement this" or "what's the plan for this ticket".
- A large task needs scope bounding to prevent scope creep during implementation.
Do NOT use when
- The user wants code written — hand off to
orimplementer-hub
.implementer-node-agent - The task is discovering existing solutions — use
.github-prior-art-research - The task is validating completed work — use
.qa-validation - The task is updating documentation — use
.docs-handoff - The ticket is already a well-defined single-file change with no ambiguity.
Operating procedure
- Read the ticket or feature request in full. Extract: title, description, any linked issues, and stated acceptance criteria.
- Run
to understand the project structure and identify the primary language.find . -maxdepth 3 -type f -name '*.ts' -o -name '*.js' -o -name '*.py' -o -name '*.go' -o -name '*.rs' | head -40 - Run
to understand the project purpose and architecture.cat README.md 2>/dev/null | head -50 - Identify all files that will need to be created or modified by running
using domain terms from the ticket.grep -rn '<key-terms-from-ticket>' src/ lib/ app/ 2>/dev/null | head -30 - Build a file touch list: for each file, note whether it is CREATE, MODIFY, or DELETE, and write a one-line description of the change.
- Identify dependencies between steps: if file A imports from file B, and both need changes, B must be modified first. Run
to trace these edges.grep -n 'import.*from' <file-A> - Order all steps using dependency-first topological sort: types → data models → services → routes/handlers → tests → documentation.
- For each step, write a concrete action: what to do, which file, what the expected outcome is, and how to verify it (e.g., "test X passes" or "endpoint returns 200").
- Extract or synthesize acceptance criteria: if the ticket has explicit criteria, list them. If not, derive them from the described behavior (e.g., "user can log in" → "POST /login returns 200 with valid credentials and 401 with invalid").
- Estimate scope: count the total files touched and lines likely changed. If >20 files or >500 lines, split into 2–3 sub-plans and mark dependencies between them.
- Run
to check recent changes that might conflict with or inform the plan.git --no-pager log --oneline -10 - Compile the final plan document with all sections below.
Decision rules
- If the ticket is vague (no clear deliverable), ask the user for clarification before producing a plan. List the specific questions.
- If the ticket implies >20 file changes, split into sub-plans rather than producing one monolithic plan.
- If acceptance criteria are missing from the ticket, synthesize them and mark as "derived — needs confirmation".
- If the plan requires a new dependency, include an explicit step for adding it to the manifest.
- Never include "research" or "explore options" as a plan step — that work should be done before planning via
.github-prior-art-research - Each step must be completable by a single implementer agent in one pass.
Output requirements
- Ticket Summary — ticket ID, title, and one-paragraph restatement of the goal.
- File Touch List — table with columns: File Path, Action (CREATE/MODIFY/DELETE), Description.
- Implementation Steps — numbered list where each step has: action, target file(s), expected outcome, and verification method.
- Dependency Graph — list of step-to-step dependencies (e.g., "Step 3 depends on Step 1").
- Acceptance Criteria — numbered list of testable conditions that define "done".
- Scope Estimate — files touched, estimated lines changed, and risk level (low/medium/high).
- Open Questions — any ambiguities in the ticket that need user input before implementation.
References
— plan-to-implementer handoff formatreferences/handoff-contract.md
— plan quality standardsreferences/success-criteria.md
— common planning failures (scope creep, missing deps)references/anti-patterns.md
Related skills
— consumes plans and orchestrates multi-file implementationimplementer-hub
— consumes individual steps from the planimplementer-node-agent
— gathers context needed to inform the planimplementer-context
— validates the implementation against the plan's acceptance criteriaqa-validation
Failure handling
- If the ticket references files or modules that do not exist, flag each missing reference and ask whether they should be created or if the ticket is outdated.
- If dependency ordering creates a cycle, identify the cycle and suggest extracting shared types into a new common module to break it.
- If the project has no existing tests, include a step for setting up the test infrastructure before writing test steps.
- If the scope estimate exceeds the plan's target (>500 lines), split into sub-plans and present both the split and the rationale to the user.