Stop micromanaging AI. Start shipping tested code.
AI agents lack the infrastructure that professional developers take for granted. No way to easily force AI to follow your acceptance criteria or ask questions about things it doesn't understand. AI confabulates without quality examples and doesn't ask when it needs to know what it doesn't know. No TDD guardrails. No or poorly implemented checkpoint systems for safe experimentation. No Kanban boards for tracking workflow state. No specification management systems with mermaid diagram viewers and markdown documentation. No coverage tracking to link code back to business rules. AI agents are coding in the dark, and you're left babysitting instead of building.
fspec is the holy grail: a complete spec-driven system that shepherds AI through professional Gherkin scenarios, auto-generates tests from Given/When/Then criteria, enforces TDD discipline, and links every line of code back to the business rule it implements. A productivity goldmine that transforms AI agents into autonomous builders of your dreams.
Follow the Quick Start below and start talking naturally with your AI agent. Don't know what to do next? Just ask your agent—it knows fspec inside and out and will suggest the best ways to use it for your workflow.
-
Install fspec globally
npm install -g @sengac/fspec
-
Go to your project directory
cd /path/to/your/project -
Initialize fspec
fspec init
-
Run your AI agent (e.g., Claude Code, Codex)
-
Bootstrap fspec context
- Use a bootstrapping command:
/fspec(Claude Code) or/prompts:fspec(Codex) - Or tell your agent: "Run fspec bootstrap"
- Use a bootstrapping command:
-
Talk naturally with fspec
"I want to create a bug to fix this issue" "Create a checkpoint for this work" "Show me the kanban board" "Generate scenarios from the example map" -
Launch the interactive kanban
fspec
Watch live changes, view work unit details, manage checkpoints, and navigate your kanban board with an intuitive TUI.
-
When your AI goes off track (and it will)
AI agents sometimes rush ahead, skip Example Mapping, or write code before tests. That's okay—fspec has your back.
Auto checkpoints are created automatically before every state transition, so you can always roll back:
"You skipped Example Mapping. Move back to specifying status and let's do discovery properly." "You wrote code before tests. Restore from the auto checkpoint and follow ACDD this time." "List the auto checkpoints so I can see what you saved."Recovery is simple:
- Tell your agent to move the work unit backward (e.g., from
testingback tospecifying) - Have it restore from the most recent auto checkpoint:
fspec restore-checkpoint <id> <checkpoint-name> - Checkpoints can be restored multiple times—experiment fearlessly
The workflow enforcer prevents disasters, and checkpoints provide instant recovery. No work is ever lost.
- Tell your agent to move the work unit backward (e.g., from
-
Keep context fresh
- Over time, your agent's context gets cluttered
- Clear your agent's context and bootstrap fspec again
- Repeat as needed to maintain clean workflow
Experiment fearlessly with built-in Git checkpoints. Tell your agent to "create a checkpoint" to save your current state, then view and restore checkpoints from the interactive kanban by pressing the C key.
Attach markdown documents with mermaid diagrams to work units for rich documentation before starting Example Mapping. Perfect for researching complex topics and creating visual designs.
Example workflow:
"Create a story about adding Event Storming. I want you to research this
topic on the web and create a markdown document with mermaid diagrams
and attach it to this story using fspec."
View attachments in the interactive kanban by pressing the A key, with full markdown and mermaid diagram rendering.
We practice what we preach. fspec was built entirely using fspec. The result? 257 feature files with complete Gherkin specifications, full test coverage, and end-to-end traceability.
How long would that normally take? A traditional QA and business analyst team would need 9-12 months to produce that level of documentation. We did it in weeks with AI agents following ACDD discipline.
See for yourself: Browse the complete feature file collection and witness what AI-driven, test-first development actually looks like at scale.
- 📘 Getting Started - 5-minute quickstart
- 📖 User Guide - Comprehensive usage
- 🎯 ACDD Workflow - Understanding the process
- 🤝 Example Mapping - Discovery techniques
- 📊 Work Units - Project management
- 🔗 Coverage Tracking - Traceability
- 🔄 Reverse ACDD - Existing codebases
- 💾 Git Checkpoints - Safe experimentation
- ⚡ Virtual Hooks - Quality gates
- 🏷️ Tags - Organization system
- 🔧 CLI Reference - Command cheatsheet
Found a bug? Just tell your AI agent:
"Report a bug to GitHub"
Your agent knows how to use fspec report-bug-to-github to automatically gather context and create the issue.
Manual reporting: Create an issue
Your codebase is costing you millions. Untested. Undocumented. Impossible to maintain. SENGAC specializes in transforming legacy nightmares into modern, AI-tested, fully-specified systems using tools like fspec. We don't just migrate—we rebuild with complete test coverage, living documentation, and end-to-end traceability.
Stop throwing money at technical debt. Reach out to SENGAC and let's modernize your infrastructure.
Visit fspec.dev | GitHub | npm



