deliver-feature
Deliver Feature
Convert a feature idea into tracked project artifacts and code through a gated workflow. Keep the PRD and plan in the project, let the user revise each artifact in chat, and only advance when the user explicitly approves the next phase.
Artifact Rules
- Treat the current working directory as the project root unless the user specifies another root.
- Store each feature under
plans/NNNN. feature name/. - Save the PRD to
plans/NNNN. feature name/prd.md. - Save the implementation plan to
plans/NNNN. feature name/plan.md. - Compute
NNNNas the next unused 4-digit sequence. - Build
feature namefrom a short human-readable feature title. Keep spaces, but remove path-unsafe characters. - Reuse an existing feature folder when the user is continuing that feature instead of starting a new one.
- Never overwrite another feature's PRD or plan.
Phase Gates
Run phases in this order:
- Create PRD
- Create a plan from PRD
- Implement a plan
- Review changes
- Fix review issues
Use these exact advancement labels:
Create a planImplement a plan
If the client supports suggested replies or buttons, offer those exact labels. Otherwise, ask the user to send those exact messages.
For PRD and plan phases, stop after drafting or updating the artifact and wait for user approval. For review and fix phases, continue automatically until the review is clean or a real blocker requires user input.
Step 1: Create PRD
- Ask only for the missing information needed to draft a useful PRD: problem, target users, desired outcome, constraints, non-goals, acceptance criteria, and rollout concerns when relevant.
- Once enough context exists, create or choose the feature folder under
plans/. - Invoke
$write-a-prdwith the user request and save the result toprd.mdin that feature folder. - Show the PRD location and a concise summary after drafting.
- When the user asks for PRD edits, update
prd.mddirectly and remain in this phase. - Do not begin planning until the user approves with
Create a plan.
Step 2: Create Plan From PRD
- Invoke
$prd-to-planwith a reference to the approvedprd.md. - Save the result to
plan.mdin the same feature folder. - Keep the plan implementation-oriented and grounded in the current repository.
- Show the plan location and a concise summary after drafting.
- When the user asks for plan edits, update
plan.mddirectly and remain in this phase. - Do not begin implementation until the user approves with
Implement a plan.
Step 3: Implement Plan
- Read the approved
plan.md. - Execute the implementation phase with the message
implementand the plan reference. - Keep scope aligned with the plan unless the user explicitly expands it.
- Preserve unrelated user changes.
- When implementation is complete, move directly to review.
Step 4: Review Changes
- Invoke
$code-reviewwith the messageuncommited changes. - Review the working tree changes produced by this workflow.
- If the repository already contained unrelated uncommitted changes before implementation, avoid treating unrelated findings as blockers for this workflow.
- If review finds no material issues, end the workflow and report that the implementation is ready.
- If review finds issues, carry the findings into Step 5 immediately.
Step 5: Fix Review Issues
- Execute the fix phase with the message
fix this issuesand include the review findings. - Address higher-severity issues first.
- Preserve the feature scope while fixing defects introduced during implementation.
- After fixes are complete, return to Step 4.
- Stop the loop only when
$code-reviewreports no material findings or when progress is blocked by a missing product or technical decision that requires the user.
Interaction Rules
- Keep the current phase explicit in responses.
- Confirm the feature folder path after creating it.
- Summarize artifact changes briefly after each PRD or plan revision.
- Keep chat responses concise; the detailed content belongs in
prd.mdandplan.md. - If the user tries to skip ahead, create the missing prerequisite artifact first unless the user explicitly asks to bypass the workflow.
- If
$write-a-prd,$prd-to-plan, or$code-revieware unavailable, state that clearly and fall back to performing the equivalent work manually.
More from mishankov/agent-skills
nba-game-intel
Retrieve NBA game information from ESPN public APIs, including daily scoreboards, game summaries, boxscores, play-by-play, team lists, team schedules, and standings context. Use when requests ask for NBA scores, live game status, specific game-id details, or team-centric recent/upcoming game context.
16gh-issue-to-pr
Implement GitHub issues end to end using GitHub CLI and git, from cloning a repository (and forking only when needed) to opening a pull request. Use when asked to pick up a specific issue from GitHub and deliver a ready-to-review PR with linked issue context, commits, validation notes, and a pre-PR quality pass via $code-review.
9gh-project-issue-loop
Continuously process available GitHub Project items by preparing project context once and then implementing linked issues in a loop via the gh-issue-to-pr skill. Use when asked to clear backlog from a GitHub Project board, batch-deliver project issues, or repeatedly pick and implement open project issues with gh CLI.
7code-review
Perform comprehensive software code reviews focused on correctness, regressions, security, reliability, performance, and test quality. Use when asked to review pull requests, commits, branches, patches, or source files and deliver prioritized findings with severity, concrete impact, and file/line references.
4