sdd-cavekit-make
Fase Make — iteration loop con Strict TDD y security gates. Trigger: "/sdd-cavekit make", "build", "run loop"
- License 许可
- MIT
- 最近更新
- 2026-08-26
- Stars
- ★ 1
- Forks
- 0
01 前言 Front Matter
- name
- sdd-cavekit-make
- description
- Fase Make — iteration loop con Strict TDD y security gates. Trigger: "/sdd-cavekit make", "build", "run loop"
03 SKILL.md 正文
Make Phase — Iteration Loop (Gold)
Recibes: build site con task dependency graph. Produces: working code + tests (Strict TDD) + tracking.
Principios gold
- Strict TDD (OBLIGATORIO): para cada task, escribí el test fallido PRIMERO (red), implementá lo mínimo (green), refactor. La cobertura NO baja.
- Security gates: cada task con security gate los cumple antes de mark done.
- Human-in-the-Loop: si el task está bloqueado o el alcance es ambiguo → PARÁ y preguntá. No adivines. Una pregunta a la vez.
- Surgical changes: cada línea trackea a un acceptance criterion.
Fast Path (Triage Verde)
Si el entry te pasa UNA tarea trivial y directa (sin build site, porque triage la marcó Verde), NO esperes kits ni map: hacé el cambio quirúrgico + 1 test mínimo + validación, y pasá a check. Es el camino liviano; salteás retrieve/sketch/map.
Pre-flight
- Todos acceptance criteria + security gates tienen task asignado.
- Si no → reportá gap, NO proceed.
The Loop
Read build site → next unblocked task
→ Load kit + AC + security gate
→ RED: write failing test
→ GREEN: minimal impl
→ REFACTOR
→ Validate (build + tests + security gate)
→ PASS → commit → mark done → next task
→ FAIL → diagnose → fix → revalidate
Repeat until: all done OR budget exhausted
Wave Execution
Tareas del mismo tier en paralelo (subagents). Merge one at a time, validá entre merges.
Circuit Breakers
- 3 test failures → task BLOCKED → abort
- All blocked → stop y report
Validation Gates (por task)
| Gate | Valida |
|---|---|
| Gate 1 | Build compila |
| Gate 2 | Unit tests pass (Strict TDD) |
| Gate 3 | Acceptance criteria cumplidos |
| Gate 4 | Security gate checklist OK |
| Gate 5 | Sin anti-patterns (god service, catch silencioso) |
Result Contract (por task)
- Kit requirement ref, files modified, tests added, security gate status.
Trace (observabilidad por iteración)
Al final de cada iteración del loop, APPENDÉ a context/impl/trace.md un bloque:
## Iter {n}
- Task(s): T-xxx
- Tests: +N (archivo)
- Status: PASS | FAIL
- Artefactos: ruta1, ruta2
Esto da la traza por paso (como los logs de AgentSkillOS) para auditar y hacer steering del loop.
Output
Loop complete. {completed} tasks, {failed} failed.
Build passes. Tests pass (Strict TDD). Security gates: OK.
Next: /sdd-cavekit check
Auto-Load
- autonomous-loop
- impl-tracking
- validation-first
04 同仓库更多 Skills
zustand-5
Zustand 5 state management patterns. Trigger: When managing React state with Zustand.
zod-4
Zod 4 schema validation patterns. Trigger: When using Zod for validation - breaking changes from v3.
x-bookmark-quote-posts
Workflow para revisar bookmarks de X/Twitter y convertirlos en drafts de quote posts. Accede a la sección de bookmarks vía browser headless, extrae posts recientes, y genera drafts con voz personal del usuario. No publica ni muta X — solo genera contenido para revisión. Trigger: X bookmarks, Twitter bookmarks, quote posts, bookmark automation, crear quote posts, revisar bookmarks, growth content X.
writing-skills
Use when creating new skills, editing existing skills, or verifying skills work before deployment
writing-plans
Use when you have a spec or requirements for a multi-step task, before touching code
work-unit-commits
Plan commits as reviewable work units. Trigger: implementation, commit splitting, chained PRs, or keeping tests and docs with code.