
implement
by maxritter
Production-grade Claude Code setup. Quality automated. Continuously improved. Ship with confidence. ๐
SKILL.md
name: implement description: Execute implementation plans in batches with Claude CodePro
IMPLEMENT MODE: Task Execution with Mandatory Context Gathering
WARNING: DO NOT use the Task tool with any subagent_type (Explore, Plan, general-purpose). Perform ALL exploration and implementation yourself using direct tool calls (Read, Grep, Glob, MCP tools). Sub-agents lose context and make implementation inconsistent.
Quality Over Speed - CRITICAL
NEVER rush or compromise quality due to context pressure.
- Context warnings are informational, not emergencies
- Work spans sessions seamlessly via plan file and continuation mechanisms
- Finish the CURRENT task with full quality, then hand off cleanly
- Do NOT skip tests, compress code, or cut corners to "beat" context limits
- Quality is the #1 metric - a well-done task split across sessions beats rushed work
Execute tasks continuously with full quality. Hand off cleanly when context is high.
Feedback Loop Awareness
This skill may be called multiple times in a feedback loop:
/implement โ /verify โ issues found โ /implement โ /verify โ ... โ VERIFIED
When called after /verify found issues:
- Read the plan - /verify will have added fix tasks (marked with
[MISSING]or similar) - Check the
Iterationsfield in the plan header - Report iteration start: "๐ Starting Iteration N implementation..."
- Focus on uncompleted tasks
[ ]- these are the fixes needed - Complete all fix tasks, then set status to COMPLETE as normal
The loop continues automatically until all checks pass (VERIFIED) or context hits 90%.
โ CRITICAL: Task Completion Tracking is MANDATORY
After completing EACH task, you MUST:
- IMMEDIATELY edit the plan file to change
[ ]to[x]for that task - Update the Progress Tracking counts (Completed/Remaining)
- DO NOT proceed to next task until the checkbox is updated
This is NON-NEGOTIABLE. If you skip this step:
- The rules supervisor will detect incomplete task tracking
- Verification will fail
- You will need to re-implement
Example - After completing Task 5:
Edit the plan file:
- [ ] Task 5: Implement X โ - [x] Task 5: Implement X
Update counts:
**Completed:** 4 | **Remaining:** 8 โ **Completed:** 5 | **Remaining:** 7
Mandatory Context Gathering Phase (REQUIRED)
Before ANY implementation, you MUST:
- Read the COMPLETE plan - Understanding overall architecture and design
- Verify comprehension - Summarize what you learned to demonstrate understanding
- Identify dependencies - List files, functions, classes that need modification
- Check current state:
- Git status:
git status --shortandgit diff --name-only - Plan progress: Check for
[x]completed tasks
- Git status:
๐ง Tools for Implementation
Use these tools throughout implementation:
| Tool | When to Use | Example |
|---|---|---|
| Context7 | Library API lookup | resolve-library-id(query="how to use fixtures", libraryName="pytest") then query-docs(libraryId, query) |
| mcp-cli | Custom MCP servers | Use mcp-cli <server>/<tool> '<json>' for servers in mcp_servers.json |
Context7 requires descriptive queries for both tools - see context7-docs.md for full docs.
Before starting, verify Vexor is available for semantic search:
vexor --version
During implementation:
- Use
vexor search "query" --mode codeto find similar implementations and patterns - Use Context7 when unsure about library/framework APIs:
resolve-library-id(query="your question", libraryName="lib")thenquery-docs(libraryId, query="specific question")- descriptive queries required
โ ๏ธ CRITICAL: Migration/Refactoring Tasks
When the plan involves replacing existing code, perform these ADDITIONAL checks:
Before Starting Implementation
- Locate the Feature Inventory section in the plan
- If Feature Inventory is MISSING - STOP and inform user:
"This migration plan is missing a Feature Inventory section. Without it, features may be accidentally omitted. Please run `/plan` again to add the inventory, or manually add it to the plan." - Verify ALL features are mapped - Every row must have a Task #
- Read the OLD code completely - Don't rely on the plan alone
During Implementation
For EACH task that migrates old functionality:
- Read the corresponding old file(s) listed in Feature Inventory
- Create a checklist of functions/behaviors from old code
- Verify each function/behavior exists in new code after implementation
- Test with same inputs - Old and new code should produce same outputs
Before Marking Task Complete
For migration tasks, add this to Definition of Done:
- All functions from old code have equivalents in new code
- Behavior matches old code (same inputs โ same outputs)
- No features accidentally omitted
Red Flags - STOP Implementation
If you notice ANY of these, STOP and report to user:
- Feature Inventory section missing from plan
- Old file has functions not mentioned in any task
- "Out of Scope" items that should actually be migrated
- Tests pass but functionality is missing compared to old code
TDD is MANDATORY
No production code without a failing test first. Follow the TDD rules in your context.
| Requires TDD | Skip TDD |
|---|---|
| New functions/methods | Documentation changes |
| API endpoints | Config file updates |
| Business logic | IaC code (CDK, Terraform, Pulumi) |
| Bug fixes | Formatting/style changes |
The TDD enforcer hook will warn you if you skip this.
Per-Task Execution Flow
For EVERY task, follow this exact sequence:
- READ PLAN'S IMPLEMENTATION STEPS - List all files to create/modify/delete
- Perform Call Chain Analysis:
- Trace Upwards (Callers): Identify what calls the code you're modifying
- Trace Downwards (Callees): Identify what the modified code calls
- Side Effects: Check for database, cache, external system impacts
- Mark task as in_progress in TodoWrite
- Execute TDD Flow (RED โ GREEN โ REFACTOR):
- Write failing test first, verify it fails
- Implement minimal code to pass
- Refactor if needed (keep tests green)
- Verify tests pass -
uv run pytest tests/path/to/test.py -v - Run actual program - Show real output with sample data
- Check diagnostics - Must be zero errors -
mcp__ide__getDiagnostics() - Validate Definition of Done - Check all criteria from plan
- Mark task completed in TodoWrite
โ STEP 10 IS MANDATORY - DO NOT SKIP
-
UPDATE PLAN FILE IMMEDIATELY:
Use Edit tool to change in the plan file: - [ ] Task N: ... โ - [x] Task N: ... Also update Progress Tracking section: **Completed:** X | **Remaining:** YYou MUST do this BEFORE proceeding to the next task. Failure to update = incomplete implementation.
-
Check context usage - Run
$PWD/.claude/bin/ccp check-context --json
Critical Task Rules
โ ๏ธ NEVER SKIP TASKS:
- EVERY task MUST be fully implemented
- NO exceptions for "MVP scope" or complexity
- If blocked: STOP and report specific blockers
- NEVER mark complete without doing the work
Verification Checklist
Before marking complete:
- Test written and FAILED (RED phase)
- Implementation written
- Test PASSES (GREEN phase)
- Program executed with verified output
- No diagnostics errors
When All Tasks Complete
โ ๏ธ CRITICAL: Follow these steps exactly:
- Quick verification:
mcp__ide__getDiagnostics()anduv run pytest - FOR MIGRATIONS ONLY - Feature Parity Check:
- Run the NEW code and verify it produces expected output
- Compare behavior with OLD code (if still available)
- Check Feature Inventory - every feature should now be implemented
- If ANY feature is missing: DO NOT mark complete - add tasks for missing features
- MANDATORY: Update plan status to COMPLETE
Edit the plan file and change the Status line: Status: PENDING โ Status: COMPLETE - Inform user: "โ All tasks complete. Proceeding to verification..."
- The /spec workflow will automatically continue to /verify - do not tell user to run another command
Migration Completion Checklist
For migration/refactoring tasks, verify before marking COMPLETE:
- All tests pass
- New code runs without errors
- Feature Inventory shows all features mapped to completed tasks
- Old code functionality is replicated in new code
- "Out of Scope" items were intentional removals (user confirmed), not forgotten migrations
If you cannot check ALL boxes, the migration is INCOMPLETE. Add new tasks.
โ WHEN THIS SKILL COMPLETES - CRITICAL
When all tasks are done and Status is set to COMPLETE, this skill ends.
Control returns to /spec. /spec MUST then:
- Re-read the plan file to confirm Status: COMPLETE
- IMMEDIATELY invoke Skill(verify, plan-path) in the same response
- DO NOT end the response without invoking /verify
The phrase "Proceeding to verification..." means NOTHING if you don't actually invoke /verify.
This skill's job is done. /spec takes over and MUST continue the workflow.
Score
Total Score
Based on repository quality metrics
SKILL.mdใใกใคใซใๅซใพใใฆใใ
ใฉใคใปใณในใ่จญๅฎใใใฆใใ
100ๆๅญไปฅไธใฎ่ชฌๆใใใ
GitHub Stars 100ไปฅไธ
1ใถๆไปฅๅ ใซๆดๆฐ
10ๅไปฅไธใใฉใผใฏใใใฆใใ
ใชใผใใณIssueใ50ๆชๆบ
ใใญใฐใฉใใณใฐ่จ่ชใ่จญๅฎใใใฆใใ
1ใคไปฅไธใฎใฟใฐใ่จญๅฎใใใฆใใ
Reviews
Reviews coming soon




