This is a Claude Code plugin that packages workspace hooks, skills, agents, and an MCP server for distribution.
Uses bd (beads) for issue tracking. Run bd prime for workflow context.
- Language: TypeScript + Node.js
- Build: tsup (ESM + CJS output)
- MCP:
@modelcontextprotocol/sdk - Package Manager: pnpm
- Testing: Vitest
pnpm install
pnpm build # Compile TypeScript → dist/
pnpm dev # Watch mode
pnpm type-check # TypeScript check (no emit)
pnpm test # Run Vitest testsCCPlugin/
├── plugin.json # Plugin manifest (name, version, components)
├── package.json # Node.js package
├── tsup.config.ts # Build config
├── src/
│ ├── index.ts # Library exports
│ ├── cli.ts # CLI entry point (install/uninstall/status)
│ ├── mcp/
│ │ └── server.ts # MCP server (workspace management tools)
│ ├── hooks/ # TypeScript hooks (compiled to dist/)
│ ├── skills/ # Skill .md files (bundled from workspace)
│ ├── agents/ # Agent .md files (bundled from workspace)
│ └── utils/ # Shared utilities (beads, workspace, config)
├── scripts/
│ ├── install.sh # Install plugin to a workspace
│ ├── uninstall.sh # Remove plugin from a workspace
│ └── bundle.js # Copy skills/agents from workspace into src/
└── dist/ # Compiled output (git-ignored)
| Tool | Description |
|---|---|
workspace_status |
Show git + beads health for all projects |
beads_ready |
List ready-to-work issues |
beads_active |
List in-progress issues |
project_list |
List workspace projects |
sync_workspace |
Run sync-all.sh across all projects |
pnpm install-plugin # Install to default workspace
pnpm install-plugin -- /path/to/workspace # Install to custom path- TypeScript strict mode + exactOptionalPropertyTypes
- All hooks must be non-fatal (never block Claude Code on error)
- MCP server tools should return text content, never throw