Compound Engineering Plugin Architecture

6-Step AI Coding Loop with Cumulative Learning — 33 Skills Across 14 Agent Hosts

6-Step Compound Engineering Loop (80% Plan/Review, 20% Execute) 1. IDEATE /ce-brainstorm Issue decomposition Task unit definition Requirements gathering Output: TASKS.md tasks 2. PLAN /ce-plan SPEC.md generation I/O contracts Test strategy Output: SPEC.md spec 3. EXECUTE /ce-work Implementation Auto-commits Progress tracking Output: code + commits code 4. SIMPLIFY /ce-simplify Dead code removal Common extraction Abstraction layer Output: refactored code clean code 5. REVIEW /ce-code-review Security audit Performance check Style compliance Output: REVIEW.md approved 6. COMPOUND /ce-compound Pattern extraction Solution docs Embedding index Output: docs/solutions/ Cumulative Learning Loop docs/solutions/ → context 📚 KNOWLEDGE BASE docs/solutions/ auth-migration-2026-09-05.md api-typesafe-client-2026-09-04.md legacy-refactor-pattern-2026-09-03.md test-strategy-patterns-2026-09-02.md ... Auto-indexed embeddings for semantic search Vector Index Semantic search Context injection Pattern Matcher Similar task detect Solution reuse context injection 🛠 SUPPORTED AI CODING TOOLS (Native Integration) Claude Code .claude/commands/ Cursor .cursor/rules/ Codex plugin system Kimi Kimi Code Grok xAI Devin Cognition Copilot GitHub OpenCode Open source Pi Inflection Antigravity Research ⚡ 33 SKILLS (Grouped by Phase) IDEATE /ce-brainstorm /ce-decompose /ce-prioritize /ce-scope PLAN /ce-plan /ce-spec /ce-contracts /ce-test-strategy /ce-risks EXECUTE /ce-work /ce-implement /ce-test /ce-commit /ce-sync SIMPLIFY /ce-simplify /ce-extract /ce-dedupe /ce-abstract REVIEW /ce-code-review /ce-security /ce-perf /ce-style /ce-approve COMPOUND /ce-compound /ce-document /ce-index /ce-archive /ce-share CROSS-PHASE /ce-status /ce-resume /ce-reset /ce-config /ce-help Legend Plan/Review Phase Execute Phase Simplify Phase Security Review Compound/Learning Feedback Loop Knowledge Reference

Core Philosophy

  • • 80% Plan/Review, 20% Execute
  • • Technical debt reduction via simplification
  • • Cumulative learning > one-shot coding
  • • docs/solutions/ as institutional memory

Tool Coverage

  • • Claude Code, Cursor, Codex
  • • Kimi Code, Grok, Devin
  • • Copilot, OpenCode, Pi
  • • Antigravity (14 agent hosts native)

Key Innovation

  • • /ce-compound auto-documents patterns
  • • Vector embeddings for semantic reuse
  • • Next session auto-loads relevant solutions
  • • Team knowledge base grows automatically