Agent skill
feature-implementation
Guide the full lifecycle of a feature-implementation tagged MCP item (the feature container) — from queue through review
Install this agent skill to your Project
npx add-skill https://github.com/jpicklyk/task-orchestrator/tree/main/.claude/skills/feature-implementation
SKILL.md
Feature Implementation Workflow
End-to-end workflow for a feature-implementation tagged item — the feature container
that holds the specification, plan, and holistic review. Child work items under this
container use the feature-task tag with lighter gates (task-scope instead of full
specification, task-level review without /simplify).
Covers all three phases (queue → work → review) with gate-enforced notes at each transition.
Usage: /feature-implementation [item-uuid]
- If
item-uuidis provided: load the existing item and resume from its current phase - If omitted: create a new item and start from the beginning
Phase 0 — Setup
If an item UUID was provided, call:
get_context(itemId="<uuid>")
Check canAdvance and missingRequiredNotes to determine which phase the item is in,
then jump to the appropriate phase below.
If no UUID was provided, create the item:
manage_items(
operation="create",
items=[{ title: "<feature title>", tags: "feature-implementation", priority: "medium" }]
)
Note the returned UUID and expectedNotes list. Confirm the item is in queue role,
then continue to Phase 1.
Phase 1 — Queue: Define Requirements and Design
Goal: Fill the two required queue-phase notes before advancing to work.
1a. Fill requirements
Use manage_notes to upsert the requirements note:
manage_notes(
operation="upsert",
notes=[{
itemId: "<uuid>",
key: "requirements",
role: "queue",
body: "<content>"
}]
)
What to write: The problem this solves. Who benefits. 2–5 concrete acceptance criteria that define done. Reference any existing observations or bug items that motivated this feature.
1b. Fill design
manage_notes(
operation="upsert",
notes=[{
itemId: "<uuid>",
key: "design",
role: "queue",
body: "<content>"
}]
)
What to write: Chosen approach. Alternatives considered and why they were ruled out. Key risks or constraints (schema migrations, tight coupling areas, ORM quirks, test isolation issues). Reference specific files and classes that will be touched.
1c. Enter plan mode
After filling both notes, use EnterPlanMode to explore the codebase and produce a concrete
implementation plan. The pre-plan hook will inject additional guidance.
When the plan is approved, post-plan hook fires — proceed directly to Phase 2 without pausing.
1d. Advance to work
advance_item(transitions=[{ itemId: "<uuid>", trigger: "start" }])
Gate check: both requirements and design must be filled. If gate rejects, fill the missing
notes and retry.
Confirm newRole: "work" in the response before dispatching implementation subagents.
Phase 2 — Work: Implement and Document
Goal: Delegate implementation, then fill work-phase notes before advancing to review.
2a. Materialize any child items
If the feature has sub-tasks, create them now using create_work_tree with the feature UUID
as parentId. Dispatch implementation subagents with each child item UUID.
Each subagent must:
- Call
advance_item(trigger="start")on their item to enter work phase - Call
advance_item(trigger="start")again to advance to review before returning - Do NOT call
advance_item(trigger="complete")— the orchestrator handles terminal transitions
2b. Fill implementation-notes
After implementation agents return:
manage_notes(
operation="upsert",
notes=[{
itemId: "<uuid>",
key: "implementation-notes",
role: "work",
body: "<content>"
}]
)
What to write: Key decisions made during implementation. Deviations from the design note. Any surprises (wrong class names, API differences, test isolation issues). Files changed with line counts. If an observation was fixed, reference its item ID.
2c. Fill test-results
manage_notes(
operation="upsert",
notes=[{
itemId: "<uuid>",
key: "test-results",
role: "work",
body: "<content>"
}]
)
What to write: Run ./gradlew :current:test. Report total count and any failures.
List new test classes or cases added. If root-module tests were affected, report those too.
2d. Advance to review
advance_item(transitions=[{ itemId: "<uuid>", trigger: "start" }])
Gate check: both implementation-notes and test-results must be filled.
Confirm newRole: "review" in the response.
Phase 3 — Review: Deploy and Verify
Goal: Deploy, verify in the running MCP server, then close the item.
3a. Deploy to Docker (if needed)
Run /deploy_to_docker --current to rebuild the image with the new code.
Reconnect MCP after deploy: /mcp.
3b. Smoke test the change
Exercise the new capability via MCP tool calls. Confirm it behaves as described in the
requirements note acceptance criteria.
3c. Fill deploy-notes (optional)
manage_notes(
operation="upsert",
notes=[{
itemId: "<uuid>",
key: "deploy-notes",
role: "review",
body: "<content>"
}]
)
What to write: Whether a Docker rebuild was done and what image tag was used. Plugin version bump (if any). MCP reconnect required. Any smoke test results.
3d. Close the item
advance_item(transitions=[{ itemId: "<uuid>", trigger: "start", summary: "<one-line summary>" }])
Confirm newRole: "terminal". Run get_context() health check to verify no stalled items.
Quick Reference
| Phase | Required notes | Advance trigger |
|---|---|---|
| queue | requirements, design |
start → work |
| work | implementation-notes, test-results |
start → review |
| review | (none required) | start → terminal |
Gate error pattern: "required notes not filled for <phase> phase: <keys>"
→ Fill the listed notes, then retry advance_item.
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
implement
End-to-end workflow for taking MCP work items from backlog to merged PR. Handles git branching, schema-driven planning, implementation, independent review, and PR creation. Composes spec-quality, review-quality, and schema-workflow skills into a single pipeline. Use when a user says "implement this", "work on this item", "fix these bugs", "pick up the next task", "create a PR for this", "go through the backlog", or references specific MCP item IDs for implementation.
review-quality
Review quality framework for the work-to-review transition gate. Guides verification of plan alignment, test quality, and code simplification before marking implementation complete. Referenced by schema guidance fields during review-phase note filling. Read this skill when filling review-checklist notes or when asked to review completed implementation work.
spec-quality
Specification quality framework for planning. Defines the minimum bar for what a plan must address — alternatives, non-goals, blast radius, risk flags, and test strategy. Referenced by schema guidance fields during queue-phase note filling. Read this skill whenever filling requirements or design notes for any MCP work item.
session-retrospective
Analyze the current implementation run — evaluate schema effectiveness, delegation alignment, note quality, plan-to-execution fit. Captures cross-session trends and proposes improvements when patterns repeat. Use after implementation runs, or when user says 'retrospective', 'session review', 'what did we learn', 'analyze this run', 'how did that go', 'evaluate our process', 'wrap up', 'end of session review'. Also use when the output style's retrospective nudge fires after complete_tree.
prepare-release
End-to-end release automation — reads commits since last tag, infers semver bump, drafts changelog, creates release PR, merges it, waits for CI green, tags, and monitors the Docker build to completion.
quick-start
Interactive onboarding for the MCP Task Orchestrator. Detects empty or populated workspaces and walks through how plan mode, persistent tracking, and the MCP work together. Use when a user says "get started", "how do I use this", "quick start", "first time setup", "onboard me", "what can this MCP do", or "help me learn task orchestrator".
Didn't find tool you were looking for?