From workflow-kit
Execute a plan end-to-end with automatic quality verification and task tracking. Use this skill whenever you have a structured implementation plan (markdown file with phases and checkboxes) and want to implement it in an isolated worktree with full verification and automatic task tracking. The skill reads plans from any markdown file, implements phase-by-phase sequentially, delegates quality verification to the project's /verify skill, and automatically checks off completed tasks in the plan document. Perfect for feature implementations, refactors, and bug fixes where you need quality gates and progress visibility.
How this skill is triggered — by the user, by Claude, or both
Slash command
/workflow-kit:implement-planThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Turn a plan into working, verified, tested code with automatic task tracking.
Turn a plan into working, verified, tested code with automatic task tracking.
/create-worktree skill/verify skillBefore reading source files, writing code, or invoking other skills, you MUST collect three answers in order:
/create-worktree
and note the new worktree path, then proceed immediatelyDo NOT begin Step 4 (Read Plan Structure) or any code reading until
Steps 1–3 are answered and the worktree (if requested) exists. Skipping
Step 3 has caused users to implement features on main and then
manually migrate diffs — never acceptable.
If the user supplied a plan path as an argument, you have answered Step 1 but you have NOT answered Steps 2 and 3. Ask them now.
Prompt user:
Plan file path (or paste markdown content):
Accept either:
docs/plans/add-recipe-favorites.md, ./my-plan.md, etc.If file path, read it. If inline, use content directly.
Then validate plan structure: must have phases (markdown sections starting with ###) with checkboxes (- [ ] for incomplete, - [x] for complete).
Prompt:
Which model?
1. Sonnet 4.6 (default) — balanced speed & quality
2. Haiku — fast, cost-effective
3. Opus — maximum quality for complex work
Enter choice (default: 1):
Use selected model for implementation phase. Store choice for reference in final report.
Ask: "Should I create a new worktree? (y/n, default: y)"
If yes, call /create-worktree skill. Let the project implement worktree creation strategy (branch naming, isolation, etc.). Once the worktree is created, proceed directly to Step 4 — do NOT pause to confirm the worktree path with the user.
Plans must have this structure:
# Feature Name
## Overview
Brief description of what's being implemented.
## Phases
### Phase 1: Foundation Setup
- [ ] Task 1a: description
- [ ] Task 1b: description
### Phase 2: Core Implementation
- [ ] Task 2a: description
- [ ] Task 2b: description
- [ ] Task 2c: description
## Tests
List of expected test coverage.
## Edge Cases
Known edge cases to handle.
Key: Each phase is a section with checkboxes for tasks. The skill tracks and updates these.
Before starting, invoke /clean-architecture to load the project's architectural rules
into context:
/clean-architecture
Follow those rules throughout every phase.
For each phase in the plan:
No parallelization — phases run sequentially, one at a time.
No sub-agents — implement directly, inline.
After each phase is implemented, call the project's /verify skill:
/verify
Expect response: pass or fail.
Retry Logic:
/verifyOn Hard Stop (3x failure):
Before paging the user, escalate to /deep-dive for a focused rescue attempt with a
stronger model. The deep-dive skill is the dedicated escalation path for this exact
case — one sub-agent, capped retry budget, explicit halt if it can't converge.
Capture the last /verify error output verbatim
Annotate the plan with a BLOCKED marker so the failure persists across sessions and is visible to anyone reading the plan. Append a callout block immediately under the failed phase heading:
### Phase <N>: <name>
> ⚠️ **BLOCKED**: 3x `/verify` failure. Deep-dive in progress.
> **Last error:** <one-line summary of the verify error>
> **Worktree:** <worktree path>
- [ ] Task ...
Write the updated plan back to disk before handoff. This way, if the session ends mid-rescue, the plan still reflects reality and a future run can pick up the thread.
Invoke /deep-dive with:
/verify error output (raw)Read the deep-dive result:
User-Wait (deep-dive exhausted):
/notify-me with error summary:
/notify-me "implement-plan hard stop: Phase <N> failed verification 3x and deep-dive halted. Error: <summary>"
If /deep-dive is not available in the project, skip directly to the user-wait path.
When a phase passes verification, update the plan file locally:
- [ ] to - [x]Then print updated plan state so user can see progress:
Phases completed:
✓ Phase 1: Foundation Setup
✓ Phase 2: Core Implementation
- Phase 3: Testing & Refinement (in progress)
- Phase 4: Documentation (pending)
The plan file is updated in your working directory — you decide what to do with it (commit, discard, etc.).
Before writing the report, re-read the plan file and confirm every implemented phase shows - [x]. If any are still - [ ], update them now (Step 7) before continuing.
Once all phases are checked off:
# Implementation Summary
**Plan:** <plan-name>
**Model:** <selected model>
**Worktree:** <path>
**Branch:** <branch-name>
## Phases Completed
- Phase 1: <description>
- Phase 2: <description>
- Phase 3: <description>
## Verification Status
✓ All phases passed verification
## What's Next
- Worktree is ready at <path>
- Review code and decide: merge, iterate, or cleanup
- Skill does NOT auto-merge or cleanup — that's your call
If hard-stopped due to failure:
# Implementation Stopped
**Plan:** <plan-name>
**Failed Phase:** <phase-name>
**Failure Point:** 3x verification failure
## Error Summary
<error output from last /verify call>
## Recovery
- Review the error above
- Fix the issue manually in the worktree
- Signal ready to retry
- Skill will rerun verification on the failed phase
Projects can override via environment or project CLAUDE.md:
VERIFY_SKILL — project's verification skill (default: /verify)NOTIFY_SKILL — notification skill (default: /notify-me)# Feature: Recipe Favorites
## Overview
Add ability to mark recipes as favorites and filter by them.
## Phases
### Phase 1: Domain Layer
- [ ] Create Favorite use case in domain/favorites/
- [ ] Create FavoritesRepository interface
- [ ] Add unit tests for use case
### Phase 2: Data Layer
- [ ] Implement FavoritesRepositoryImpl
- [ ] Add Room entity and DAO
- [ ] Add data layer tests
### Phase 3: UI Layer
- [ ] Create FavoritesViewModel with UDF state
- [ ] Build Favorites Compose screens
- [ ] Add UI tests
### Phase 4: Integration
- [ ] Wire up navigation
- [ ] Integration tests across layers
- [ ] Manual testing (happy path + edge cases)
## Tests
- FavoritesUseCaseTest: ≥80% coverage
- FavoritesRepositoryImplTest: ≥80% coverage
- FavoritesViewModelTest: ≥80% coverage
## Edge Cases
- Favorite a recipe, then delete it from system
- Toggle favorite state rapidly
- Sync favorites across multiple devices (if applicable)
Creates, edits, and optimizes skills for Claude Code, including drafting, evaluating with test prompts, iterating on performance, and improving skill descriptions for better triggering accuracy.
npx claudepluginhub alton09/q-skills --plugin workflow-kit