Reference Documentation
Complete technical reference for SpecFact CLI.
Available References
- Commands - Complete command reference with all options
- Architecture - Technical design, module structure, and internals
- Operational Modes - CI/CD vs CoPilot modes
- Specmatic API - Specmatic integration API reference (functions, classes, integration points)
- Telemetry - Opt-in analytics and privacy guarantees
- Feature Keys - Key normalization and formats
- Directory Structure - Project structure and organization
- Schema Versioning - Bundle schema versions and backward compatibility (v1.0, v1.1)
Quick Reference
Commands
specfact import from-bridge --adapter speckit- Import from external tools via bridge adapterspecfact import from-code <bundle-name>- Reverse-engineer plans from codespecfact plan init <bundle-name>- Initialize new development planspecfact plan compare- Compare manual vs auto plansspecfact enforce stage- Configure quality gatesspecfact repro- Run full validation suitespecfact sync bridge --adapter <adapter> --bundle <bundle-name>- Sync with external tools via bridge adapterspecfact spec validate [--bundle <name>]- Validate OpenAPI/AsyncAPI specificationsspecfact spec generate-tests [--bundle <name>]- Generate contract tests from specificationsspecfact spec mock [--bundle <name>]- Launch mock server for developmentspecfact init- Initialize IDE integration
Modes
- CI/CD Mode - Fast, deterministic execution
- CoPilot Mode - Enhanced prompts with context injection
IDE Integration
specfact init- Set up slash commands in IDE- See IDE Integration Guide for details
Technical Details
- Architecture: See Architecture
- Module Structure: See Architecture - Module Structure
- Operational Modes: See Architecture - Operational Modes
- Agent Modes: See Architecture - Agent Modes
Related Documentation
- Getting Started - Installation and first steps
- Guides - Usage guides and examples
- Examples - Real-world examples