# π€ Droidz - Spec-Driven Development for AI
**Transform how you build software with AI agents**. Droidz is a complete framework that brings structure, standards, and systematic workflows to AI-assisted development.
Instead of ad-hoc prompting and context loss, Droidz gives you:
- π **Spec-driven workflow** - Plan β Spec β Tasks β Implementation
- π **Parallel execution** - Run multiple task groups simultaneously (NEW!)
- π€ **8 specialized agents** - Each expert in their domain
- π **50+ production skills** - From TDD to Next.js to security patterns
- π **Team standards** - Consistent code across all features
- π **Repeatable process** - Same quality, every time
**Stop reinventing workflows. Start shipping faster.**
---
## π¬ Join Our Discord Community
**Built specifically for Ray Fernando's Discord members!** π―
Get early access, share tips, connect with contributors, and influence future development.
**[β Join Discord Community](https://polar.sh/checkout/polar_c_Pse3hFdgwFUqomhsOL8wIN5ETXT6UsxNWTvx11BdyFW)**
---
## π Support This Project
If Droidz saves you time, consider supporting its development!
**[β Donate via PayPal](https://www.paypal.com/paypalme/gideonapp)** (@gideonapp)
Your support helps maintain and improve this framework! π
### With Gratitude
We're deeply thankful for the generosity of friends who keep this framework alive:
- **Sorennza**
- **Ray Fernando**
- **Douwe de Vries**
Every contributionβlarge or smallβdirectly fuels new features, improvements, and continued open distribution. Thank you for believing in Droidz.
---
## Quick Start
```bash
# 1. Navigate to your project
cd /path/to/your/project
# 2. Install Droidz (one command!)
bash <(curl -fsSL https://raw.githubusercontent.com/korallis/Droidz/main/install.sh)
# 3. Follow the interactive menu to choose your AI platform
# (Factory AI, Claude Code, Cursor, etc.)
# 4. Restart your AI tool
# 5. Start using workflows!
> /standards-shaper # Set up your project standards
> /plan-product # Plan your product
> /shape-spec # Design a feature
```
---
## Table of Contents
- [Why Droidz?](#why-droidz)
- [The Droidz Workflow](#the-droidz-workflow)
- [Installation](#installation)
- [Commands Reference](#commands-reference)
- [Specialized Agents](#specialized-agents)
- [Best Practices](#best-practices)
- [Customization](#customization)
- [Examples](#examples)
- [Troubleshooting](#troubleshooting)
---
## Why Droidz?
### The Problem with AI Development
Without structure, AI-assisted development leads to:
- β Inconsistent code quality
- β Lost context between sessions
- β Vague requirements β Rework
- β No team alignment
- β Hard to onboard new devs
### The Droidz Solution
Droidz brings **systematic workflows** to AI development:
```
Planning β Specification β Task Breakdown β Implementation
β β β β
Product Detailed Actionable Guided execution
docs spec.md tasks.md with standards
```
**Result**: Predictable, high-quality output every time.
---
## The Droidz Workflow
Droidz follows a proven 8-phase cycle for building features:
```
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β DROIDZ WORKFLOW β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
β β
β Phase 0: Setup Standards β /standards-shaper β
β β β
β Phase 1: Product Planning β /plan-product β
β β β
β Phase 2: Spec Shaping β /shape-spec β
β β β
β Phase 3: Spec Writing β /write-spec β
β β β
β Phase 4: Task Creation β /create-tasks β
β β β
β Phase 5: Task Orchestration β /orchestrate-tasks β
β β β
β Phase 6: Implementation β /implement-tasks π β
β β (3 MODES!) β
β β β
β βββ A) Parallel (FAST) - All tasks run together β
β βββ B) Interactive - Live progress updates β
β βββ C) Sequential - One at a time β
β β β
β Phase 7: Continuous Improvement β iterate & refine β
β β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
```
### Why This Works
1. **Context Persists** - Specs and standards live in your repo
2. **Clear Handoffs** - Each phase produces artifacts for the next
3. **Parallel Execution** - Implement multiple task groups simultaneously (NEW!)
4. **Progress Tracking** - See real-time updates as tasks complete
5. **Team Alignment** - Everyone works from the same spec
6. **Quality Gates** - Standards enforced automatically
7. **Scalable** - Same process for small features or large systems
---
## π NEW: Parallel Execution
**Speed up implementation by 4x!** Droidz now supports parallel execution using Factory AI's Droid Exec.
### Three Execution Modes
When you run `/implement-tasks`, choose how to execute:
**A) Parallel Execution (FAST)** β‘
- All task groups run simultaneously
- Uses Factory's headless Droid Exec mode
- Auto-loads API key from `droidz/config.yml`
- Bounded concurrency (configurable, default: 4)
- Robust error handling
- Best for: Multi-group implementations
```bash
# Just run the script - API key loads from droidz/config.yml
$ bash droidz/specs/[spec]/implementation/run-parallel.sh
π Starting parallel implementation...
π Loading configuration from droidz/config.yml
β
Using API key from config.yml
βοΈ Autonomy level: medium
π’ Max parallel: 4
βΆοΈ Starting: 1-database-setup.md
βΆοΈ Starting: 2-api-endpoints.md
βΆοΈ Starting: 3-frontend-ui.md
βΆοΈ Starting: 4-testing.md
β
Completed: 1-database-setup.md
β
Completed: 2-api-endpoints.md
β
Completed: 3-frontend-ui.md
β
Completed: 4-testing.md
π All task groups completed!
```
**B) Interactive with Live Progress** π
- Sequential execution with real-time TodoWrite updates
- See tool calls and results as they happen
- Best for: Learning, debugging, following along
**C) Sequential Delegation** π
- Traditional one-at-a-time execution
- Simple and reliable
- Best for: Single task groups
### Requirements for Parallel Mode
**One-Time Setup:**
```bash
# 1. Copy the config template
cp droidz/config.yml.template droidz/config.yml
# 2. Get your Factory API key
# Visit: https://app.factory.ai/settings/api-keys
# 3. Edit droidz/config.yml and add your key:
factory_api_key: "fk-your-key-here"
# That's it! The script will auto-load your key from config.yml
# β οΈ config.yml is in .gitignore - your key won't be committed
```
**Optional Configuration:**
You can also configure in `droidz/config.yml`:
- `default_autonomy_level`: "low", "medium", or "high" (default: "medium")
- `max_parallel_executions`: 1-10 (default: 4)
**Running Parallel Execution:**
```bash
# Just run the script - API key loads automatically
bash droidz/specs/[your-spec]/implementation/run-parallel.sh
```
---
## Installation
### Prerequisites
- One of these AI tools:
- Factory AI
- Claude Code
- Cursor
- Cline
- Codex CLI
- VS Code with AI extension
### Install Command
```bash
# Navigate to your project first!
cd /path/to/your/project
# Run the installer
bash <(curl -fsSL https://raw.githubusercontent.com/korallis/Droidz/main/install.sh)
```
### What Gets Installed
The installer creates these directories in your project:
```
your-project/
βββ .factory/ # Factory AI droids & commands (if selected)
β βββ droids/ # 8 specialized droids
β βββ commands/ # 20+ workflow commands
βββ .claude/ # Claude Code agents & commands (if selected)
β βββ agents/ # 8 specialized agents
β βββ commands/ # 20+ workflow commands
βββ droidz/ # Shared across all platforms
βββ standards/ # Your team's coding standards
β βββ global/ # Global conventions
β βββ backend/ # API, database patterns
β βββ frontend/ # Components, styling
β βββ testing/ # Test patterns
βββ product/ # Product documentation
β βββ mission.md
β βββ roadmap.md
β βββ tech-stack.md
βββ specs/ # Feature specifications
βββ [feature]/
βββ spec.md
βββ tasks.md
βββ planning/
```
Everything is **checked into git** and **shared with your team**.
### Post-Installation
1. **Restart your AI tool** - Required for new commands/agents to load
2. **Verify installation**:
```
> /commands # See available commands
> /droids # See available droids (Factory AI)
> /agents # See available agents (Claude Code)
```
---
## Commands Reference
Droidz provides 20+ commands organized by phase. Here are the essential ones:
### Setup & Planning Commands
#### `/standards-shaper` β START HERE
**Purpose**: Create project-wide coding standards
**When to use**: Once per project, before any development
**What it does**:
- Detects your tech stack (React, Next.js, TypeScript, etc.)
- Creates standards for global, backend, frontend, testing
- Generates dos/don'ts for consistency
**Output**:
```
droidz/standards/
βββ global/
β βββ coding-principles.md
β βββ error-handling.md
β βββ security.md
βββ backend/
β βββ api-design.md
β βββ database.md
βββ frontend/
β βββ components.md
β βββ styling.md
βββ testing/
βββ testing-patterns.md
```
**Example**:
```
> /standards-shaper
AI: I'll analyze your project and create standards...
AI: Detected: Next.js 14, TypeScript, Tailwind, Prisma
AI: Creating standards with framework-specific examples...
β
Created 12 standards files
β
All standards include your actual tech stack
```
---
#### `/plan-product`
**Purpose**: Define product vision and roadmap
**When to use**: Starting new products, major milestones, team onboarding
**What it does**:
- Asks questions about your product
- Creates mission statement
- Builds phased roadmap
- Documents tech stack decisions
**Output**:
```
droidz/product/
βββ mission.md # Vision, goals, success metrics
βββ roadmap.md # Phases, features, timeline
βββ tech-stack.md # Technologies and rationale
```
**Example**:
```
> /plan-product
AI: What problem does your product solve?
You: Task management for remote teams
AI: Who are your target users?
You: Remote engineering teams of 5-50 people
[More questions...]
β
Created mission.md
β
Created roadmap.md (4 phases)
β
Created tech-stack.md
```
---
### Specification Commands
#### `/shape-spec`
**Purpose**: Shape requirements for a new feature
**When to use**: Before building anything new
**What it does**:
- Asks clarifying questions
- Researches similar implementations (if Exa/Ref available)
- Saves requirements and decisions
- Creates spec folder structure
**Output**:
```
droidz/specs/2024-11-24-user-authentication/
βββ planning/
β βββ requirements.md # What you need
β βββ decisions.md # Key choices made
β βββ visuals/ # Wireframes, screenshots
βββ README.md # Overview
```
**Example**:
```
> /shape-spec
AI: What feature are you planning?
You: User authentication with OAuth
AI: Which OAuth providers?
You: Google and GitHub
AI: What user data do you need to store?
You: Email, name, profile picture
[More questions...]
β
Saved requirements.md
β
Saved decisions.md
β
Created spec folder
```
---
#### `/write-spec`
**Purpose**: Create detailed specification from shaped requirements
**When to use**: After shaping (Phase 2 complete)
**What it does**:
- Reads shaped requirements
- Generates comprehensive spec document
- Includes architecture, APIs, data models, UI, security, testing
**Output**:
```
droidz/specs/2024-11-24-user-authentication/
βββ spec.md # β THE SPEC
βββ planning/
β βββ requirements.md
βββ README.md
```
**spec.md structure**:
```markdown
# User Authentication Specification
## 1. Overview
## 2. User Stories
## 3. Technical Architecture
## 4. Data Models
## 5. API Endpoints
## 6. UI/UX Flow
## 7. Security Considerations
## 8. Testing Strategy
## 9. Success Metrics
```
**Example**:
```
> /write-spec
AI: Reading shaped requirements...
AI: Generating specification...
β
Created spec.md (2,400 lines)
β
Includes:
- 5 user stories
- Database schema
- 8 API endpoints
- Security checklist
- 12 test scenarios
```
---
### Implementation Commands
#### `/create-tasks`
**Purpose**: Break spec into implementable tasks
**When to use**: After spec is written
**What it does**:
- Reads spec.md
- Breaks into logical task groups
- Creates tasks with dependencies
- Adds acceptance criteria
**Output**:
```
droidz/specs/2024-11-24-user-authentication/
βββ spec.md
βββ tasks.md # β IMPLEMENTATION TASKS
βββ planning/
```
**tasks.md structure**:
```markdown
# Implementation Tasks
## Task Group 1: Database Setup
- [ ] 1.1: Create users table
- [ ] 1.2: Create oauth_tokens table
- [ ] 1.3: Add database indexes
## Task Group 2: OAuth Integration
- [ ] 2.1: Set up OAuth configs
- [ ] 2.2: Create callback endpoints
- [ ] 2.3: Handle token exchange
## Task Group 3: Frontend
- [ ] 3.1: Create login page
- [ ] 3.2: Add OAuth buttons
- [ ] 3.3: Handle redirects
## Task Group 4: Testing
- [ ] 4.1: Unit tests for OAuth
- [ ] 4.2: E2E login flow test
- [ ] 4.3: Security tests
```
**Example**:
```
> /create-tasks
AI: Reading spec.md...
AI: Identifying task groups...
AI: Creating tasks with dependencies...
β
Created tasks.md
β
Found 4 task groups
β
Total: 23 tasks
```
---
#### `/orchestrate-tasks`
**Purpose**: Plan multi-agent implementation
**When to use**: Before implementing (optional but recommended)
**What it does**:
- Shows task groups
- Lets you assign specialists (if using subagents)
- Maps relevant standards to each group
- Generates implementation prompts
**Output**:
```
droidz/specs/2024-11-24-user-authentication/
βββ spec.md
βββ tasks.md
βββ orchestration.yml # β COORDINATION PLAN
βββ implementation/
βββ prompts/
βββ 1-database-setup.md
βββ 2-oauth-integration.md
βββ 3-frontend.md
βββ 4-testing.md
```
**Example**:
```
> /orchestrate-tasks
AI: Found 4 task groups. Assign specialists:
1. Database Setup β ?
2. OAuth Integration β ?
3. Frontend β ?
4. Testing β ?
You:
1. backend-specialist
2. backend-specialist
3. frontend-specialist
4. test-specialist
AI: Map standards for each group:
You:
1. backend/*, global/security.md
2. backend/*, global/error-handling.md
3. frontend/*, global/
4. testing/*
β
Created orchestration.yml
β
Generated 4 implementation prompts
```
---
#### `/implement-tasks`
**Purpose**: Execute implementation with **parallel execution support**
**When to use**: After tasks are created
**Three Execution Modes**:
**A) Parallel Execution (FAST)** π
- Uses Factory's **Droid Exec** (headless mode) for true concurrent processing
- Runs all task groups simultaneously
- Best for: Multi-group implementations
- Requirements: Factory API key in `droidz/config.yml` (one-time setup)
- Features:
- Auto-loads API key from config file
- Bounded concurrency (configurable, default: 4)
- Configurable autonomy level (low/medium/high)
- Robust error handling (if one fails, others continue)
- All droids update same tasks.md file
- Real-time output from all executions
**B) Interactive with Live Progress** π
- Uses Task tool + TodoWrite for real-time updates
- Sequential execution with live progress tracking visible in session
- Best for: Following along, learning, debugging
- Features:
- Live TodoWrite updates
- See tool calls and results as they happen
- Track progress as each task group completes
**C) Sequential Delegation (SIMPLE)** π
- Traditional one-at-a-time implementation
- Best for: Single task group, simple implementations
**Example (Parallel Mode)**:
```bash
> /implement-tasks
How would you like to execute implementation?
A) Parallel Execution (FAST) - Using Droid Exec
B) Interactive with Live Progress - Using TodoWrite
C) Sequential Delegation (SIMPLE)
Enter A, B, or C: A
β
Created parallel execution setup
PROMPTS: droidz/specs/2024-11-24/implementation/prompts/
βββ 1-database-setup.md
βββ 2-api-endpoints.md
βββ 3-frontend-ui.md
βββ 4-testing.md
SCRIPT: run-parallel.sh
TO EXECUTE:
$ bash droidz/specs/2024-11-24/implementation/run-parallel.sh
π Starting parallel implementation...
π Loading configuration from droidz/config.yml
β
Using API key from config.yml
βοΈ Autonomy level: medium
π’ Max parallel: 4
βΆοΈ Starting: 1-database-setup.md
βΆοΈ Starting: 2-api-endpoints.md
βΆοΈ Starting: 3-frontend-ui.md
βΆοΈ Starting: 4-testing.md
β
Completed: 1-database-setup.md
β
Completed: 2-api-endpoints.md
β
Completed: 3-frontend-ui.md
β
Completed: 4-testing.md
π All task groups completed!
```
---
### Utility Commands
#### `/improve-skills`
**Purpose**: Enhance AI agent skills
**When to use**: Customizing agent capabilities
**What it does**:
- Shows current skills
- Lets you improve descriptions
- Adds examples
- Makes skills more discoverable
---
## Specialized Agents
Droidz includes 8 specialized agents, each expert in their domain:
### 1. product-planner
**Expertise**: Product strategy, roadmaps, vision
**Use when**:
- Starting new products
- Planning major features
- Creating product documentation
**What it creates**:
- mission.md - Product vision and goals
- roadmap.md - Phased development plan
- tech-stack.md - Technology decisions
**Best for**: Product managers, founders, tech leads
---
### 2. spec-shaper
**Expertise**: Requirements gathering, research
**Use when**:
- Feature requirements are unclear
- Need to research implementations
- Validating technical approach
**What it does**:
- Asks clarifying questions
- Researches patterns (with Exa/Ref)
- Documents decisions
- Shapes clear requirements
**Best for**: Early-stage feature design
---
### 3. spec-writer
**Expertise**: Writing detailed specifications
**Use when**:
- Have shaped requirements
- Need implementable spec
- Building complex features
**What it creates**:
- Comprehensive spec.md with:
- Architecture
- Data models
- API contracts
- UI flows
- Security considerations
- Testing strategy
**Best for**: Detailed feature planning
---
### 4. spec-verifier
**Expertise**: Specification review
**Use when**:
- Validating specs before implementation
- Checking completeness
- Finding gaps
**What it checks**:
- Completeness
- Clarity
- Implementability
- Security considerations
- Test coverage
**Best for**: Quality assurance, pre-implementation review
---
### 5. tasks-list-creator
**Expertise**: Breaking specs into tasks
**Use when**:
- Have completed spec
- Ready to start implementation
- Need task breakdown
**What it creates**:
- tasks.md with:
- Logical task groups
- Clear dependencies
- Acceptance criteria
- Size estimates
**Best for**: Implementation planning
---
### 6. implementer
**Expertise**: Feature implementation
**Use when**:
- Have tasks defined
- Ready to code
- Following spec and standards
**What it does**:
- Reads spec and tasks
- Implements features
- Follows project standards
- Writes tests
- Updates progress
**Best for**: Actual development work
---
### 7. implementation-verifier
**Expertise**: Testing and verification
**Use when**:
- Implementation complete
- Need to verify against spec
- Running test suite
**What it does**:
- Verifies against acceptance criteria
- Runs all tests
- Checks standards compliance
- Creates verification report
**Best for**: Quality assurance, pre-merge checks
---
### 8. spec-initializer
**Expertise**: Spec folder setup
**Use when**:
- Starting new spec
- Need folder structure
**What it creates**:
- Spec folder with proper structure
- README.md template
- planning/ directory
**Best for**: Quick spec initialization
---
## Best Practices
### β
DO:
#### 1. Start with Standards
```
First feature? Run this FIRST:
> /standards-shaper
```
**Why**: Standards ensure consistency from day one
#### 2. Always Shape Before Writing
```
> /shape-spec # Ask questions, clarify
> /write-spec # Write detailed spec
```
**Why**: Shaping prevents vague specs and rework
#### 3. Break Down Complex Tasks
```
Don't:
- [ ] Build entire auth system
Do:
- [ ] Create database tables
- [ ] Implement OAuth flow
- [ ] Add login UI
- [ ] Write tests
```
**Why**: Small tasks are easier to implement and track
#### 4. Use Orchestration for Big Features
```
> /orchestrate-tasks # Plan before implementing
```
**Why**: Coordination prevents conflicts and missed requirements
#### 5. Reference Specs in Code
```typescript
// See droidz/specs/2024-11-24-user-authentication/spec.md
// Section 4.2: OAuth Token Storage
export const saveOAuthToken = async (userId, token) => {
// ...
}
```
**Why**: Links code to requirements
#### 6. Update Standards as You Learn
```
Found a better pattern? Add to:
droidz/standards/[category]/[pattern].md
```
**Why**: Standards evolve with your team
#### 7. Keep Specs Updated
```
Feature changed during implementation?
Update spec.md to match reality.
```
**Why**: Specs are documentation, keep them accurate
#### 8. Use Task Groups
```
Group 1: Database
Group 2: Backend
Group 3: Frontend
Group 4: Testing
```
**Why**: Logical organization, easier to delegate
---
### β DON'T:
#### 1. Skip Planning
```
β Jump straight to code
β
Plan β Spec β Tasks β Implement
```
#### 2. Write Vague Specs
```
β "Add user authentication"
β
"Implement OAuth 2.0 with Google/GitHub,
JWT tokens, refresh token rotation,
secure storage per spec section 5.3"
```
#### 3. Ignore Standards
```
β Implement however you want
β
Follow droidz/standards/ patterns
```
#### 4. Mix Concerns in Tasks
```
β - [ ] Build frontend and backend
β
- [ ] Build backend API
- [ ] Build frontend UI
```
#### 5. Lose Context
```
β "What were we building again?"
β
Read droidz/specs/[feature]/spec.md
```
#### 6. Skip Testing
```
β Implement without tests
β
Tests are part of implementation (Task Group 4)
```
#### 7. Work in Isolation
```
β Solo development without docs
β
Use workflow so team can collaborate
```
#### 8. Forget to Commit Droidz Files
```
β .gitignore droidz/
β
Commit specs, standards, product docs
```
---
## Examples
### Example 1: Building a New Feature
**Scenario**: Add real-time notifications to your app
```bash
# Phase 0: Standards exist (one-time setup)
> /standards-shaper
β
Standards created
# Phase 1: Product context
> /plan-product
β
Product docs created
# Phase 2: Shape the feature
> /shape-spec
AI: What feature are you planning?
You: Real-time notifications with WebSockets
AI: What types of notifications?
You: New messages, mentions, system alerts
AI: How should they be delivered?
You: Browser push + in-app toast
[More questions...]
β
requirements.md created
# Phase 3: Write detailed spec
> /write-spec
β
spec.md created (1,800 lines)
Includes: WebSocket architecture, message schema,
push notification setup, UI components
# Phase 4: Break into tasks
> /create-tasks
β
tasks.md created
Found 5 task groups, 28 tasks
# Phase 5: Orchestrate (optional)
> /orchestrate-tasks
You assign:
1. WebSocket Server β backend-specialist
2. Message Schema β backend-specialist
3. Push Notifications β backend-specialist
4. UI Components β frontend-specialist
5. E2E Tests β test-specialist
β
Implementation prompts generated
# Phase 6: Implement
[Use subagents or implement manually with prompts]
β
All 28 tasks completed
β
Tests passing
β
Feature ready to ship! π
```
---
### Example 2: Onboarding New Team Member
```bash
# New dev joins your team
# 1. They clone the repo
git clone your-repo
cd your-repo
# 2. They install Droidz
bash <(curl -fsSL https://raw.githubusercontent.com/korallis/Droidz/main/install.sh)
# 3. They read your docs
cat droidz/product/mission.md # Understand the product
cat droidz/product/tech-stack.md # See tech choices
ls droidz/standards/ # Review coding standards
# 4. They explore past features
ls droidz/specs/ # See all features built
cat droidz/specs/2024-11-20-*/spec.md # Read a spec
# 5. They start their first feature
> /shape-spec # Learn the workflow
> /write-spec
> /create-tasks
> /implement-tasks
# Result: New dev is productive day 1, following same patterns as team
```
---
### Example 3: Mid-Project Standards Creation
**Scenario**: You have a codebase but no standards yet
```bash
# Run standards-shaper
> /standards-shaper
AI: I'll analyze your codebase...
AI: Detected:
- React 18 with hooks
- TypeScript (strict mode)
- Tailwind CSS
- tRPC API
- Prisma ORM
- Vitest tests
AI: Creating standards with your patterns...
β
Created 15 standards files
β
Examples use YOUR tech stack
β
Patterns match YOUR code style
# Now all future features follow these standards automatically
```
---
## Customization
### Modifying Standards
Standards are just markdown files. Edit them to match your team:
```bash
# Edit any standard
code droidz/standards/frontend/components.md
# Add your own patterns
echo "## Our Custom Button Pattern" >> droidz/standards/frontend/components.md
echo "..." >> droidz/standards/frontend/components.md
# Standards are preserved during Droidz updates
```
### Creating Custom Agents
Add your own specialized agents:
```bash
# Factory AI
create .factory/droids/database-expert.md
# Claude Code
create .claude/agents/database-expert.md
```
Format:
```markdown
---
name: database-expert
description: PostgreSQL and Prisma expert for database design
color: blue
model: inherit
---
You are a database design expert...
```
### Adding Custom Commands
```bash
# Factory AI
create .factory/commands/optimize-queries.md
# Claude Code
create .claude/commands/optimize-queries.md
```
---
## Troubleshooting
### Commands Not Showing Up
**Problem**: Installed Droidz but commands don't work
**Solutions**:
1. **Restart your AI tool** (required after installation)
2. Verify installation:
```
> /commands # Should show 20+ commands
```
3. Check file locations:
```bash
ls .factory/commands/ # Factory AI
ls .claude/commands/ # Claude Code
```
---
### Agents Not Activating
**Problem**: Agents don't respond or aren't found
**Solutions**:
1. **Restart your AI tool**
2. Check file structure (must be flat, not nested):
```bash
# β
Correct
.factory/droids/implementer.md
# β Wrong
.factory/droids/implementation/implementer.md
```
3. Verify with:
```
> /droids # Factory AI
> /agents # Claude Code
```
---
### Standards Not Being Followed
**Problem**: AI ignores your standards
**Solutions**:
1. **Reference standards explicitly**:
```
> Use the implementer agent and follow droidz/standards/backend/api-design.md
```
2. Check standards exist:
```bash
ls droidz/standards/
```
3. Make standards more specific (add examples)
---
### Lost Customizations After Update
**Problem**: Your standards got overwritten
**Solutions**:
1. Check backup folder:
```bash
ls /tmp/*droidz*backup*/
```
2. Restore from backup:
```bash
cp /tmp/droidz-backup-*/standards/* droidz/standards/
```
3. **Prevent in future**: Commit droidz/ to git
---
### Spec Not Loading
**Problem**: Agents can't find your spec
**Solutions**:
1. Use correct path:
```
> Read droidz/specs/2024-11-24-feature-name/spec.md
```
2. Check file exists:
```bash
ls droidz/specs/*/spec.md
```
3. Verify spec is committed to git
---
## Platform Support
| Platform | Install Location | Content |
|----------|-----------------|---------|
| **Factory AI** | `.factory/` | droids/, commands/ |
| **Claude Code** | `.claude/` | agents/, commands/ |
| **Cursor** | `.cursor/` | workflows/ |
| **Cline** | `.cline/` | prompts/ |
| **Codex CLI** | `.codex/` | playbooks/ |
| **VS Code** | `.vscode/droidz/` | snippets/ |
| **All Platforms** | `droidz/` | standards/, product/, specs/ |
---
## What's Included
### 8 Specialized Agents
- product-planner
- spec-shaper
- spec-writer
- spec-verifier
- spec-initializer
- tasks-list-creator
- implementer
- implementation-verifier
### 20+ Commands
- /standards-shaper
- /plan-product
- /shape-spec
- /write-spec
- /create-tasks
- /orchestrate-tasks
- /implement-tasks
- /improve-skills
- ...and more
### 50+ Production Skills
- **Core Development**: TDD, debugging, security, APIs
- **Modern Frameworks**: Next.js 14, Convex, NeonDB, Tailwind
- **Tools**: Playwright, MCP builder, document processing
- **Productivity**: File organization, continuous improvement
### Complete Standards Library
- Global conventions
- Backend patterns (API, database)
- Frontend patterns (components, styling)
- Testing strategies
---
## Support & Community
### Getting Help
1. **Documentation**: Read `droidz/standards/RECOMMENDED_WORKFLOW.md` after installation
2. **Discord**: Join Ray Fernando's community (link at top)
3. **Issues**: [GitHub Issues](https://github.com/korallis/Droidz/issues)
### Contributing
Droidz is open source! Contributions welcome:
- Improve documentation
- Add new skills
- Create example workflows
- Report bugs
---
## License
MIT License - see LICENSE file for details
---
## Credits
Created by the Droidz community with special thanks to:
- Ray Fernando
- All our supporters and contributors
Built on principles of spec-driven development adapted for modern AI coding agents.
---
**Ready to transform your AI development workflow?**
```bash
bash <(curl -fsSL https://raw.githubusercontent.com/korallis/Droidz/main/install.sh)
```
**Questions? Join the Discord!** π¬