supernal-coding
v1.1.1
Published
Complete development workflow management system with AI agent integration
Maintainers
Readme
Supernal Code
Complete development workflow management system with AI agent integration, requirements tracking, and automated validation.
🚀 Quick Start
Global Installation (Recommended)
npm install -g supernal-codeLocal Installation
npm install --save-dev supernal-codeInitialize a Project
# Global installation
sc init
# Local installation
npx sc init✨ Features
- 🎯 Requirements Management: Create, track, and validate requirements with Gherkin scenarios
- 📊 Test Coverage: Line-item validation of acceptance criteria
- 🤖 AI Agent Integration: Seamless handoffs and collaboration workflows
- 🔄 Git Integration: Smart commit validation and workflow automation
- 📋 Kanban Workflow: Priority-based task management and epic organization
- 🏗️ Project Templates: Automated setup for different project types
- 📈 Progress Tracking: Real-time visibility into project status
📚 Commands
Core Commands
sc init [type] # Initialize project (general, monorepo, library, etc.)
sc status # Show project health and status
sc req new <title> # Create a new requirement
sc req list # List all requirements
sc req validate <id> # Validate requirement completeness
sc req coverage-report # Generate test coverage report
sc workflow # Kanban workflow management
sc git-smart # Intelligent git operations
sc handoff # Create agent handoff documentationRequirements Management
# Create requirements
sc req new "User Authentication" --epic=auth --priority=high
sc req new "Fix Login Bug" --request-type=bug
# Manage requirements
sc req list --status=pending
sc req show 036
sc req validate 036
sc req generate-tests 036
sc req start-work 036
# Test coverage
sc req validate-coverage 036
sc req coverage-reportProject Types
Supernal Code supports automatic configuration for different project types:
- General: Standard project structure and workflows
- Monorepo: Multi-package coordination and shared configuration
- Library: API documentation and version management focus
- Application: Feature-driven development and deployment
- Microservice: Service-oriented architecture patterns
🎯 Project Initialization
When you run sc init, supernal-code will:
- Detect your project type and apply appropriate templates
- Create requirements structure with proper categorization
- Set up git workflow validation with smart commit hooks
- Generate project documentation (BUILDME.md, TESTME.md, AGENTIFYME.md)
- Configure development templates based on your tech stack
Example: Web Application
mkdir my-web-app
cd my-web-app
sc init application
# Creates:
# ├── .supernal-code/ # Configuration and templates
# ├── requirements/ # Requirements organized by category
# ├── BUILDME.md # Build instructions and guidelines
# ├── TESTME.md # Testing procedures and standards
# ├── AGENTIFYME.md # AI agent collaboration guide
# └── .git/hooks/ # Automated validation hooks🤖 AI Agent Integration
Supernal Code provides first-class support for AI agent collaboration:
AGENTIFYME.md
Every initialized project gets an AGENTIFYME.md file containing:
- Project context and architecture overview
- Development workflow and conventions
- Standard operating procedures for common tasks
- Communication protocols and handoff procedures
Agent Handoffs
sc handoff create "Feature implementation complete"
# Creates structured handoff documentation with:
# - Current project status
# - Completed work summary
# - Next steps and priorities
# - Context for the next agent📊 Requirements & Test Coverage
Line-Item Validation
Supernal Code analyzes acceptance criteria and maps them to tests:
sc req validate-coverage 036
# Shows:
# 📊 Coverage Analysis: REQ-036
# 📈 Overall Coverage: 85%
# 📋 Total Criteria: 12
# ✅ Tested Criteria: 10
# ❌ Untested Criteria: 2Project-Wide Coverage
sc req coverage-report
# Generates comprehensive report showing:
# - Total requirements vs tested requirements
# - Specific acceptance criteria coverage
# - Action items for improving coverage🔄 Git Integration
Smart Commit Validation
Pre-commit hooks automatically validate:
- Conventional commit message format
- Requirement file completeness
- Test coverage for requirement changes
- Code quality and standards
Branch Management
sc req start-work 036
# Creates: feature/req-036-[requirement-title]
# Updates requirement with branch info
# Provides guided next steps🏗️ Templates & Build Scripts
BUILDME.sh
AI-optimized build scripts with:
- Dual-mode output (AI-friendly minimal vs human-readable)
- Comprehensive smoke testing
- Configurable verbosity levels
- Error handling and status reporting
TESTME.sh
Comprehensive testing framework with:
- Multi-framework support (Jest, Mocha, Playwright, etc.)
- Coverage threshold validation
- Parallel execution capabilities
- Clear pass/fail feedback
📋 Configuration
Supernal Code automatically creates .supernal-code/config.json:
{
"projectType": "application",
"workflow": {
"requirementValidation": true,
"commitHooks": true,
"testCoverage": {
"threshold": 80,
"blockCommits": false
}
},
"agent": {
"handoffEnabled": true,
"contextTracking": true
}
}🚀 Development Workflow
- Initialize:
sc initsets up complete project structure - Plan:
sc req newcreates requirements with acceptance criteria - Validate:
sc req validateensures completeness - Implement:
sc req start-workbegins development - Test:
sc req validate-coveragetracks progress - Handoff:
sc handofftransfers context between agents/developers
🤝 Contributing
We welcome contributions! Please see our Contributing Guide for details.
📄 License
MIT © Supernal Technologies
🔗 Links
Built for developers and AI agents working together
