Package Exports
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (scene-capability-engine) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
SCE - Scene Capability Engine
â ī¸ Important Clarification:
scene-capability-engine(sce) is an npm package and CLI tool for spec-driven development.
It is NOT the Kiro IDE desktop application. If you're looking for Kiro IDE, visit https://kiro.dev Legacy/compatibility commandssco,kse, andkiro-spec-engineremain available.
A context provider for AI coding tools - Structure your project requirements, design, and tasks so AI assistants can help you build better software.
đ NEW: Autonomous Control - Let AI independently manage entire development workflows from requirements to delivery.
English | įŽäŊ䏿
What is sce?
SCE (Scene Capability Engine) is a context management system for AI-assisted development. It helps you organize project information into structured "Specs" (Requirements â Design â Tasks) that AI tools can understand and use effectively.
Think of sce as a librarian for your AI assistant - it organizes and presents project context so your AI tool knows exactly what you're building, why, and how.
How it Works
graph LR
A[You create Specs] --> B[sce organizes context]
B --> C[AI tool reads context]
C --> D[AI generates better code]- You create Specs - Write requirements, design, and tasks in structured markdown files
- sce organizes context - Exports formatted context optimized for AI tools
- AI tool reads context - Your AI assistant understands your project structure
- AI generates better code - Code that matches your design and requirements
What sce is NOT
- â Not a code generator - sce doesn't write code; your AI tool does
- â Not an IDE - sce works alongside your existing development tools
- â Not AI-specific - Works with Claude, Cursor, Windsurf, Copilot, and any AI tool
- â Not a replacement for documentation - It's a structured way to organize project context
Who Should Use sce?
- â Developers using AI coding assistants (Claude, Cursor, Copilot, etc.)
- â Teams wanting structured project documentation
- â Anyone building features that need clear requirements and design
- â Projects that benefit from spec-driven development
Why sce Wins in AI Delivery
| Advantage | sce Capability | Practical Impact |
|---|---|---|
| Structure-first execution | Requirements â Design â Tasks + gate checks | Lower rework and fewer requirement drifts |
| Autonomous close-loop delivery | One-command close loop (auto close-loop) |
No step-by-step confirmation waits |
| Multi-agent scale-out | DAG orchestration (orchestrate run/status/stop) |
Parallel delivery without manual terminal juggling |
| Auto portfolio decomposition | Master/Sub spec split + dependency wiring | Complex goals become executable parallel plans automatically |
| Program self-healing closure | auto close-loop-program auto recovery + learned remediation memory |
Failed/partial runs continue autonomously until bounded convergence |
| Queue-driven autonomous runtime | auto close-loop-controller persistent queue drain |
Program-scale backlogs continue without manual re-triggering |
| Autonomous convergence governance | Program gate (min-success-rate + max-risk-level) + audit JSON output |
Program completion is policy-verified and traceable |
| Measurable outcomes | KPI automation (value metrics snapshot/baseline/trend) |
Delivery quality can be tracked week-over-week |
| Tool-agnostic adoption | Works across Claude/Cursor/Windsurf/Copilot/Kiro | No lock-in to a single AI IDE |
| Built-in governance | Docs governance, lock management, audit, env/workspace controls | Team collaboration stays auditable and stable |
90-Second Value Proof
# 1) Adopt sce in current repo
sce adopt
# 2) Generate Spec workflow draft
sce spec bootstrap --name 01-00-demo-feature --non-interactive
# 3) Generate KPI input sample
sce value metrics sample --out ./kpi-input.json --json
# 4) Produce machine-readable KPI snapshot
sce value metrics snapshot --input ./kpi-input.json --jsonQuick Start
The Simplest Way (30 seconds) âĄ
Just tell your AI:
Install sce and use it to manage this project with Spec-driven development.Your AI will:
- Install sce globally (
npm install -g scene-capability-engine) - Adopt it in your project (
sce adopt) - Read the methodology guide (
.kiro/README.md) - Start working according to Spec-driven approach
That's it! Your AI handles everything. No manual steps needed.
Step-by-Step Guide (if you want details) đ
Click to expand detailed steps
Step 1: Install sce (30 seconds)
npm install -g scene-capability-engineVerify installation:
sce --versionStep 2: Adopt sce in Your Project (30 seconds)
Navigate to your project directory and run:
cd your-project
sce adoptThis creates a .kiro/ directory with:
README.md- Project development guide for AIspecs/- Where your Specs livesteering/- Development rules (optional)
Step 3: Tell Your AI About the Methodology (30 seconds)
In your AI tool (Cursor, Claude, Windsurf, Kiro, etc.), say:
Please read .kiro/README.md to understand how this project works.Your AI will learn:
- This project follows Spec-driven development
- Every feature starts with a Spec (requirements + design + tasks)
- How to work with this methodology
- When to use sce commands
Step 4: Start Building Features
Just ask your AI to implement features naturally:
I need a user login feature with email and password.Your AI will automatically:
- Create a Spec with requirements, design, and tasks
- Implement according to the Spec
- Update task status as work progresses
- Use sce commands internally (you don't need to run them)
Example conversation:
- You: "I need user login with email and password"
- AI: "I'll create a Spec for this. Let me define the requirements..."
- AI: "Here's the design... Now I'll implement task 1.1..."
- AI: "Task 1.1 complete. Moving to task 1.2..."
Key insight: You don't "use sce" - your project "follows Spec-driven methodology" and sce helps enforce it. The AI handles all the sce commands for you.
Step 5: Next Steps (30 seconds)
- đ Read the Quick Start Guide for detailed examples
- đ§ Check your tool's integration guide: Cursor | Claude | Windsurf
- đĄ Learn about Integration Modes
Core Concepts
Specs
A Spec is a structured description of a feature or project component. Each Spec contains:
- Requirements (
requirements.md) - What you're building and why - Design (
design.md) - How you'll build it (architecture, APIs, components) - Tasks (
tasks.md) - Step-by-step implementation checklist
Context Export
Context export transforms your Spec into a format optimized for AI tools. It includes:
- All requirements, design decisions, and tasks
- Project structure and conventions
- Steering rules (optional) for AI behavior
Integration Modes
sce supports three ways to work with AI tools:
- Native Integration - AI tool directly accesses sce (Kiro IDE)
- Manual Export - You export and paste context (Claude, ChatGPT, Cursor)
- Watch Mode - Automatic context updates on file changes (all tools)
Learn more: Integration Modes Guide
Integration with Your AI Tool
sce works with any AI coding assistant. Choose your tool for specific guidance:
Popular AI Tools
- Cursor - IDE with AI pair programming
- Claude Code - Anthropic's coding assistant
- Windsurf - AI agent with command execution
- Kiro - Native integration, no manual export needed
- VS Code + Copilot - GitHub Copilot integration
- Generic AI Tools - Works with any AI assistant
Integration Workflow
sequenceDiagram
participant You
participant AI Tool
participant sce
You->>AI Tool: "I have a Spec for user-login, implement task 1.1"
AI Tool->>sce: sce context export user-login
sce->>AI Tool: Spec content (requirements, design, tasks)
AI Tool->>AI Tool: Generate code following Spec
AI Tool->>You: Here's the implementation
AI Tool->>sce: Update tasks.md (mark task complete)Key insight: You stay in your AI tool. The AI reads the Spec and generates code that matches your design.
Documentation
Getting Started
- đ Quick Start Guide - Detailed 5-minute tutorial
- đ¤ FAQ - Frequently asked questions
- đ§ Troubleshooting - Common issues and solutions
Core Guides
- đ Spec Workflow - Understanding Specs in depth
- đĸ Spec Numbering Strategy - How to number your Specs
- đ Document Governance - Automated document management
- đ Environment Management - Multi-environment configuration
- đĻ Multi-Repository Management - Manage multiple Git repositories
- đ Scene Runtime - Template engine, quality pipeline, ontology, Moqui ERP
- đ¤ Multi-Agent Coordination - Parallel agent coordination
- đ Value Observability - KPI snapshot, baseline, trend, gate-ready evidence
- đ Integration Modes - Three ways to integrate sce
- đ Command Reference - All sce commands
Tool-Specific Guides
- Cursor Integration
- Claude Code Integration
- Windsurf Integration
- Kiro Integration
- VS Code + Copilot Integration
- Generic AI Tools
Examples
- API Feature Example - RESTful API Spec
- UI Feature Example - React dashboard Spec
- CLI Feature Example - CLI command Spec
Advanced Topics
- Adoption Guide - Adopting sce in existing projects
- Upgrade Guide - Version upgrade instructions
- Release Archive - Versioned release notes and validation report index
- Release Notes v1.46.2 - Current release highlights and impact
- Validation Report v1.46.2 - Release-readiness evidence and verification results
- Release Checklist - Repeatable pre-release verification flow
- Manual Workflows - Step-by-step workflows
- Developer Guide - Contributing and extending sce
Complete Documentation
- đ Documentation Index - All documentation in one place
Key Features
Autonomous Control đ NEW in v1.23.0
- Fully Autonomous Execution: AI independently manages entire development workflows from requirements to delivery
- Closed-Loop Program Execution:
sce auto close-loop "<goal>"runs from goal decomposition to terminal orchestration state without manual confirmation gates - Automatic Master/Sub Portfolio Split: Large goals are auto-split into dependency-wired sub-specs and coordinated by a master spec
- Semantic Decomposition + Live Stream: Clause/category-aware goal parsing plus live orchestration status stream (disable via
--no-stream) - Session Resume + Retention Hygiene: Resume interrupted runs with
--resume interrupted(or--resume latest) and maintain archives viasce auto session list/prune,sce auto batch-session list/prune, andsce auto controller-session list/prune - Intelligent Error Recovery: Automatically diagnose and fix errors with 3 retry attempts and learning system
- Strategic Checkpoints: Pause only at meaningful milestones (phase boundaries, fatal errors, external resources)
- Continuous Task Execution: Execute multiple tasks without interruption between individual tasks
- Learning System: Improve over time by learning from successful and failed recovery strategies
- Safety Boundaries: Respect workspace boundaries, require confirmation for production/external operations
- Three Execution Modes: Conservative (safe), Balanced (default), Aggressive (fast)
- Progress Tracking: Real-time status, estimated completion time, detailed execution reports
- Rollback Support: Create checkpoints and rollback to previous states if needed
- CORE_PRINCIPLES Compliance: Follows Spec-driven development, file management, and quality standards
Quick Start:
# Decompose one broad goal into master/sub specs and run to closure
sce auto close-loop "build autonomous close-loop and master/sub multi-spec execution for sce"
# Create and execute a feature autonomously
sce auto create "user authentication with JWT tokens"
# Run existing Spec autonomously
sce auto run 33-00-ai-autonomous-control
# Check status
sce auto status
# Resume after pause
sce auto resumeLearn more about Autonomous Control â
Spec-Driven Development
Structure your work with Requirements â Design â Tasks workflow
KPI Automation & Observability đ NEW in v1.46.2
- Unified Metric Contract: Load and validate KPI definitions from
metric-definition.yaml - Weekly Snapshot Pipeline: Generate machine-readable snapshots with risk level and audit reasons
- Baseline and Trend Analysis: Build baseline from historical data and detect worsening trends automatically
- Gate-Ready Summary: Emit Day30/Day60-consumable summary payloads with evidence paths
- CLI Commands:
value metrics sample,value metrics snapshot,value metrics baseline,value metrics trendwith--jsonsupport
Multi-Workspace Management đ NEW in v1.11.0
- Workspace Registry: Manage multiple sce projects from a single location
- Quick Switching: Switch between projects without directory navigation
- Data Atomicity: Single source of truth (
~/.kse/workspace-state.json) - Cross-Platform: Consistent path handling across Windows/Linux/macOS
- Auto Migration: Seamless upgrade from legacy workspace format
Environment Configuration Management đ NEW in v1.14.0
- Environment Registry: Manage multiple environment configurations (dev, test, staging, prod)
- Quick Switching: Switch between environments with automatic backup
- Automatic Backup: Create timestamped backups before each switch
- Rollback Support: Restore previous environment configuration instantly
- Verification: Validate environment configuration after switching
- Command Execution: Run commands in specific environment context
- Cross-Platform: Works seamlessly on Windows, Linux, and macOS
Multi-Repository Management đ NEW in v1.20.0
- Unified Interface: Manage multiple Git subrepositories from a single command
- Auto-Discovery: Automatically scan and configure all Git repositories in your project
- Nested Repository Support: Discover and manage Git repositories nested inside other repositories
- Parent-Child Tracking: Track relationships between parent and nested repositories
- Batch Operations: Execute Git commands across all repositories simultaneously
- Status Overview: View status of all repositories in a single table with parent relationships
- Health Checks: Verify repository configuration and connectivity
- Cross-Platform: Consistent path handling across Windows/Linux/macOS
- Smart Exclusions: Automatically skip common non-repository directories (node_modules, build, etc.)
Moqui ERP Integration đ NEW in v1.39.0
- Moqui ERP Adapter: Connect KSE scene runtime to live Moqui ERP instances
MoquiClientâ HTTP client with JWT auth lifecycle (login, refresh, re-login, logout) and retry logicMoquiAdapterâ Binding handler forspec.erp.*andmoqui.*refs, entity CRUD, service invocation, screen discovery
- Scene Template Extractor (v1.40.0): Analyze Moqui resources, identify business patterns, generate reusable scene templates
- Entity grouping by Header/Item suffix patterns (e.g., OrderHeader + OrderItem â composite)
- Pattern-based manifest generation with governance contracts
- CLI Commands:
scene connect,scene discover,scene extractwith--jsonsupport
Multi-Agent Parallel Coordination đ NEW in v1.43.0
- Agent Registry: MachineIdentifier-based agent lifecycle with heartbeat monitoring and inactive cleanup
- Task Lock Manager: File-based task locking with atomic operations, single-agent backward compatibility
- Task Status Store: Concurrent-safe task status updates with exponential backoff retry
- Steering File Lock: Write serialization with pending-file degradation fallback
- Merge Coordinator: Git branch isolation per agent (
agent/{agentId}/{specName}), conflict detection, auto-merge - Central Coordinator: Dependency-driven ready task computation, task assignment, progress tracking
- Zero Overhead: All components are no-ops in single-agent mode (full backward compatibility)
Learn more about Multi-Agent Coordination â
Agent Orchestrator đ NEW in v1.45.0
- Automated Multi-Agent Spec Execution: Replace manual multi-terminal workflows with a single command
- DAG-Based Scheduling: Analyze Spec dependencies, compute execution batches via topological sort
- Parallel Execution: Run up to N Specs simultaneously via Codex CLI sub-agents (
--max-parallel) - Failure Propagation: Failed Spec's dependents automatically marked as skipped
- Retry Mechanism: Configurable automatic retry for failed Specs
- Real-Time Monitoring: Track per-Spec status and overall orchestration progress
- Graceful Termination: Stop all sub-agents cleanly (SIGTERM â SIGKILL)
- Configurable: Codex command, args, parallelism, timeout, retries via
.kiro/config/orchestrator.json
Quick Start:
# Run 3 Specs in parallel via Codex CLI
sce orchestrate run --specs "spec-a,spec-b,spec-c" --max-parallel 3
# Check orchestration progress
sce orchestrate status
# Stop all sub-agents
sce orchestrate stopTip: sce spec bootstrap|pipeline run|gate run --specs ... now defaults to this orchestrate mode automatically.
Recommended Codex-Orchestrator config (.kiro/config/orchestrator.json):
{
"agentBackend": "codex",
"maxParallel": 3,
"timeoutSeconds": 900,
"maxRetries": 2,
"rateLimitMaxRetries": 6,
"rateLimitBackoffBaseMs": 1000,
"rateLimitBackoffMaxMs": 30000,
"rateLimitAdaptiveParallel": true,
"rateLimitParallelFloor": 1,
"rateLimitCooldownMs": 30000,
"apiKeyEnvVar": "CODEX_API_KEY",
"codexArgs": ["--skip-git-repo-check"],
"codexCommand": "npx @openai/codex"
}If Codex CLI is globally installed, you can set "codexCommand": "codex".
Use the rateLimit* settings to absorb transient 429/too-many-requests failures without stalling orchestration.
Spec-Level Steering & Context Sync đ NEW in v1.44.0
- Spec Steering (L4): Independent
steering.mdper Spec with constraints, notes, and decisions â zero cross-agent conflict - Steering Loader: Unified L1-L4 four-layer steering loader with priority-based merging
- Context Sync Manager: Multi-agent friendly CURRENT_CONTEXT.md with structured Spec progress table, concurrent-safe updates
- Spec Lifecycle Manager: State machine (planned â assigned â in-progress â completed â released) with auto-completion detection
- Sync Barrier: Agent Spec-switch synchronization â uncommitted change check + steering reload
- Coordinator Integration: Auto Spec completion check on task complete, SyncBarrier on task assign
Scene Ontology Enhancement đ NEW in v1.42.0
- OntologyGraph: Semantic relationship graph for binding refs (depends_on, composes, extends, produces)
- Action Abstraction: Intent, preconditions, postconditions per binding for AI agent understanding
- Data Lineage: Source â transform â sink tracking in governance_contract
- Agent-Ready Metadata:
agent_hintsfield with summary, complexity, duration, permissions, sequence - Agent Readiness Score: Bonus quality dimension (max +10 points)
- CLI Commands:
scene ontology show|deps|validate|actions|lineage|agent-infowith--jsonsupport
Scene Template Quality Pipeline đ NEW in v1.41.0
- Template Lint Engine: 10-category quality checks for scene packages (manifest completeness, binding refs, governance, consistency, variables, documentation, action abstraction, data lineage, agent hints)
- Quality Score Calculator: 4-dimension scoring + agent_readiness bonus (contract validity, lint pass rate, documentation quality, governance completeness + agent readiness max +10) with 0-100+ scale
- One-Stop Contribute Pipeline: Validate â Lint â Score â Preview â Publish in a single command
- CLI Commands:
scene lint,scene score,scene contributewith--strict,--dry-run,--skip-lint,--jsonsupport
Scene Template Engine đ NEW in v1.25.0
- Template Variable Schema: Define typed variables (string, number, boolean, enum, array) with validation rules in scene-package.json
- Multi-File Rendering: Recursive template processing with
{{variable}}substitution,{{#if}}conditionals,{{#each}}loops - Three-Layer Inheritance: L1-Capability / L2-Domain / L3-Instance package hierarchy with schema and file merging
- CLI Commands:
scene template-validate,scene template-resolve,scene template-renderwith--jsonsupport
Spec-Level Collaboration đ NEW in v1.22.0
- Parallel Development: Enable multiple AI instances to work on different Specs simultaneously
- Dependency Management: Define and track dependencies between Specs with circular dependency detection
- Interface Contracts: Formal API definitions ensuring compatibility between independently developed Specs
- Status Tracking: Monitor progress and assignments across all Specs in real-time
- Integration Testing: Run cross-Spec integration tests to verify modules work together
- Dependency Visualization: View dependency graphs with critical path highlighting
- Backward Compatible: Opt-in system that doesn't affect existing single-Spec workflows
Learn more about Spec-Level Collaboration â
Spec Locking Mechanism đ NEW
- Multi-User Coordination: Prevent conflicts when multiple developers work on the same Spec
- Machine Identification: Unique machine IDs for accurate lock ownership tracking
- Stale Lock Detection: Automatic detection and cleanup of abandoned locks (default: 24h timeout)
- Lock Status Integration: View lock status in
sce statusoutput - Force Unlock: Override locks when necessary with
--forceflag - Backward Compatible: Locking is optional and doesn't affect existing workflows
Quick Start:
# Acquire a lock before editing
sce lock acquire my-feature --reason "Implementing auth module"
# Check lock status
sce lock status
# Release when done
sce unlock my-feature
# Clean up stale locks
sce lock cleanup
# View your machine ID
sce lock whoamiDevOps Integration Foundation đ
- Operations Spec Management: Standardized operations documentation (deployment, monitoring, troubleshooting, etc.)
- Progressive AI Autonomy: L1-L5 takeover levels for gradual AI operations control
- Audit Logging: Tamper-evident audit trail with SHA-256 integrity verification
- Feedback Integration: Automated user feedback processing and analytics
- Permission Management: Environment-based security controls (dev, test, pre-prod, prod)
- Operations Validation: Complete spec validation with clear error reporting
Document Governance
- Automated document lifecycle management
- Clean project structure enforcement
- Temporary file cleanup
- Artifact organization
- Git hooks for compliance
Multi-User Collaboration
- Personal workspaces for team members
- Task claiming and tracking
- Workspace synchronization
Cross-Tool Compatibility
Export context for Claude Code, Cursor, Windsurf, Copilot, and more
Watch Mode Automation
Automatic file monitoring and context updates
Quality Enhancement
- Document quality scoring (0-10 scale)
- Intelligent improvement suggestions
- Professional standards enforcement
Multi-Language Support
English and Chinese interfaces
Command Overview
# Project setup
sce adopt # Adopt sce in existing project
sce create-spec <name> # Legacy: create empty Spec folder only
# Autonomous close-loop program (one command, no confirmation loop)
sce auto close-loop "<goal>" # Auto split goal into master/sub specs and execute to closure
sce auto close-loop --resume interrupted # Resume from latest non-completed close-loop session
sce auto close-loop continue # Shorthand: continue latest interrupted close-loop session
sce auto continue # Shortcut command: continue latest interrupted close-loop session
sce auto close-loop "<goal>" --dry-run --json # Preview decomposition plan only
sce auto close-loop-program "<goal>" --program-govern-until-stable --program-govern-use-action 1 --json # Program-level recovery + governance with remediation action execution
sce auto close-loop-controller .kiro/auto/program-queue.lines --wait-on-empty --dequeue-limit 2 --json # Queue-driven autonomous controller for broad-goal backlogs
sce auto close-loop-controller --controller-resume latest --json # Resume autonomous controller from latest persisted checkpoint
sce auto controller-session list --limit 50 --json # Inspect persisted close-loop-controller summary sessions
sce auto controller-session prune --keep 20 --older-than-days 14 --dry-run --json # Prune old controller summaries by retention policy
sce auto observability snapshot --days 14 --json # Unified autonomous observability snapshot (sessions + governance + trend)
sce auto spec status 121-00-master --json # Agent-facing structured spec status interface
sce auto spec instructions 121-02-sub-track --json # Agent-facing execution instructions for one spec
sce auto schema check --json # Check autonomous archive schema compatibility
sce auto schema migrate --apply --json # Backfill/migrate schema_version for autonomous archives
# Spec workflow (recommended)
sce spec bootstrap --name <spec> --non-interactive # Generate requirements/design/tasks draft
sce spec pipeline run --spec <spec> # Run staged workflow for one Spec
sce spec gate run --spec <spec> --json # Run standardized Spec gate checks
sce spec bootstrap --specs "<spec-a,spec-b>" --max-parallel <N> # Multi-Spec defaults to orchestrate
sce spec pipeline run --specs "<spec-a,spec-b>" --max-parallel <N> # Multi-Spec defaults to orchestrate
sce spec gate run --specs "<spec-a,spec-b>" --max-parallel <N> # Multi-Spec defaults to orchestrate
# Context management
sce context export <spec-name> # Export context for AI tools
sce prompt generate <spec> <task> # Generate task-specific prompt
# KPI automation and observability (NEW in v1.46.2)
sce value metrics sample --out <path> --json # Generate sample KPI input JSON
sce value metrics snapshot --input <path> --json # Generate weekly KPI snapshot + gate summary
sce value metrics baseline --from-history <N> --json # Build baseline from earliest N snapshots
sce value metrics trend --window <N> --json # Analyze trend/risk from latest N snapshots
sce auto kpi trend --weeks 8 --period week --json # Aggregate autonomous delivery KPI trend (weekly/daily buckets + anomalies)
sce auto kpi trend --weeks 8 --period day --csv --out <path> # Export autonomous KPI trend as CSV
sce auto kpi trend --weeks 8 --mode controller --json # Filter trend to close-loop-controller sessions only
# Workspace management (NEW in v1.11.0)
sce workspace create <name> [path] # Register a new workspace
sce workspace list # List all workspaces
sce workspace switch <name> # Switch active workspace
sce workspace info [name] # Show workspace details
sce workspace remove <name> # Remove workspace
# Environment management (NEW in v1.14.0)
sce env list # List all environments
sce env switch <name> # Switch to environment (with backup)
sce env info # Show active environment details
sce env register <config-file> # Register new environment
sce env unregister <name> # Remove environment
sce env rollback # Rollback to previous environment
sce env verify # Verify current environment
sce env run "<command>" # Run command in environment context
# Multi-repository management (NEW in v1.20.0)
sce repo init [--nested] # Initialize repository configuration (nested scanning by default)
sce repo init --no-nested # Initialize without nested repository scanning
sce repo status [--verbose] # Show status of all repositories (including nested)
sce repo exec "<command>" # Execute command in all repositories
# Spec-level collaboration (NEW in v1.22.0)
sce collab init <master> [options] # Initialize Master Spec with Sub-Specs
sce collab status [spec] [--graph] # Display collaboration status
sce collab assign <spec> <kiro> # Assign Spec to Kiro instance
sce collab verify <spec> # Verify interface contracts
sce collab integrate <specs...> # Run integration tests
sce collab migrate <spec> # Convert standalone Spec to collaborative
sce repo health # Check repository health
# Scene template engine (NEW in v1.25.0)
sce scene template-validate --package <path> # Validate template variable schema
sce scene template-resolve --package <name> # Resolve inheritance chain and merged schema
sce scene template-render --package <name> --values <json> --out <dir> # Render template files
# Moqui ERP integration (NEW in v1.39.0)
sce scene connect --config <path> # Test connectivity to Moqui ERP instance
sce scene discover --config <path> # Discover entities, services, screens from Moqui
sce scene extract --config <path> --out <dir> # Extract scene templates from Moqui (v1.40.0)
# Scene template quality pipeline (NEW in v1.41.0)
sce scene lint --package <path> # Lint scene package for quality issues
sce scene score --package <path> # Calculate quality score (0-100)
sce scene contribute --package <path> # One-stop validate â lint â score â publish
# Scene ontology (NEW in v1.42.0)
sce scene ontology show --package <path> # Show ontology graph
sce scene ontology deps --ref <ref> # Query dependency chain
sce scene ontology impact --ref <ref> # Analyze reverse impact radius
sce scene ontology path --from <ref> --to <ref> # Query shortest ontology relation path
sce scene ontology validate --package <path> # Validate graph consistency
sce scene ontology actions --ref <ref> # Show action abstraction
sce scene ontology lineage --ref <ref> # Show data lineage
sce scene ontology agent-info --package <path> # Show agent hints
sce scene contribute --package <path> # One-stop validate â lint â score â publish
# Agent orchestration (NEW in v1.45.0)
sce orchestrate run --specs "<spec-list>" --max-parallel <N> # Start multi-agent orchestration
sce orchestrate status # View orchestration progress
sce orchestrate stop # Stop all sub-agents
# DevOps operations
sce ops init <project-name> # Initialize operations specs
sce ops validate [<project>] # Validate operations completeness
sce ops audit [options] # Query audit logs
sce ops takeover <action> # Manage AI takeover levels
sce ops feedback <action> # Manage user feedback
# Task management
sce task claim <spec> <task-id> # Claim a task
sce task list <spec> # List claimed tasks
# Spec locking (multi-user collaboration)
sce lock acquire <spec-name> # Acquire lock on a Spec
sce lock release <spec-name> # Release lock (or use: sce unlock)
sce lock status [spec-name] # Show lock status
sce lock cleanup # Remove stale locks
sce lock whoami # Show machine identifier
sce unlock <spec-name> [--force] # Release lock (alias)
# Document governance
sce docs diagnose # Check document compliance
sce docs cleanup # Remove temporary files
sce docs validate # Validate document structure
sce docs archive --spec <name> # Organize Spec artifacts
sce docs hooks install # Install Git pre-commit hooks
# Automation
sce watch start # Start watch mode
sce watch status # Check watch status
# Project info
sce status # Project status
sce workflows # List available workflowsSee Command Reference for complete documentation.
Contributing & Support
Getting Help
- đ Documentation: Start with the Quick Start Guide
- đ Bug Reports: GitHub Issues
- đŦ Discussions: GitHub Discussions
Contributing
We welcome contributions! See our Contributing Guide for:
- Code contributions
- Documentation improvements
- Bug reports and feature requests
- Translation help
Development Setup
git clone https://github.com/heguangyong/scene-capability-engine.git
cd kiro-spec-engine
npm install
npm link # For local development
npm test # Run testsLicense
MIT License - see LICENSE file for details.
Acknowledgments
- Inspired by the Sisyphus myth and the concept of noble struggle
- Built on the foundation of Kiro spec-driven development
- Influenced by oh-my-opencode and the Ultrawork Manifesto
Ready to enhance your AI-assisted development? đ
npm install -g scene-capability-engine
sce adopt
sce spec bootstrap --name 01-00-my-first-feature --non-interactiveđŦ Community & Discussion
Join our community to discuss AI-driven development, Spec workflows, and best practices.
WeChat Group
Scan to add WeChat, note "sce" to join the group
Other Channels
- GitHub Discussions: Join Discussion
- Issues: Report Issues
Featured Article
đ The Philosophy and Practice of AI-Driven Development
A deep conversation about AI development trends, Neo-Confucian philosophy, and software engineering practices. Based on 2000+ hours of AI-assisted programming experience.
Also available on:
Version: 2.0.0
Last Updated: 2026-02-18