원클릭으로
sdlc-execute
Execute tasks with pre/post drift checks and verification gates. Use after sdlc-plan to implement with accuracy guarantees.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Execute tasks with pre/post drift checks and verification gates. Use after sdlc-plan to implement with accuracy guarantees.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Configure SDLC model tiers. Interactive TUI via /sdlc-choose, quick switch via /sdlc-tier.
Final verification against spec with full evidence chain. Use after sdlc-execute to confirm feature is complete.
Break specs into ordered tasks with acceptance criteria. Use after sdlc-spec to create executable task breakdown.
Create feature specs through collaborative brainstorming. Use when starting new features, writing requirements, or defining acceptance criteria.
| name | sdlc-execute |
| description | Execute tasks with pre/post drift checks and verification gates. Use after sdlc-plan to implement with accuracy guarantees. |
Model auto-switch: Extension switches to execute-tier model automatically.
Rules: Load from
docs/rules/based on task type. See README.md for index.Previous:
/skill:sdlc-plan| Next:/skill:sdlc-verify
Execute tasks automatically via subagents. Worker implements, reviewer verifies. No confirmation needed unless critical failure.
Dependencies: Requires pi-memctx, pi-subagents.
🚨 CRITICAL: YOU MUST USE the subagent tool for task execution.
❌ DO NOT implement tasks directly yourself
❌ DO NOT write code in main session
❌ DO NOT call edit_ide or write_ide for task implementation
✅ ALWAYS call subagent tool with chain for each task
✅ ALWAYS delegate to worker subagent
✅ ALWAYS verify via reviewer subagent
First action after loading tasks: call subagent tool
subagent({
"chain": [
{"agent": "worker", "model": "...", "task": "..."},
{"agent": "reviewer", "model": "...", "task": "..."}
]
})
This ensures:
FOR EACH TASK (1..N):
sdlc-worker → implement (coding tier model)
↓
sdlc-reviewer → verify (fast tier model)
↓
PASS → next task (auto)
FAIL → HARD STOP (needs user)
Example: 6 tasks
Task 1: worker(coding) → reviewer(fast) → ✓ PASS
Task 2: worker(coding) → reviewer(fast) → ✓ PASS
Task 3: worker(coding) → reviewer(fast) → ✗ FAIL → STOP
[user fixes]
Task 3: worker(coding) → reviewer(fast) → ✓ PASS
Task 4: worker(coding) → reviewer(fast) → ✓ PASS
Task 5: worker(coding) → reviewer(fast) → ✓ PASS
Task 6: worker(coding) → reviewer(fast) → ✓ PASS
→ Phase complete
Model assignment (from .sdlc/config.json or default-config.json):
| Subagent | Tier | Example Model |
|---|---|---|
| worker | coding | claude-sonnet-4, gpt-4o, gemma-4 |
| reviewer | fast | gpt-4o-mini, qwen2.5-32b |
Note: Uses pi-subagents built-in worker and reviewer agents.
If subagent appears stuck (no progress for 60+ seconds, looping, or anomalies):
1. Check status:
{"action": "status", "id": "<run-id>"}
2. If stuck/anomaly detected, interrupt:
{"action": "interrupt", "id": "<run-id>"}
3. Report to user:
⚠️ Subagent stuck on Task {N}
Status: {status from check}
Last progress: {last output}
Action: Interrupted chain
Options:
1. Retry task: say "retry"
2. Skip task: say "skip"
3. Manual fix: implement yourself then "continue"
Anomaly signs:
Detection logic:
IF status == "running" AND (
output contains "done" or "complete" or "implemented" or "finished"
OR
no new output for 30 seconds
)
THEN
→ Anomaly detected
→ Interrupt chain
→ Check actual file changes
→ If files changed correctly → mark complete, continue
→ If not → report to user
plan_tracker_ide:
action: check_approval
phase: execute
If NOT approved: Ask user to approve execution phase.
If APPROVED (or user just approved):
docs/specs/{feature}/config.json for feature settings.sdlc/config.json (project root) for model tiers:
{
"sdlc": {
"modelTiers": {
"coding": { "model": "<CODING_MODEL>" },
"fast": { "model": "<FAST_MODEL>" }
}
}
}
plan_tracker_ide(action: "status")Extract models for subagent calls:
worker uses: sdlc.modelTiers.coding.modelreviewer uses: sdlc.modelTiers.fast.modelIMPORTANT: Call subagent tool for EACH task. Do NOT implement yourself.
For each pending task, run worker → reviewer chain automatically:
plan_tracker_ide:
action: update
index: {N-1}
status: in_progress
Use subagent tool with chain.
CRITICAL: Include bypassApproval: true so subagent doesn't re-ask user.
{
"bypassApproval": true,
"chain": [
{
"agent": "worker",
"model": "<CODING_MODEL from .sdlc/config.json>",
"task": "Implement Task {N}: {task name}\n\nAcceptance Criteria:\n{criteria}\n\nFiles: {files}\n\nRULES (read before coding):\n- Backend: Read docs/rules/backend/tdd.md - TDD MANDATORY (red→green→refactor)\n- Frontend: Read docs/rules/frontend/anti-slop.md - check _references/ first\n- All: Read docs/rules/general/git.md - security review before commit\n\nPHASE APPROVED: Execute without asking for confirmation."
},
{
"agent": "reviewer",
"model": "<FAST_MODEL from .sdlc/config.json>",
"task": "Verify Task {N}: {task name}\n\nCriteria:\n{criteria}\n\nRun: {testCommand}\nBuild: {buildCommand}\n\nReturn PASS or FAIL with evidence.\n\nPHASE APPROVED: Verify without asking for confirmation."
}
]
}
Example with real models (async + bypass approval):
{
"async": true,
"bypassApproval": true,
"chain": [
{
"agent": "worker",
"model": "local-llm/openrouter/google/gemma-4-26b-a4b-it:free",
"task": "Implement Task 1: Create Hello Module...\n\nPHASE APPROVED: Execute without confirmation."
},
{
"agent": "reviewer",
"model": "local-llm/alibaba/qwen2.5-32b-instruct",
"task": "Verify Task 1: Create Hello Module...\n\nPHASE APPROVED: Verify without confirmation."
}
]
}
Chain runs worker → reviewer automatically. No manual spawn needed.
If using async: true, monitor the run:
{"action": "status", "id": "<returned-run-id>"}
Check every 30-60 seconds. Look for:
status: "completed" → proceed to 2cstatus: "running" → wait, check progress outputstatus: "paused" or errors → investigatePASS (reviewer says ✓):
plan_tracker_ide:
action: update
index: {N-1}
status: complete
→ Auto-proceed to next task. No confirmation.
FAIL (reviewer says ✗): → HARD STOP → Show failure details → Wait for user to fix → After fix: re-run from 2a
git add -A && git commit -m "feat({feature}): task {N} - {name}"
Only stop and ask user when:
NOT critical (auto-continue):
After all tasks pass:
plan_tracker_ide:
action: approve
phase: execute
summary: "{N} tasks complete, all verified"
Sync to memctx:
memctx_save:
type: action
title: {feature} Execute Phase Complete
tags: [sdlc, execute, {feature}]
All {N} tasks implemented and verified.
→
/skill:sdlc-verifyfor final spec verification