Your First Workflow
Walk through solving a GitHub issue with Sequant.
Overview
Section titled “Overview”Sequant transforms GitHub issues into working code through sequential phases:
- Spec — Plan the implementation
- Exec — Build in an isolated worktree
- QA — Review against acceptance criteria
Step 1: Choose an Issue
Section titled “Step 1: Choose an Issue”Pick a GitHub issue from your repository. For your first workflow, choose something small like a bug fix or simple feature.
# List open issuesgh issue list
# View issue detailsgh issue view 123Step 2: Plan with /spec
Section titled “Step 2: Plan with /spec”Open Claude Code in your project, then run:
/spec 123This command:
- Reads the issue description and comments
- Analyzes the codebase
- Drafts an implementation plan with acceptance criteria
- Posts the plan as a GitHub issue comment for your review
Review the plan before proceeding. Comment on the issue if you want changes.
Step 3: Implement with /exec
Section titled “Step 3: Implement with /exec”Once you’re satisfied with the plan:
/exec 123This command:
- Creates an isolated git worktree (
feature/123-issue-title) - Implements the changes according to the plan
- Runs tests (
npm test) - Creates commits with progress updates
Step 4: Review with /qa
Section titled “Step 4: Review with /qa”After implementation:
/qa 123This command:
- Reviews code against acceptance criteria
- Checks for type safety issues
- Scans for security vulnerabilities
- Flags scope creep (changes outside the issue)
- Suggests fixes if issues are found
Step 5: Merge
Section titled “Step 5: Merge”If QA passes, merge the feature branch:
# Create a pull requestgh pr create --fill
# Or merge directly (if your workflow allows)git checkout maingit merge feature/123-issue-titleOne-Command Alternative
Section titled “One-Command Alternative”For simpler issues, use /fullsolve to run all phases:
/fullsolve 123This runs spec → exec → qa with automatic fix iterations.
Start Small
Section titled “Start Small”Your first workflow should be a simple issue. Complex refactors can wait until you’re familiar with the phases.
Review the Spec
Section titled “Review the Spec”The /spec phase is your opportunity to shape the implementation. Review the plan carefully before /exec.
Trust the Worktree
Section titled “Trust the Worktree”Sequant creates isolated worktrees so your main branch stays clean. If something goes wrong, you can safely delete the worktree.
Iterate with Quality Loop
Section titled “Iterate with Quality Loop”If QA finds issues:
/loop 123This automatically fixes issues found during QA and re-runs checks.
Next Steps
Section titled “Next Steps”- Workflow Phases — Understand each phase in depth
- Two Modes — Interactive vs autonomous execution
- Run Command — Batch execution for multiple issues