create-opencode-agile
v1.0.0
Published
AI Agile Spec-Driven Development - Install .opencode agile agent system into any project
Maintainers
Readme
create-opencode-agile
Scaffold AI-powered spec-driven development with OpenCode Agile Agent
](https://img.shields.io/badge/size-green.svg)
CLI tool to install OpenCode Agile Agent - a complete spec-driven development workflow with specialized AI agents
Quick Start
# Run with npx (no installation required)
npx create-opencode-agile
# Or install globally
npm install -g create-opencode-agileWhat it does
This CLI tool will:
- Detect your project - Automatically detects your framework (React, Vue, Next.js, etc.)
- Copy
.opencodetemplates - Installs agent definitions and skills - Generate
AGENTS.md- Creates project-specific coding standards - Set up documentation - Provides complete workflow guide
What's Included
Specialized Agents (4)
| Agent | Role | Description | |-------|------|-------------| | Feature Lead | Orchestrator | Coordinates entire feature development workflow | | System Analyst | Planner | Creates specs, proposals, and task breakdown | | Developer | Implementer | Implements code based on specifications | | PR Reviewer | Validator | Validates code against philosophy and standards |
Loop Check System (Ralph Wiggum)
- Autonomous iteration with learning
- Verification loops - Auto-verify until success
- Edge case detection - Proactive identification of boundary conditions
- Multi-agent state sharing - Export/import state
Spec-Driven Development
- PRD Templates - Product Requirements Document
- Proposal Template - Business justification
- Spec Template - Technical specification
- Task Template - Atomic implementation checklist
Smart Features
- Philosophy-driven code - The 5 Laws of Elegant Defense
- Context-aware decision making
- Anti-pattern prevention
- Variation encouragement
Requirements
- Node.js 18.0.0 or higher
- npm or yarn
Usage
Option 1: Interactive Mode
npx create-opencode-agileThe CLI will prompt you:
- Project name
- Framework
- Language
- Styling
- State management
- Testing
Option 2: Quick Install (Non-Interactive)
npx create-opencode-agile --yesThis will:
- Skip all prompts
- Use detected configuration
- Install with default settings
Option 3: Specific Framework
# React project
npx create-opencode-agile --framework react
# Vue project
npx create-opencode-agile --framework vue
# Next.js project
npx create-opencode-agile --framework nextProject Structure After Installation
your-project/
├── .opencode/
│ ├── agents/
│ │ ├── feature-lead.md
│ │ ├── developer.md
│ │ ├── system-analyst.md
│ │ └── pr-reviewer.md
│ ├── skills/
│ │ └── code-philosophy/
│ │ └── SKILL.md
│ ├── README.md
│ ├── config.template.json
│ └── package.json
├── AGENTS.md # Project-specific coding standards
└── package.jsonExample Workflow
User: I want to implement user authentication with JWT
Agent (Feature Lead):
🔍 Searching codebase...
✅ Found: User type in src/types/user.types.ts
✅ Found: User store in src/stores/user.store.ts
📋 Quick questions:
1. Search by: name only, or also email/role?
2. Real-time search or search button?
3. Where should search appear?
User: 1. Name and email, 2. Real-time, 3. UserListPage
Agent (Feature Lead):
Perfect! Delegating to System Analyst for planning...
✅ System Analyst created:
- proposal.md: User stories and success criteria
- spec.md: Search API, store updates, component changes
- task.md: 12 atomic tasks
Delegating to Developer...
✅ Developer completed:
- Created SearchInput component
- Updated UserListPage with search
- Added search to User store
- Added API endpoint
Delegating to PR Reviewer...
✅ PR Reviewer: APPROVED
🎉 Feature Complete!Important Notes
- Customize
AGENTS.mdafter installation for your specific project rules - Read
.opencode/README.mdfor detailed workflow information - Set up proper TypeScript/ESLint config for best results
Links
License
MIT OpenCode AI
Contributing
Contributions are welcome! Please read our contributing guidelines first.
Issues
Found a bug? Please open an issue on GitHub.
