Help us improve
Share bugs, ideas, or general feedback.
npx claudepluginhub smatechnologies/continuous-tools --plugin ctHow this command is triggered — by the user, by Claude, or both
Slash command
/ct:implement-plan plan-file-pathThe summary Claude sees in its command listing — used to decide when to auto-load this command
# Implement Plan You are tasked with implementing an approved technical plan from the referenced file. These plans contain phases with specific changes and success criteria. ## Mode-Aware Model Selection **Before spawning any agent sub-tasks**, read `plugins/ct/config/mode.md` to determine the active mode. Apply the following model assignment when using the Task tool: - **Quality mode**: Use `model: opus` for Tier 1 and Tier 2 agents, `model: sonnet` for Tier 3 agents - **Balanced mode**: - Use `model: opus` for **Tier 1** agents: `codebase-analyzer`, `code-review-expert`, `debug-inve...
/implementImplements changes from a provided plan file or reference, executing phases sequentially with file reads, verification, progress tracking via checkboxes, and mismatch handling.
/implement_planImplements approved technical plans from ./thoughts/shared/plans directory via phases with automated verification, manual pauses, and progress tracking.
/implement_planImplements technical plans from a specified thoughts/shared/plans path, executing phases with verification, updating checkboxes, and pausing for manual review if needed.
/execute-from-deep-researchImplements approved technical plans from research-plans/plans/<plan-path>: reads context, executes phases, verifies success criteria, updates checkboxes.
/prp-implementExecutes a Markdown plan file step-by-step: detects package manager, prepares git branch, implements tasks with pattern mirroring, validates after every change.
/prp-implementExecutes a Markdown implementation plan, applying file changes with validation loops after each step to catch and fix issues early.
Share bugs, ideas, or general feedback.
You are tasked with implementing an approved technical plan from the referenced file. These plans contain phases with specific changes and success criteria.
Before spawning any agent sub-tasks, read plugins/ct/config/mode.md to determine the active mode.
Apply the following model assignment when using the Task tool:
model: opus for Tier 1 and Tier 2 agents, model: sonnet for Tier 3 agentsmodel: opus for Tier 1 agents: codebase-analyzer, code-review-expert, debug-investigatormodel: sonnet for Tier 2 agents: codebase-pattern-finder, web-search-researcher, and all implementation/testing agentsmodel: haiku for Tier 3 agents: codebase-locatorAlways include the model parameter on every Task tool call based on the active mode and the agent's tier.
When given a plan path:
First, analyze the plan to determine appropriate implementation approach:
Plan Assessment:
Present Options to User: First, output a brief assessment:
This appears to be a [SMALL/MEDIUM/LARGE] change:
- Estimated lines: ~X
- Files affected: Y ([file types])
- Complexity: [Brief description]
- Technology: [Main stack components]
Then call AskUserQuestion with:
Route Based on User Choice:
For small changes (≤30 lines, 1-3 files, simple edits):
Quick Validation:
Direct Implementation:
Verification:
npm run lint, etc.)Route to specialized agents based on technology:
python-pro-backend agentnextjs-fullstack-expert agentpython-pro-backend for data layer changesDelegation format:
Task: [Agent Name] - Implement [specific section] from plan
Context: [Brief context about the change and why it's needed]
Plan Section: [Relevant plan section to implement]
Files Involved: [List of files from plan]
Success Criteria: [What constitutes successful completion]
Before any code changes, perform these critical checks:
Plan Assessment:
Environment Validation:
# Check git status - ensure clean working directory
git status
# If uncommitted changes exist, ask user how to proceed
Baseline Testing:
Dependency Check:
Critical: Plans can become stale. Validate each planned change:
File Reality Check:
Plan Drift Detected in [filename]:
Plan Expected (line X): [code from plan]
Actual Found: [actual code]
Then call AskUserQuestion with:
Architecture Verification:
Never implement entire phases at once. Break down into atomic changes:
Task Decomposition:
Atomic Change Process:
For each atomic change:
1. Make the minimal code change
2. Save file and check syntax (no runtime errors)
3. Run targeted tests if available
4. If tests fail, analyze and fix immediately
5. Only proceed to next change if green
6. Mark todo as completed
Change Validation:
Verify continuously, not just at the end:
After Each Task Group (every 3-5 atomic changes):
After Each Plan Task:
Rollback Strategy:
# If tests fail after a change:
git diff HEAD~1 # See what changed
git checkout -- [failing-file] # Rollback if needed
# Then retry with smaller change
Universal principles regardless of approach chosen:
When things don't match the plan exactly, think about why and communicate clearly. Output the issue details:
Issue in Phase [N]:
Expected: [what the plan says]
Found: [actual situation]
Why this matters: [explanation]
Impact: [how this affects other changes]
Then call AskUserQuestion with:
Always use TodoWrite for task tracking:
Initial Task Creation:
"Update UserService.getOrganizations() in backend/app/services/user.py:45-60"Task Status Management:
in_progress at a timein_progress and create sub-tasks for blockersProgress Tracking:
Common causes of implementation errors and how to avoid them:
Plan Drift (Plan doesn't match current code):
Syntax Errors:
npm run lint, pylint, etc.)Test Failures:
Missing Dependencies:
When something isn't working as expected:
Immediate Actions:
git status to see what you've changedRoot Cause Analysis:
Escalation Format:
Stuck on: [specific task]
What I tried: [exact changes made]
Current error: [exact error message]
Files affected: [list of changed files]
I think the issue is: [your analysis]
Need help with: [specific question]
Use sub-tasks sparingly - mainly for targeted debugging or exploring unfamiliar territory
If the plan has existing checkmarks:
Trust Completed Work:
Validate Context:
Resume Process:
Remember: You're implementing a solution, not just checking boxes. The goal is working software that meets the plan's objectives with minimal errors and iterations.