This repository distributes the compound-engineering plugin from a portable source of truth, then generates platform-specific outputs for Claude Code and Copilot.
- Branching: Create a feature branch for any non-trivial change. If already on the correct branch for the task, keep using it; do not create additional branches or worktrees unless explicitly requested.
- Safety: Do not delete or overwrite user data. Avoid destructive commands.
- ASCII-first: Use ASCII unless the file already contains Unicode.
compound-engineering-plugin/
├── portable/compound-engineering/ # Canonical portable source
├── .claude-plugin/marketplace.json # Generated Claude marketplace catalog
├── .github/ # Generated Copilot assets
├── plugins/compound-engineering/ # Generated Claude plugin
│ ├── .claude-plugin/plugin.json
│ ├── agents/ # Specialized AI agents
│ ├── commands/ # Slash commands
│ ├── skills/ # Skills
│ ├── hooks/ # Hooks
│ └── mcp-servers/ # MCP servers
└── docs/ # Documentation site
When adding/removing agents, commands, or skills:
- Edit
portable/compound-engineering/first - Rebuild generated outputs with
bun run build:platforms - Update
plugins/compound-engineering/README.md-- component tables - Update
plugins/compound-engineering/CHANGELOG.md-- document changes - Validate JSON:
cat .claude-plugin/marketplace.json | jq .
Use the portable source as the only hand-edited definition:
bun run build:platformsThis regenerates:
plugins/compound-engineering/for Claude Code.github/for Copilot
All workflows write output to {project_root}/docs/:
docs/ideation/-- ideation artifacts (generated by/workflows:ideate)docs/plans/-- implementation plansdocs/brainstorms/-- brainstorm documentsdocs/solutions/-- compounded learnings (DO NOT gitignore)docs/execution-sessions/-- work session logs (local workflow artifacts; ignore them in this repo)