sead-method-core
Version:
Specification Enforced Agentic Agile Development - A hybrid methodology preventing AI agent drift through catalog-based constraints with comprehensive external asset integration
464 lines (352 loc) β’ 12.8 kB
Markdown
# SEAD-METHODβ’ Quick Start Guide
**Get up and running with SEAD in 15 minutes**
**Version**: 1.3.3
**Date**: 2025-01-15
**Status**: Production Ready
## What is SEAD?
SEAD-METHODβ’ (Specification Enforced Agentic Agile Development) is a revolutionary development methodology that uses 12 specialized AI agents with constitutional constraints to deliver consistent, high-quality software development.
**Key Benefits**:
- ποΈ **Constitutional compliance** prevents AI agent drift
- π **Catalog patterns** ensure consistency across projects
- π€ **12 AI agents** handle everything from planning to implementation
- β‘ **3 development modes** scale from prototype to production
## Installation (3 minutes)
### Step 1: Install SEAD Package
```bash
# Install SEAD globally
npm install -g sead-method-core
# Verify installation
sead --version
```
### Step 2: Initialize Your First Project
SEAD uses a simple two-stage installation process:
```bash
# Create and initialize project
sead init my-first-project
cd my-first-project
# Install SEAD agents and tools
sead install
# The installer will:
# 1. Detect your IDE automatically
# 2. Install all 12 agents to .sead-core/
# 3. Set up 33 development tasks
# 4. Configure IDE-specific commands
```
### Step 3: Verify Setup
```bash
# Check installation status
sead status
# List available AI agents
sead list-agents
# Test agent availability
sead agents
# Expected output: 12 agents listed with descriptions
```
**π Installation Complete!** SEAD agents are now available in your IDE:
- **Claude Code**: `/sead-architect`, `/sead-developer`
- **Cursor**: `@sead-architect`, `@sead-developer`
- **Other IDEs**: Commands generated based on your selection
## Your First SEAD Project (10 minutes)
### Step 1: Initialize Project (1 minute)
```bash
# Create new project with default settings
sead init my-first-app
cd my-first-app
# Install SEAD agents and tools
sead install
# Check project structure
ls -la
```
**What was created**:
- `sead-workspace/` - Your specifications, plans, stories, implementations
- `sead-catalog/` - 11 domains of reusable patterns (API, UI, data, etc.)
- `sead.config.yaml` - Project configuration with constitutional constraints
### Step 2: Create Specification (2 minutes)
```bash
# Specify what you want to build
sead specify "Task management app with user authentication"
```
**What happens**:
- SEAD Analyst researches requirements
- Constitutional constraints ensure specification quality
- Output: `sead-workspace/specifications/frontend-spec-[timestamp].md`
**Check the output**:
```bash
ls sead-workspace/specifications/
cat sead-workspace/specifications/frontend-spec-*.md
```
### Step 3: Generate Plan (2 minutes)
```bash
# Create architectural plan with catalog integration
sead plan fullstack --catalog-mode development
```
**What happens**:
- SEAD Architect designs system architecture
- Catalog patterns ensure consistency
- Constitutional constraints prevent over-engineering
- Output: `sead-workspace/planning/fullstack-plan-[timestamp].md`
### Step 4: Create Stories (2 minutes)
```bash
# Generate implementation stories with catalog compliance
sead stories --enforce-catalog --context-preserve
```
**What happens**:
- SEAD Product Owner creates user stories
- SEAD Scrum Master validates story quality
- Stories reference catalog patterns
- Output: Multiple files in `sead-workspace/stories/`
**View your stories**:
```bash
ls sead-workspace/stories/
cat sead-workspace/stories/user-auth-001.md
```
### Step 5: Implement First Story (3 minutes)
```bash
# Implement authentication story with constitutional compliance
sead implement user-auth-001 --mode development --validate-compliance
```
**What happens**:
- SEAD Developer implements code using catalog patterns
- Constitutional constraints ensure quality
- Anti-drift protection maintains consistency
- Output: `sead-workspace/implementations/impl-user-auth-001-[timestamp].md`
**Check implementation**:
```bash
cat sead-workspace/implementations/impl-user-auth-001-*.md
```
### Step 6: Validate Project
```bash
# Check overall project health
sead status --detailed --constitutional-summary
# Validate constitutional compliance
sead validate --constitutional --catalog
```
## Understanding Your SEAD Project
### Project Structure
```
my-first-app/
βββ sead.config.yaml # SEAD configuration
βββ sead-workspace/ # Your work artifacts
β βββ specifications/ # What to build
β βββ planning/ # How to build it
β βββ stories/ # Implementation tasks
β βββ implementations/ # Detailed implementation
βββ sead-catalog/ # Reusable patterns
βββ api-contracts/ # API patterns
βββ shared-types/ # Data types
βββ design-system/ # UI patterns
βββ state-management/ # State patterns
βββ error-handling/ # Error patterns
βββ validation-schemas/ # Validation patterns
βββ test-patterns/ # Testing patterns
βββ auth-patterns/ # Authentication patterns
βββ integration-patterns/ # Integration patterns
βββ data-strategy/ # Data patterns
βββ deployment-strategy/ # Deployment patterns
```
### The SEAD Agents You Just Used
1. **π SEAD Analyst** - Researched your requirements
2. **ποΈ SEAD Architect** - Designed your system architecture
3. **π― SEAD Product Owner** - Created user stories
4. **π₯ SEAD Scrum Master** - Validated story quality
5. **π» SEAD Developer** - Implemented your code
### Constitutional Framework
SEAD prevents AI agent drift through:
- **π Catalog Compliance**: All decisions reference proven patterns
- **ποΈ Constitutional Constraints**: Built-in quality guardrails
- **βοΈ Mode-Appropriate Governance**: Right amount of process for your project phase
## Development Modes Explained
### π§ͺ Prototype Mode - Fast & Flexible
```bash
sead init prototype-app --mode prototype
```
- **When**: MVP, proof of concept, experimentation
- **Constraints**: Minimal - focus on speed
- **Quality Gates**: Basic functionality only
### π§ Development Mode - Balanced Quality
```bash
sead init production-app --mode development
```
- **When**: Feature development, team collaboration
- **Constraints**: Progressive - balance speed with quality
- **Quality Gates**: Testing, documentation, code review
### π Build-to-Deploy Mode - Maximum Reliability
```bash
sead init enterprise-app --mode build-to-deploy
```
- **When**: Production systems, enterprise applications
- **Constraints**: Strict - maximum quality and reliability
- **Quality Gates**: Full test suite, security review, performance validation
## Next Steps
### Continue with Your First Project
```bash
# Implement more stories
sead implement story-002 --mode development
sead implement story-003 --mode development
# Check project progress
sead status --detailed
# Validate full project when ready
sead validate --constitutional --catalog --end-to-end
```
### Try Different Project Types
**Backend API Project**:
```bash
sead init api-service --mode development --template backend
sead specify "REST API for user management with authentication"
sead plan backend --catalog-mode development
```
**Frontend Only Project**:
```bash
sead init ui-dashboard --mode development --template frontend
sead specify "Analytics dashboard with real-time charts"
sead plan frontend --catalog-mode development
```
**Existing Project Integration** (Brownfield):
```bash
# Generate catalog from existing project
sead catalog generate --source ./existing-project --guided
# Initialize SEAD with generated catalog
sead init enhanced-project --catalog ./generated-catalog
```
### Explore Advanced Features
**Interactive Specification**:
```bash
sead specify "Complex e-commerce platform" --interactive
```
**Custom Agent Selection**:
```bash
sead implement ui-component-001 --agent sead-ux-expert
```
**Catalog Management**:
```bash
# Validate your catalog patterns
sead catalog validate --constitutional-compliance
# Initialize specific catalog domains
sead catalog init --domains api-contracts,auth-patterns
```
## Common Commands Reference
### Essential Commands
```bash
# Project lifecycle
sead init <project-name> # Initialize project
sead specify <description> # Create specification
sead plan <tech-stack> # Generate architecture plan
sead stories # Create implementation stories
sead implement <story-id> # Implement story
# Project management
sead status # Check project status
sead validate # Validate project compliance
sead config list # View configuration
# Catalog management
sead catalog generate --source <path> # Generate from existing project
sead catalog validate # Validate catalog integrity
```
### Useful Options
```bash
# Development modes
--mode prototype # Fast prototyping
--mode development # Balanced development (default)
--mode build-to-deploy # Production-ready
# Quality options
--constitutional-compliance # Enforce constitutional constraints
--validate-compliance # Validate during implementation
--enforce-catalog # Require catalog pattern usage
# Output options
--interactive # Interactive mode with prompts
--detailed # Detailed output and status
--verbose # Verbose logging
```
## Getting Help
### Built-in Help
```bash
# General help
sead --help
# Command-specific help
sead init --help
sead specify --help
sead implement --help
# Check system health
sead doctor
# View configuration
sead config list
```
### Debugging Issues
```bash
# Enable debug mode
sead --debug implement story-001
# Check constitutional compliance
sead validate --constitutional --verbose
# Verify catalog integration
sead catalog validate --detailed
```
### Documentation
- **π Full User Guide**: `docs/USER-GUIDE.md`
- **π» CLI Reference**: `docs/CLI-REFERENCE.md`
- **ποΈ Constitutional Framework**: `docs/CONSTITUTIONAL-FRAMEWORK-GUIDE.md`
- **π€ Agent Coordination**: `docs/AGENT-COORDINATION-GUIDE.md`
### Community & Support
- **GitHub Issues**: [Report bugs and request features](https://github.com/CodifiedIntuition/SEAD-METHOD/issues)
- **Discussions**: [Ask questions and share experiences](https://github.com/CodifiedIntuition/SEAD-METHOD/discussions)
- **Documentation**: [Contribute improvements](https://github.com/CodifiedIntuition/SEAD-METHOD)
## Troubleshooting Quick Fixes
### "Constitutional constraint violation"
```bash
# Check what constraint was violated
sead validate --constitutional --detailed
# Review your agent's constraints
cat sead-core/constitutional-rules/sead-developer-constraints.yaml
# Fix: Align with catalog patterns or escalate properly
```
### "Catalog pattern not found"
```bash
# Verify catalog structure
ls sead-catalog/
# Validate catalog integrity
sead catalog validate
# Fix: Initialize missing catalog domains
sead catalog init --domains <missing-domain>
```
### "Agent coordination failed"
```bash
# Check handoff status
sead status --agent-status
# Review previous agent's output
cat sead-workspace/implementations/latest-*.md
# Fix: Re-run with proper context preservation
sead implement story-001 --context-preserve
```
## What's Next?
π **Congratulations!** You've successfully:
- β
Set up your first SEAD project
- β
Used 5 different SEAD agents
- β
Generated specifications, plans, stories, and implementations
- β
Experienced constitutional compliance and catalog patterns
### Ready for More?
1. **π Read the Full User Guide** for comprehensive methodology understanding
2. **ποΈ Study Constitutional Framework** to understand governance in depth
3. **π€ Learn Agent Coordination** for advanced multi-agent workflows
4. **π’ Scale to Team Projects** with collaborative SEAD development
5. **π Contribute to SEAD** by sharing patterns and improvements
### Join the SEAD Community
SEAD-METHODβ’ is revolutionizing AI-assisted development. Join us to:
- Share your success stories and learnings
- Contribute new catalog patterns
- Suggest constitutional framework improvements
- Help other developers adopt SEAD methodology
**Welcome to the future of AI-assisted software development!** π
**Document Version**: 1.3.3
**Last Updated**: 2025-01-15
**SEAD-METHODβ’ Version**: 1.3.3
**Status**: Production Ready
**Get started now**: `npm install -g sead-method-core && sead init my-project`