schrod-cli
v1.0.1
Published
AI-driven application framework CLI that displays hierarchical Schrödinger project structure for systematic development workflow
Maintainers
Readme
Schröd Framework
An AI-driven application development framework that implements a hierarchical "Schrödinger project structure" for systematic development workflow. Features both CLI tool and VS Code extension for comprehensive project management.
Features
- Hierarchical Schrödinger Structure: 4-level hierarchy (App → Domain → Feature → Ticket)
- AI-Driven Development: Context-aware AI model selection and automatic code generation
- Dual Interface: CLI tool and VS Code extension for different development preferences
- Pattern-Based AI Selection: Automatic AI model routing based on node patterns
- Parallel Execution: Dependency-aware parallel execution of tickets
- Progress Tracking: Real-time status monitoring and execution metrics
Framework Architecture
The Schröd Framework enforces a strict 4-level hierarchy where each development task exists in quantum-like superposition states:
Level 1 (App): ProjectName@Schröd
├── Level 2 (Domain): Schröd.ui | Schröd.logic | Schröd.test
├── Level 3 (Feature): FeatureName@Schröd.[domain]
└── Level 4 (Ticket): TaskName@Schröd.ticketNode States
- Pending: Task not yet started (superposition state)
- Running: Currently being executed by AI
- Completed: Successfully implemented
- Failed: Execution failed, requires attention
Installation
VS Code Extension
- Install from VS Code Marketplace (search "Schröd Framework")
- Open any project in VS Code
- Look for "Schröd Explorer" in the sidebar
CLI Tool
npm install -g schrod-cliCore Commands
VS Code Extension Commands
Schröd: Initialize Project- Set up hierarchical project structureSchröd: Create App Spec- Define application requirements from ideasSchröd: Decompose to UI/Logic- Break down into UI/Logic/Test domainsSchröd: Add Feature- Add features to specific domainsSchröd: Create Tickets- Generate implementation tickets from featuresSchröd: Run- Execute individual nodes with AISchröd: Run All Tickets- Execute all tickets with dependency resolutionSchröd: Status- Show project progress and metricsSchröd: Resume Failed- Retry failed executions
CLI Commands
schrod init <project-name> # Initialize new project
schrod run <node-pattern> # Execute nodes matching pattern
schrod status # Show project statusAI Integration
The framework supports multiple AI providers with intelligent routing:
Default Configuration
{
"defaultAI": "claude-sonnet-4",
"aiOverrides": {
"**/*@Schröd.ui/**": "claude-haiku",
"**/*@Schröd.logic/**": "claude-sonnet-4",
"**/*@Schröd.test/**": "gpt-4"
},
"outputDir": "src",
"parallelExecutions": 3
}Supported AI Models
- Claude Sonnet 4 (complex logic, architecture decisions)
- Claude Haiku (UI components, simple implementations)
- GPT-4 (testing, documentation)
- Claude Opus (complex system design)
Development Workflow
- Initialize: Create project with
Schröd: Initialize Project - Specify: Define app idea with
Schröd: Create App Spec - Decompose: Break into domains with
Schröd: Decompose to UI/Logic - Add Features: Create features with
Schröd: Add Feature - Create Tickets: Generate tickets with
Schröd: Create Tickets - Execute: Run implementation with
Schröd: Run All Tickets
Configuration Files
Each node maintains specification files:
idea.md- Initial concept descriptionrequirements.md- Detailed requirementsdesign.md- Design specificationsspec.md- Implementation specifications
VS Code Settings
{
"schrod.showDefaultStructure": true,
"schrod.defaultAI": "claude-sonnet-4"
}Requirements
- VS Code 1.74.0 or higher (for extension)
- Node.js 18.0.0 or higher
- AI API keys (Claude, OpenAI, etc.)
Framework Philosophy
The Schröd Framework treats development tasks as quantum-like entities that exist in superposition until "observed" (executed) by AI systems. This approach enables:
- Systematic Development: Enforced hierarchical structure
- AI-First Implementation: Heavy reliance on AI for code generation
- Domain Separation: Clear separation of UI, logic, and testing concerns
- Progressive Refinement: From high-level ideas to specific implementation
Contributing
Visit our GitHub repository for documentation, issues, and contributions.
License
MIT License - see LICENSE file for details.
