Quantize your development workflow - Sequential AI phases with quality gates
npm install sequantWorkflow automation for Claude Code.
Solve GitHub issues with structured phases and quality gates — from issue to merge-ready PR.


``bash`In your project directory
npm install sequant
npx sequant init # Install skills to your project
npx sequant doctor # Verify setup
To update:
`bash`
npm update sequant
Then in Claude Code:
``
/fullsolve 123 # Solve issue #123 end-to-end
Or step-by-step:
``
/spec 123 # Plan implementation
/exec 123 # Build in isolated worktree
/qa 123 # Review before merge
Required:
- Claude Code — AI coding assistant
- GitHub CLI — run gh auth login
- Git (for worktree-based isolation)
For npm installation:
- Node.js 18+
Optional MCP servers (enhanced features):
- chrome-devtools — enables /test for browser-based UI testingsequential-thinking
- — enhanced reasoning for complex decisionscontext7
- — library documentation lookup
> Note: Sequant is optimized for Node.js/TypeScript projects. The worktree workflow works with any git repository.
---
Sequant adds slash commands to Claude Code that enforce a structured workflow:
``
┌─────────┐ ┌─────────┐ ┌─────────┐ ┌─────────┐
│ /spec │───▶│ /exec │───▶│ /test │───▶│ /qa │───▶ Merge
└─────────┘ └─────────┘ └─────────┘ └─────────┘
│ │ │ │
▼ ▼ ▼ ▼
Plan Build Verify (UI) Review
> /test is optional — used for UI features when Chrome DevTools MCP is available.
Sequant uses Git worktrees to isolate each issue's work:
``
your-project/ # Main repo (stays on main branch)
../worktrees/
feature/
123-add-login/ # Issue #123 worktree (feature branch)
456-fix-bug/ # Issue #456 worktree (feature branch)
Why worktrees?
- Work on multiple issues simultaneously
- Never pollute your main branch
- Each issue has its own dependencies and build
- Safe to discard failed experiments
Every /qa runs automated checks:
- AC Adherence — Code verified against acceptance criteria
- Type Safety — Detects any, as any, missing types.sequant/semgrep-rules.yaml
- Security Scans — OWASP-style vulnerability detection
- Semgrep Static Analysis — Stack-aware rulesets, custom rules via
- Scope Analysis — Flags changes outside issue scope
- Execution Evidence — Scripts/CLI must pass smoke tests
- Test Quality — Validates test coverage and mock hygiene
- Anti-Pattern Detection — Catches N+1 queries, empty catch blocks, stale dependencies
When checks fail, /loop automatically fixes and re-runs (up to 3x).
---
Type commands directly in Claude Code chat:
``
/fullsolve 123 # Complete pipeline
/spec 123 → /exec → /qa # Step by step
Run without Claude Code UI:
`bash`
npx sequant run 123 # Single issue
npx sequant run 1 2 3 # Batch (parallel)
npx sequant run 123 --quality-loop
npx sequant run 123 --base feature/dashboard # Custom base branch
---
| Command | Purpose |
|---------|---------|
| /spec | Plan implementation, draft acceptance criteria |/exec
| | Implement in isolated git worktree |/test
| | Browser-based UI testing (optional) |/qa
| | Code review and quality gate |
| Command | Purpose |
|---------|---------|
| /fullsolve | Complete pipeline in one command |/solve
| | Recommend optimal workflow for issue |/loop
| | Fix iteration when checks fail |
| Command | Purpose |
|---------|---------|
| /testgen | Generate test stubs from spec |/verify
| | CLI/script execution verification |/setup
| | Initialize Sequant in a project |
| Command | Purpose |
|---------|---------|
| /assess | Issue triage and status assessment |/docs
| | Generate feature documentation |/clean
| | Repository cleanup |/improve
| | Codebase analysis and improvement discovery |/security-review
| | Deep security analysis |/reflect
| | Workflow improvement analysis |
---
`bash`
npx sequant init # Initialize in project
npx sequant update # Update skill templates
npx sequant doctor # Check installation
npx sequant status # Show version and config
npx sequant run
npx sequant state
npx sequant stats # View local workflow analytics
npx sequant dashboard # Launch real-time workflow dashboard
See Run Command Options, State Command, and Analytics for details.
---
`json`
// .sequant/settings.json
{
"run": {
"qualityLoop": false,
"maxIterations": 3,
"defaultBase": "feature/dashboard" // Optional: custom default base branch
}
}
See Customization Guide for all options.
---
| Platform | Status |
|----------|--------|
| macOS | ✅ Full support |
| Linux | ✅ Full support |
| Windows WSL | ✅ Full support |
| Windows Native | ⚠️ CLI only |
---
- Quickstart — 5-minute guide
- Complete Workflow — Full workflow including post-QA patterns
- Getting Started
- What We've Built — Comprehensive project overview
- Workflow Concepts
- Run Command
- Git Workflows
- Customization
- Troubleshooting
Stack guides: Next.js · Rust · Python · Go
---
- Bug reports: Bug template
- Feature requests: Feature template
- Questions: GitHub Discussions
Run /improve in Claude Code to analyze your codebase and create structured issues:
```
/improve # Analyze entire codebase
/improve security # Focus on security concerns
/improve tests # Find test coverage gaps
The skill will present findings and offer to create GitHub issues automatically.
See CONTRIBUTING.md for development setup and guidelines.
Sequant does not collect any usage telemetry. See docs/reference/telemetry.md for details.
---
MIT