@versatil/sdlc-framework
Version:
๐ AI-Native SDLC framework with 11-MCP ecosystem, RAG memory, OPERA orchestration, and 6 specialized agents achieving ZERO CONTEXT LOSS. Features complete CI/CD pipeline with 7 GitHub workflows (MCP testing, security scanning, performance benchmarking),
336 lines (256 loc) โข 7.79 kB
Markdown
# ๐ฆ VERSATIL Framework Installation Guide
Complete installation and setup guide for the VERSATIL SDLC Framework.
## ๐ฏ Prerequisites
### System Requirements
- **Node.js**: 18.0.0 or higher
- **npm**: 8.0.0 or higher (or yarn 1.22.0+)
- **Git**: Latest version
- **OS**: macOS, Linux, or Windows (WSL recommended)
### Development Environment
- **IDE**: VS Code, Cursor, or compatible editor
- **Terminal**: Bash, Zsh, or PowerShell
- **Browser**: Chrome (for MCP integration)
## ๐ Installation Methods
### Method 1: NPM Global Installation (Recommended)
```bash
# Install globally for system-wide access
npm install -g versatil-sdlc-framework
# Verify installation
versatil --version
# Initialize in new project
mkdir my-project && cd my-project
versatil init
# Or initialize in existing project
cd existing-project
versatil init --existing
```
### Method 2: Clone from GitHub
```bash
# Clone the repository
git clone https://github.com/versatil-platform/versatil-sdlc-framework.git
cd versatil-sdlc-framework
# Install dependencies
npm install
# Build the framework
npm run build
# Link for global usage (optional)
npm link
# Test installation
npm test
```
### Method 3: NPX (No Installation)
```bash
# Use directly without installation
npx versatil-sdlc-framework init
# For existing projects
cd your-project
npx versatil-sdlc-framework init --existing
```
## โ๏ธ Configuration
### 1. Basic Setup
After installation, initialize VERSATIL in your project:
```bash
# Navigate to your project
cd your-project
# Initialize VERSATIL framework
versatil init
# Follow the interactive setup wizard
? Project type: (Frontend/Backend/Full-stack/ML)
? Framework: (React/Vue/Node.js/Python/Other)
? Team size: (Solo/Small/Medium/Large)
? MCP tools: (Chrome/Shadcn/GitHub/All)
```
### 2. Framework Structure
VERSATIL creates the following structure:
```
your-project/
โโโ .versatil/ # Framework configuration
โ โโโ config.json # Main configuration
โ โโโ agents/ # Agent definitions
โ โ โโโ maria-qa.json # QA agent config
โ โ โโโ james-frontend.json # Frontend agent config
โ โ โโโ marcus-backend.json # Backend agent config
โ โ โโโ sarah-pm.json # PM agent config
โ โ โโโ alex-ba.json # BA agent config
โ โ โโโ dr-ai-ml.json # ML agent config
โ โโโ mcp/ # MCP tool configurations
โ โโโ chrome-mcp.json # Chrome MCP settings
โ โโโ shadcn-mcp.json # Shadcn MCP settings
โ โโโ github-mcp.json # GitHub MCP settings
โโโ .cursorrules # Cursor IDE integration
โโโ CLAUDE.md # OPERA methodology guide
โโโ versatil.log # Framework activity log
```
### 3. Environment Variables
Create a `.env` file in your project root:
```bash
# Framework settings
VERSATIL_LOG_LEVEL=info
VERSATIL_AUTO_ACTIVATE=true
VERSATIL_MCP_ENABLED=true
# Agent settings
VERSATIL_AGENT_TIMEOUT=30000
VERSATIL_CONTEXT_RETENTION=true
VERSATIL_QUALITY_GATES=strict
# MCP tool settings
CHROME_MCP_HEADLESS=false
CHROME_MCP_VIEWPORT=1920x1080
GITHUB_MCP_TOKEN=your_github_token
SHADCN_MCP_REGISTRY=@shadcn/ui
```
## ๐จ Framework Configuration
### Agent Configuration
Each agent can be customized in `.versatil/agents/`:
```json
// .versatil/agents/maria-qa.json
{
"name": "Maria-QA",
"role": "Quality Assurance Engineer",
"autoActivate": true,
"triggers": {
"filePatterns": ["*.test.js", "*.spec.ts", "**/__tests__/**"],
"keywords": ["test", "bug", "quality", "assert"],
"errorPatterns": ["failed", "error", "exception"]
},
"mcpTools": ["chrome_mcp", "playwright_mcp"],
"collaborators": ["James-Frontend", "Marcus-Backend"],
"qualityGates": {
"testCoverage": 80,
"accessibility": "WCAG-AA",
"performance": "lighthouse > 90"
}
}
```
### MCP Tool Configuration
Configure MCP tools in `.versatil/mcp/`:
```json
// .versatil/mcp/chrome-mcp.json
{
"name": "chrome_mcp",
"enabled": true,
"settings": {
"headless": false,
"viewport": { "width": 1920, "height": 1080 },
"timeout": 30000,
"screenshots": true,
"networkLogs": true
},
"testSuites": {
"smoke": ["basic-navigation", "core-functionality"],
"regression": ["full-user-journey", "edge-cases"],
"accessibility": ["wcag-compliance", "keyboard-navigation"]
}
}
```
## ๐ง IDE Integration
### VS Code Setup
Install the VERSATIL extension:
```bash
# Install via VS Code marketplace
code --install-extension versatil.versatil-sdlc
# Or via settings.json
{
"versatil.autoActivate": true,
"versatil.logLevel": "info",
"versatil.mcpIntegration": true
}
```
### Cursor IDE Setup
VERSATIL automatically creates `.cursorrules` for Cursor integration:
```yaml
# .cursorrules - Auto-generated by VERSATIL
agent_activation:
frontend_files: ["*.tsx", "*.jsx", "*.vue"]
agent: "James-Frontend"
context: "UI/UX optimization, component design"
test_files: ["*.test.*", "*.spec.*"]
agent: "Maria-QA"
context: "Quality assurance, automated testing"
backend_files: ["*.api.*", "*.service.*"]
agent: "Marcus-Backend"
context: "API design, database optimization"
```
## ๐งช Verification & Testing
### 1. Framework Health Check
```bash
# Run comprehensive health check
versatil health
# Expected output:
โ
Framework Status: OPERATIONAL
โ
Agents: 6/6 configured
โ
MCP Tools: 3/3 connected
โ
IDE Integration: Active
โ
Context System: Ready
โ
Quality Gates: Enforced
```
### 2. Agent Activation Test
```bash
# Test agent auto-activation
echo "describe('test', () => {})" > test.spec.js
# Maria-QA should auto-activate
# Check logs: tail -f versatil.log
```
### 3. MCP Integration Test
```bash
# Test Chrome MCP integration
versatil test mcp --tool=chrome
# Expected output:
๐ฏ MARIA (QA): Chrome MCP integration test
๐ Opening browser session...
โ
Navigation successful
โ
Snapshot captured
โ
Test execution complete
```
## ๐จ Troubleshooting
### Common Issues
**Issue**: `versatil: command not found`
```bash
# Solution: Reinstall globally
npm uninstall -g versatil-sdlc-framework
npm install -g versatil-sdlc-framework
```
**Issue**: Agents not auto-activating
```bash
# Check configuration
versatil config --validate
# Reset configuration
versatil init --reset
```
**Issue**: MCP tools not connecting
```bash
# Check MCP status
versatil mcp status
# Restart MCP services
versatil mcp restart
```
**Issue**: Permission errors
```bash
# Fix permissions (macOS/Linux)
sudo chown -R $(whoami) ~/.npm
sudo chown -R $(whoami) /usr/local/lib/node_modules
```
### Debug Mode
Enable detailed logging for troubleshooting:
```bash
# Set debug environment
export VERSATIL_DEBUG=true
export VERSATIL_LOG_LEVEL=debug
# Run with verbose output
versatil init --verbose
# Check debug logs
tail -f versatil.debug.log
```
### Support Channels
- ๐ง **Email**: support@versatil-platform.com
- ๐ฌ **Discord**: [VERSATIL Community](https://discord.gg/versatil)
- ๐ **Issues**: [GitHub Issues](https://github.com/versatil-platform/versatil-sdlc-framework/issues)
- ๐ **Docs**: [Full Documentation](https://docs.versatil-platform.com)
## ๐ Next Steps
After successful installation:
1. **Read the [Quick Start Guide](../README.md#quick-start)**
2. **Explore [Agent Reference](./AGENTS.md)**
3. **Learn [MCP Integration](./MCP.md)**
4. **Try [Example Projects](../examples/)**
5. **Join the [Community](https://discord.gg/versatil)**
---
**Congratulations! ๐ Your VERSATIL Framework is ready to revolutionize your development workflow.**