Compound Engineering adapted for Pi. This package keeps Pi users close to the evolving Compound Engineering workflow while preserving Pi-native runtime behavior where Claude Code assumptions do not map 1:1.
pi install npm:compound-engineering-pi -lReload your session, then you're ready:
/reloadOpen Pi in your repo and use either Pi-native colon commands or latest upstream CE hyphen commands:
/ce:brainstormor/ce-brainstorm/ce:planor/ce-plan/ce:workor/ce-work/ce:review,/ce-review, or/ce-code-review/ce:compoundor/ce-compound
Legacy workflows:* aliases remain available for compatibility.
/ce:ideate/ce:brainstorm/ce:plan/ce:work/ce:review/ce:compound/ce:compound-refresh/deepen-plan/test-browser//ce-test-browser/feature-video//ce-demo-reel/todo-resolve/todo-triage/resolve-pr-feedback//ce-resolve-pr-feedback/reproduce-bug/report-bug-ce//ce-report-bug/onboarding/ce:changelog//ce-release-notes/git-commit//ce-commit/git-commit-push-pr//ce-commit-push-pr/test-xcode//ce-test-xcode/lfg/slfg
This package tracks upstream Compound Engineering 3.11.1 content, currently bundling generated Pi skills plus generated Pi subagent definitions for review, research, design, workflow automation, git workflows, and more. A few Pi compatibility skills and Pi-owned reviewer agents remain for local compatibility and enhanced Pi review coverage.
The package ships Pi-specific compatibility tools for migrated CE flows:
ask_user_questionsubagentmcporter_listmcporter_callmcpb_inspectmcpb_importmcpb_export
This repo intentionally keeps some behavior package-owned instead of relying only on converted prompts:
- canonical
/ce:*command routing inside Pi - Pi-native review target resolution and todo handling
- workflow provenance and handoff context
- reproducible subagent wrapper generation for Pi environments
- latest upstream
ce-*naming while keeping Pi-friendly/ce:*aliases
For MCP runtime interoperability, install MCPorter:
npm i -g mcporterFor MCP bundle packing/validation, install the MCPB CLI when you need mcpb_export packing:
npm i -g @anthropic-ai/mcpbmcpb_import does not run imported servers automatically; it unpacks into ~/.pi/agent/mcpb/ and writes a MCPorter config entry for later verification with mcporter_list.
This repo is not trying to fork Compound Engineering philosophically. The goal is narrower and more useful:
- keep Pi users close to the latest upstream Compound Engineering skill graph
- preserve Pi-native runtime behavior where Claude Code assumptions do not map 1:1
- make canonical
/ce:*commands feel first-class inside Pi - keep subagent aliases and wrapper generation reproducible instead of hand-maintained
Typical refresh flow:
- Sync upstream CE Pi-target skills and agents into
skills/andagents/ - Keep Pi-owned runtime files current:
extensions/workflow-commands.tsextensions/review-runtime.tsextensions/workflow-context.tssrc/workflow-context.tsscripts/generate-agent-wrappers.mjs
- Regenerate global wrappers:
npm run agents:generate
- Verify wrapper aliases are current:
npm run agents:check- This must keep bare reviewer names such as
security-sentinel,performance-oracle,agent-native-reviewer, andlearnings-researcheravailable for the Pi review runtime.
- Smoke test interactively in Pi:
/ce:brainstorm/ce:plan/ce:review
Built on the Compound Engineering plugin by Every and Kieran Klaassen. Read the original writeup.
MIT