4d-speclisted
Install: claude install-skill CarlosCaPe/octorato
# 4D+S: Spec-Driven 4D Orchestrator
Merges the Octopus 4D Paradigm with SDD (Spec-Driven Development) to get the best of both worlds.
## When to Activate
This skill activates at the START of any task that involves writing or modifying code.
It classifies complexity and routes to the appropriate workflow depth.
## Complexity Classifier
Assess the task against these criteria:
| Signal | Points |
|--------|--------|
| Touches 1-3 files | 0 |
| Touches 4-10 files | +2 |
| Touches 10+ files | +4 |
| New feature (not a fix) | +2 |
| Architectural decision required | +3 |
| Multiple modules/services affected | +2 |
| User explicitly requests spec | +5 |
| Database schema changes | +1 |
| New API endpoints | +1 |
**Score → Workflow:**
| Score | Level | Workflow |
|-------|-------|---------|
| 0-2 | TRIVIAL | 4D only (Describe → Gate → Execute → Diligent → Disclose) |
| 3-5 | MEDIUM | 4D + `plan.md` (task checklist before Gate) |
| 6+ | LARGE | 4D + full SDD (`feature.md` + `plan.md` + `review.md` + archive) |
## Workflow by Level
### TRIVIAL (score 0-2)
Standard 4D — no SDD artifacts needed:
1. **1D Describe** — state what and why (1-3 sentences)
2. **2D Delegate** — run delegate-check
3. **4D Gate** — Change Manifest table
4. **Execute**
5. **3D Diligent** — build/lint/test
6. **4D Disclose** — impact + side effects
### MEDIUM (score 3-5)
4D + task checklist:
1. **1D Describe** — state what and why
2. **2D Delegate** — run delegate-check
3. **2S Plan** — generate `plan.