Skip to content

Commit a84bcc0

Browse files
lvergroclaude
andcommitted
docs: sync READMEs — auto-format hook, /cleanup-worktrees, qa agent write scope
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
1 parent 271b5fa commit a84bcc0

2 files changed

Lines changed: 10 additions & 4 deletions

File tree

README.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ Four subagents with **enforced** tool access (via `tools` / `disallowedTools` fr
1919
| `planner` | Architect + Researcher | `opus` | Read, analyze, design, write to memory/ and docs/ | Bash, code, commits |
2020
| `builder` | Programmer | `sonnet` | Write code, tests, run commands | Push, force-edit gate-protected areas |
2121
| `git` | Release Manager | `haiku` | Commits and push | Edit/Write any file |
22-
| `qa` | QA Validator | `sonnet` | Run tests, browser automation, write reports | (no source-edit restriction yet — by convention) |
22+
| `qa` | QA Validator | `sonnet` | Run tests, browser automation, write reports | Edit app source (writes limited to QA artifacts + tests — by rule) |
2323

2424
---
2525

@@ -104,6 +104,7 @@ Parallel features? Multiple terminals, each with a different `/feature #N`. Each
104104
105105
├── hooks/ # Lifecycle hooks (run as shell scripts)
106106
│ ├── gate-check.sh # PreToolUse Edit|Write — blocks gate_protected_areas
107+
│ ├── auto-format.sh # PostToolUse Edit|Write — formats the modified file
107108
│ └── session-context.sh # SessionStart — injects project-state Current Focus
108109
109110
├── rules/ # Path-scoped rules (load only when matching files touched)
@@ -137,7 +138,8 @@ Parallel features? Multiple terminals, each with a different `/feature #N`. Each
137138
│ ├── summarize-context/SKILL.md # Context compression
138139
│ ├── write-tests/SKILL.md # Test strategy
139140
│ ├── analyze-architecture/SKILL.md # Drift detection
140-
│ └── archive-state/SKILL.md # State lifecycle
141+
│ ├── archive-state/SKILL.md # State lifecycle
142+
│ └── cleanup-worktrees/SKILL.md # /cleanup-worktrees — remove merged worktrees
141143
142144
└── memory/ # Compact runtime state — derived from docs/, not duplicated
143145
├── architecture.md # Executive summary, ~30 lines (full C4 lives in docs/architecture/)
@@ -344,6 +346,7 @@ Useful when you already have a partial setup and just want to evolve one piece.
344346
/audit src/auth # security audit on a path
345347
/sync-schema # force data model sync
346348
/prepare-commit # validate readiness + draft commit msg
349+
/cleanup-worktrees # remove worktrees whose PRs merged
347350
```
348351

349352
---

README_ES.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ Cuatro subagentes con acceso a herramientas **enforced** (mediante `tools` / `di
1919
| `planner` | Arquitecto + Investigador | `opus` | Leer, analizar, diseñar, escribir en memory/ y docs/ | Bash, código, commits |
2020
| `builder` | Programador | `sonnet` | Escribir código, tests, ejecutar comandos | Push, editar áreas gate-protected |
2121
| `git` | Release Manager | `haiku` | Commits y push | Edit/Write de cualquier archivo |
22-
| `qa` | Validador QA | `sonnet` | Tests, automatización de browser, reportes | (sin restricción de edición de fuente aún — por convención) |
22+
| `qa` | Validador QA | `sonnet` | Tests, automatización de browser, reportes | Editar código fuente (escrituras limitadas a artefactos QA + tests — por regla) |
2323

2424
---
2525

@@ -104,6 +104,7 @@ PHASE 6 → Cleanup (archivar estado)
104104
105105
├── hooks/ # Hooks de ciclo de vida (corren como shell scripts)
106106
│ ├── gate-check.sh # PreToolUse Edit|Write — bloquea gate_protected_areas
107+
│ ├── auto-format.sh # PostToolUse Edit|Write — formatea el archivo modificado
107108
│ └── session-context.sh # SessionStart — inyecta Current Focus de project-state
108109
109110
├── rules/ # Reglas con paths (cargan solo al tocar archivos matching)
@@ -137,7 +138,8 @@ PHASE 6 → Cleanup (archivar estado)
137138
│ ├── summarize-context/SKILL.md # Compresión de contexto
138139
│ ├── write-tests/SKILL.md # Estrategia de tests
139140
│ ├── analyze-architecture/SKILL.md # Detección de drift
140-
│ └── archive-state/SKILL.md # Ciclo de vida del estado
141+
│ ├── archive-state/SKILL.md # Ciclo de vida del estado
142+
│ └── cleanup-worktrees/SKILL.md # /cleanup-worktrees — elimina worktrees mergeados
141143
142144
└── memory/ # Estado runtime compacto — derivado de docs/, sin duplicar
143145
├── architecture.md # Resumen ejecutivo, ~30 líneas (C4 completo en docs/architecture/)
@@ -344,6 +346,7 @@ No hace falta correr el pipeline completo. Cada fase es una skill standalone:
344346
/audit src/auth # auditoría de seguridad por path
345347
/sync-schema # forzar sync del modelo de datos
346348
/prepare-commit # validar readiness + draft de commit
349+
/cleanup-worktrees # eliminar worktrees con PR mergeado
347350
```
348351

349352
---

0 commit comments

Comments
 (0)