agentful Commands Reference
Complete reference guide for all agentful slash commands used in autonomous product development.
Overview
agentful provides a set of slash commands that automate the product development lifecycle. These commands work together to create an autonomous development loop that can build features, validate quality, and resolve decisions with minimal human intervention.
Command Categories
Core Development Commands
- /agentful-start - Start or resume autonomous product development
- /agentful-status - View current progress and state
- /agentful-decide - Resolve pending decisions blocking progress
- /agentful-validate - Run quality checks and validation gates
Quick Start
Basic Workflow
The typical development workflow follows this sequence:
1. /agentful-start → Begin autonomous development
2. /agentful-status → Check progress
3. /agentful-decide → Answer blocking decisions (if needed)
4. /agentful-validate → Verify quality (optional)
5. /agentful-start → Continue developmentFirst Time Setup
Before using agentful commands, ensure you have:
- PRODUCT.md - Product requirements document
- .agentful/ directory - State management
- Git repository - Version control
# Initialize agentful
mkdir -p .agentful
echo '{}' > .agentful/state.json
echo '{}' > .agentful/completion.json
echo '{"pending":[],"resolved":[]}' > .agentful/decisions.jsonCommand Reference
/agentful-start
Purpose: Initiates the autonomous development loop
When to use:- Starting a new product development session
- Resuming development after a break
- Continuing after resolving decisions
- Running autonomous development cycles
- Reads product state and picks next task
- Delegates work to specialist agents
- Validates completion before moving on
- Updates completion tracking
See: Complete /agentful-start reference
/agentful-status
Purpose: Shows current progress and development state
When to use:- Checking what's been completed
- Seeing what's currently in progress
- Identifying blocking issues
- Getting an overview before making decisions
- Visual progress display with percentages
- Feature status table (Done/Active/Pending)
- Quality gate status
- Pending decisions overview
- Current work context
See: Complete /agentful-status reference
/agentful-decide
Purpose: Resolves pending decisions blocking development
When to use:- /agentful-start reports pending decisions
- You need to make architectural choices
- Blocking issues need resolution
- Setting product direction
- Interactive decision interface
- Presents options with context
- Records decisions for traceability
- Unblocks features automatically
See: Complete /agentful-decide reference
/agentful-validate
Purpose: Runs quality checks and validation gates
When to use:- Before committing code
- After completing features
- Verifying quality standards
- CI/CD integration
- TypeScript type checking
- Lint validation
- Dead code detection
- Test execution
- Coverage reporting
- Security scanning
See: Complete /agentful-validate reference
Common Workflows
Workflow 1: Initial Development Session
# Start building your product
/agentful-start
# Check progress after some time
/agentful-status
# If blocked by decisions
/agentful-decide
# Continue development
/agentful-startWorkflow 2: Quality-Focused Development
# Run development
/agentful-start
# Validate quality before proceeding
/agentful-validate
# If validation fails, run again to auto-fix
/agentful-start
# Verify fixes
/agentful-validateWorkflow 3: Autonomous Loop (Advanced)
For continuous autonomous development:
/ralph-loop "/agentful-start" --max-iterations 50 --completion-promise "AGENTFUL_COMPLETE"This runs the development loop continuously until:
- All features complete (100%)
- All quality gates passing
- Maximum iterations reached
Workflow 4: Decision-Heavy Session
# Start development
/agentful-start
# If blocked, review all pending decisions
/agentful-decide
# Resolve multiple decisions in sequence
# (Interactive mode walks through each)
# Resume with clear path
/agentful-start
# Verify unblocked progress
/agentful-statusCommand Output Reference
Status Indicators
| Symbol | Meaning |
|---|---|
| ✅ | Completed/Passing |
| 🔄 | In Progress |
| ⏸ | Pending/Blocked |
| ⚠️ | Warning |
| ❌ | Failed/Error |
Progress Bars
Overall Progress: ████░░░░░░░░░░ 48%
10% 50% 100%- Solid blocks (█) = completed
- Empty blocks (░) = remaining
Quality Gates
┌─────────────────────┬────────┐
│ Quality Gate │ Status │
├─────────────────────┼────────┤
│ Tests Passing │ ✅ │
│ No Type Errors │ ✅ │
│ No Dead Code │ ❌ │
│ Coverage ≥ 80% │ ⚠️ 72% │
└─────────────────────┴────────┘Tips and Best Practices
Development Tips
- Start with /agentful-status - Always check current state before starting work
- Resolve decisions promptly - Pending decisions block progress immediately
- Run validation regularly - Catch quality issues early
- Monitor iterations - High iteration counts may indicate problems
Productivity Tips
- Use autonomous mode for long sessions - Let the loop run while you focus on other tasks
- Check status between iterations - Stay informed without interrupting flow
- Keep PRODUCT.md updated - Better requirements = better autonomous development
- Review decisions log - Learn from previous architectural choices
Troubleshooting
Development Stuck?
# Check what's happening
/agentful-status
# Look for pending decisions
# If present, resolve them
/agentful-decideQuality Gates Failing?
# Run detailed validation
/agentful-validate
# Review specific failures
# Run /agentful-start to auto-fixCan't Start Development?
# Verify required files exist
ls -la PRODUCT.md .agentful/
# Initialize if missing
mkdir -p .agentful
echo '{"version":"1.0","current_task":null}' > .agentful/state.jsonAdvanced Usage
Integration with CI/CD
# .github/workflows/agentful.yml
name: agentful Validation
on: [push, pull_request]
jobs:
validate:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Run agentful validation
run: |
npm install
/agentful-validateCustom Decision Templates
Create reusable decision patterns:
// .agentful/decision-templates.json
{
"templates": [
{
"name": "auth-strategy",
"question": "Authentication approach?",
"options": ["JWT", "Sessions", "OAuth", "Custom"]
}
]
}Progress Tracking Integration
# Sync with external project management
/agentful-status | jq '.features' > project-status.jsonSee Also
- Installation Guide - Setting up agentful
- Product Spec Guide - Writing PRODUCT.md
- Agent Configuration - Understanding specialist agents
- Quality Gates - Configuring validation thresholds
- Troubleshooting - Common issues and solutions