external-improvement
5-phase improvement cycle for external projects — 3+ subagents per phase.
- License 许可
- Apache-2.0
- 最近更新
- 2026-11-10
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- external-improvement
- triggers
- improve external project, mejora proyecto, proyecto externo, 5-phase cycle, ciclo 5 fases, analizá este proyecto, corré el ciclo, revisame el proyecto, !5fases, !extimprove, aplicá las 5 fases
- changelog
- docs/ciclos/cycle28-20260815.md
- description
- 5-phase improvement cycle for external projects — 3+ subagents per phase.
- token_budget
- 2850
03 SKILL.md 正文
When to Use
5-phase improvement cycle for external projects — 3+ subagen
5-Phase Cycle
Each phase: 3+ subagents via task() or delivery-harness. Return 4-field: Decision Taken | Files Changed | Key Findings | Nuance.
| Phase | Subagents | Focus | Output | Gate |
|---|---|---|---|---|
| P1 EXPLORE | 3 | Structure, Architecture, Dependencies | docs/external/<proj>/P1-EXPLORE.md |
All 3 reports must exist |
| P2 DIAGNOSE | 3+ | Quality, Security, Performance (+Tests opt) | P2-DIAGNOSIS.md |
≥3 subagents complete |
| P3 PLAN | 3 | I/R scoring, dep graph, rollback strategy | P3-PLAN.md |
≥1 batch with I/R ≥ 1.0 |
| P4 EXECUTE | 2/batch | Apply fixes + doc/tests per batch | P4-EXECUTION.md |
All batches applied or SKIP'd |
| P5 VERIFY & LEARN | 3 | Regression, Score delta, Learning extraction | P5-REPORT.md |
Score drop >0.5 → revert |
Rule: If P3 finds no batch with I/R ≥ 1.0 → STOP (project healthy).
Output
docs/external/<project>/
├── P1-EXPLORE.md
├── P2-DIAGNOSIS.md
├── P3-PLAN.md
├── P4-EXECUTION.md
└── P5-REPORT.md
Anti-Rationalization
| Rationalization | Red Flag | Verification |
|---|---|---|
| "3 subagentes por fase es overkill en proyectos chicos" | Reducir a 1-2 subagentes por fase | Protocolo fijo: cada fase 3+ subagents vía task()/delivery-harness; P2 ≥3 reports, P3 ≥1 batch I/R≥1.0 |
| "adaptar el proyecto externo a nuestras convenciones primero" | Reformatear antes de diagnosticar | P1 EXPLORE primero: entender estructura/arch/deps del proyecto externo antes de proponer cambios |
| "saltar research si el repo es conocido" | Omitir P1 y asumir diagnóstico | Ejecutar P1→P5 secuencial; P1 gate: 3 reports deben existir antes de P2 |
Red Flags
- Doing work without checking output format → STOP, re-read skill
- Second occurrence of same rationalization → force RED zone
Verification
- Output matches skill ## Output contract + file:line citaton
- cross-ref-check.ps1 → SKILL.md OK
Cross-Refs: delivery-harness | project-mapper | gap-analysis | sdd-propose | sdd-verify | triple-verify | bitacora | commit-crafter
docs/skills/external-improvement/reference.md
04 同仓库更多 Skills
web-quality-audit
Comprehensive web audit: performance, a11y, SEO, responsive, animation, design tokens.
ui-engine
UI system — Grid/Flexbox/@layer/:has(), container queries, compositor-only animation, OKLCH tokens, component patterns
baseline-ui
Anti-slop UI — layout, typography, responsive, animation, tokens. Use for cleanup or polish.
skill-creator
Create new AI agent skills following Agent Skills spec -- auto-bootstrap unknown tasks, define structure, register in AGENTS.md
senior-engineer
Apply senior engineering competencies — system design, trade-off analysis, delegation, mentoring, and tech debt strategy
prompt-engineering
Design effective prompts using SPEARS framework — scope, principles, examples, assertions, refinements, with ReAct and multi-agent patterns