con un clic
compound
Reflect on the cycle and capture high-quality lessons for future sessions
Instalar con Codex o Claude Copia este prompt, pégalo en Codex, Claude u otro asistente, y deja que revise la página de la skill y la instale por ti.
Menú
Reflect on the cycle and capture high-quality lessons for future sessions
Instalar con Codex o Claude Copia este prompt, pégalo en Codex, Claude u otro asistente, y deja que revise la página de la skill y la instale por ti.
Basado en la clasificación ocupacional SOC
Audit and set up a codebase for agentic AI development using the 16-principle manifesto
Reviews code for architectural compliance and design integrity
Injects mistake-derived test requirements into the TDD pipeline
Clusters similar lessons and synthesizes testable patterns
Reviews UI code for design quality against the build-great-things quality checklist. Conditional — only activates when the Verification Contract includes design_craft_check evidence.
Analyzes repository structure, conventions, and patterns
| name | Compound |
| description | Reflect on the cycle and capture high-quality lessons for future sessions |
| phase | compound |
Extract and store lessons learned during the cycle, and update project documentation. This is what makes the system compound -- each session leaves the next one better equipped.
CRITICAL: Store all lessons via ca learn -- NOT via MEMORY.md, NOT via markdown files.
Lessons go to .Codex/lessons/index.jsonl through the CLI. MEMORY.md is a different system and MUST NOT be used for compounding.
bd show <epic>). Note any divergences -- what changed, why, was it justified. If drift reveals a spec was wrong or incomplete, flag that for lesson extraction.## Verification Contract. If review had to escalate the contract, or if planned evidence was too weak/too strong, capture that as a workflow-quality lesson.team_name):
.Codex/skills/compound/agents/{context-analyzer,lesson-extractor,pattern-matcher,solution-writer,compounding}/SKILL.mdSendMessage. The lead coordinates: context-analyzer and lesson-extractor feed pattern-matcher and solution-writer, which feed compounding.AskUserQuestion to confirm high-severity items with the user before storing; medium/low items are auto-storedca learn with supersedes/related links where applicable.
At minimum, capture 1 lesson per significant decision made during this cyclelint-classifier subagent (.Codex/agents/compound/lint-classifier.md). Pass it the list of newly captured insights from step 10 via SendMessage (each with id, insight text, and severity). The subagent classifies each as LINTABLE, PARTIAL, or NOT_LINTABLE. For LINTABLE + HIGH confidence items, it detects the project's linter and creates beads tasks under a "Linting Improvement" epic. All insights remain stored as lessons regardless of classification.compounding subagent to run synthesis: cluster accumulated lessons by similarity and write CCT patterns to .Codex/lessons/cct-patterns.jsonldeprecated)docs/ content is outdated after the cycledocs/decisions/ for ADRs contradicted by the work donedeprecated if a decision was reversed, referencing the new ADRdocs/compound/research/learning-systems/ for knowledge compounding theory, spaced repetition, and lesson extraction methodologyca knowledge "knowledge compounding" for indexed knowledge on learning systemsca search "compound" for lessons from past compounding cyclesca searchca search before capturebd)Before closing the epic:
ca verify-gates <epic-id> -- must return PASS for both gatespnpm test and pnpm lint -- must pass## Verification Contract and run every required evidence item that remains applicable. If build is required, run pnpm build
If verify-gates fails, the missing phase was SKIPPED. Go back and complete it.
CRITICAL: 3/5 phases is NOT success. All 5 phases are required.