Claude Code plugin for AI-first workflow orchestration with MCP server
npm install @cliangdev/flux-pluginAgent-orchestrated, spec-driven workflow for Claude Code.
This plugin requires Bun. If you don't have Bun installed, the installer will offer to install it for you.
``bash`
bunx @cliangdev/flux-plugin
This installs:
- Commands (/flux, /flux:prd, /flux:breakdown, /flux:implement)
- Skills for AI orchestration
- MCP server for project data
`bash`
bunx @cliangdev/flux-plugin --global # Install to ~/.claude (all projects)
bunx @cliangdev/flux-plugin --local # Install to ./.claude (current project)
The installer automatically:
1. Copies commands to .claude/commands/.claude/skills/
2. Copies skills to .claude.json
3. Adds MCP server config to
| Command | Purpose |
|---------|---------|
| /flux | Smart entry point - shows status and guides you to the next step |/flux:prd
| | Create PRDs through discovery, research, and guided writing |/flux:breakdown
| | Break PRDs into epics and tasks with acceptance criteria |/flux:implement
| | Implement tasks with TDD workflow |
1. Start: Run /flux to initialize your project/flux:prd
2. Define: Run to create requirements through interactive Q&A/flux:breakdown
3. Plan: Run to generate implementation tasks/flux:implement
4. Build: Run to code with test-driven development
The orchestrator tracks your progress and always suggests the logical next step.
`mermaid
flowchart TB
subgraph User["User Intent"]
U["/flux - Start Here"]
end
subgraph Orchestrator["Flux Orchestrator"]
O{Analyze Context}
O -->|No Project| Init[Initialize Project]
O -->|No PRDs| PRD[Guide to /flux:prd]
O -->|PRD Ready| Break[Guide to /flux:breakdown]
O -->|Tasks Ready| Impl[Guide to /flux:implement]
end
subgraph PRDPhase["Requirements Phase"]
P1["/flux:prd"]
P2[Interactive Interview]
P3[Generate PRD Document]
P1 --> P2 --> P3
end
subgraph BreakdownPhase["Planning Phase"]
B1["/flux:breakdown"]
B2[Analyze PRD]
B3[Create Epics & Tasks]
B4[Define Acceptance Criteria]
B1 --> B2 --> B3 --> B4
end
subgraph ImplementPhase["Implementation Phase"]
I1["/flux:implement"]
I2[Select Next Task]
I3[TDD: Write Tests First]
I4[Implement Code]
I5[Verify & Commit]
I1 --> I2 --> I3 --> I4 --> I5
I5 -->|More Tasks| I2
end
U --> O
Init --> PRD
PRD --> P1
Break --> B1
Impl --> I1
P3 -->|PRD Complete| O
B4 -->|Breakdown Complete| O
I5 -->|All Done| Done[Project Complete]
`
- Intelligent Orchestration: Automatically guides you through the workflow based on project state
- Spec-Driven Development: All implementation traces back to documented requirements
- Test-Driven Implementation: Write tests first, then implement until they pass
- Acceptance Criteria: Every task has verifiable criteria for completion
- Backend Agnostic: Works with local SQLite or Linear for team collaboration
``
your-project/
├── .flux/
│ ├── project.json # Project configuration
│ ├── flux.db # Local database
│ └── docs/
│ └── prd-*/ # PRD documents
└── ...
To update to the latest version, simply re-run the installer:
`bash`
bunx @cliangdev/flux-plugin@latest --global
This will:
- Update commands and skills to the latest version
- Update the MCP server configuration
Check your current version:
``
/flux version
`bash`
rm -rf ~/.claude/commands/flux.md ~/.claude/commands/flux
rm -rf ~/.claude/skills/agent-creator ~/.claude/skills/epic-template ~/.claude/skills/flux-orchestrator ~/.claude/skills/prd-writer
rm -f ~/.claude/flux-versionEdit ~/.claude.json and remove the "flux" entry from "mcpServers"
`bash`
rm -rf .claude/commands/flux.md .claude/commands/flux
rm -rf .claude/skills/agent-creator .claude/skills/epic-template .claude/skills/flux-orchestrator .claude/skills/prd-writer
rm -f .claude/flux-versionEdit .claude.json and remove the "flux" entry from "mcpServers"
Note: Your project data in .flux/` is preserved. Delete it manually if you want to remove all Flux data.
GitHub: github.com/cliangdev/flux-plugin
MIT