Agree on what to test before you run.
QASpec turns intent into structured QA artifacts — risk analysis, test cases, and optional publish to your test management system — versioned in the repo, not lost in chat.
Four actions, not rigid phases.
Run what the moment calls for and revisit earlier steps freely. Halts exist where human judgment matters — cases approval, publish confirmation.
Analyze
Risks, affected capabilities, and validated clarifications — the signed-off source of truth.
→ analysis.mdMatrix
Test cases with preconditions and steps, built from sources — plus delta specs for the change.
→ testcases.mdPublish
Approved cases upload to Qase via MCP — only after you review the in-chat summary and confirm.
→ publish-log.mdArchive
Finalize the change. Specs accumulate into a browsable library for agents and teammates.
→ archived changeanalyze → cases → (approve) → publish → (confirm) → archive
Persistent artifacts beat one-off chat output.
Review intent, not just code
Each change produces structured QA artifacts — analysis, test cases, and spec deltas — so reviewers understand what will be tested before execution.
Context that persists
Specs and test plans live in your repository alongside the code. Agents read them for context; new teammates browse the library instead of digging through old chats.
Something to review in seconds
Describe what you want to test; QASpec generates the change folder, tasks, and artifacts. Refine the plan before any test run.
Works with your agent
Install skills and slash commands for Cursor, Claude Code, Codex, Windsurf, and dozens more via qaspec init.
From zero to spec-driven QA in three steps.
Install the CLI
One global install. Node is the only prerequisite.
Initialize your project
Installs /qsx commands, schemas, and reference scaffolds for your agent. Works on existing codebases — no big-bang spec generation.
Run it in your agent
Point it at a PR, a requirement doc, a user story, or plain-text intent. Analysis
investigates scope before writing analysis.md.
Works with your agent.
Subset shown — full list in docs/supported-tools.md
Built in the open.
QASpec is MIT-licensed. Use it, fork it, and help shape what spec-driven QA becomes.
Questions, answered.
How is QASpec different from ad-hoc agent planning?
Plans live in the repo across sessions and teammates. You align on what to test and why before running tests, with human approval gates on cases and publish.
Do I need a test management system?
No. Artifacts stay in git. Today /qsx:publish supports Qase via MCP; more TCMS connectors are in progress.
Can I use QASpec on an existing codebase?
Yes. Run qaspec init in your project. Specs and changes accumulate as you work — no big-bang upfront spec generation required.
How does this relate to spec-driven dev planning?
QASpec is inspired by OpenSpec on the development side and applies the same spec-driven idea to QA.