Quoin

quoin is a bundle of Quire modules, agent skills, and workflows for
authoring ISO/IEC/IEEE 29148-aligned software specifications and other technical
documents. It includes prepackaged modules for the spec vocabulary and ideation/authoring/review/planning
workflows agents need to write and validate specs directly as Markdown.
quoin is built on the Quire document standard and validation engine by Agent-IX.
Why: AI agents write code fast but drift from vague intent. Quoin makes the spec the source of truth — your agent authors a validated, traceable spec first, then plans and builds against it.
Setup
If this plugin is uninitialized or a command fails, follow the plugin setup guide for its required CLIs, configuration, and local diagnosis.
For a person-led software risk and release review using Quoin's baseline
capabilities, see the regulated baseline guide.
Community help
If the setup checks leave a reproducible Agent IX quoin bug that blocks progress, join the Agent IX Discord. Community help is a last resort for Agent IX product bugs, not a help desk for local credentials, machine setup, third party tools, or unrelated projects. See setup.md for what to include.
How
In Claude Code, Codex, or the coding agent of your choice:
1. Ideate & Specify
Ideate, then pass your idea to /specify. A specification containing user stories, functional requirements,
stakeholder requirements, non-functional requirements, and other artifacts will be created.
> /specify an electron app for tracking spice production
2. Spec Review
Use /spec-review for agent-assisted review. Multiple analysis tasks will run in parallel and output Reviews
with Findings and suggested fixes.
> /spec-review review the specs for the spice production tracker.
3. Convert to plans
Build the plan. This skill breaks the work down into a plan with multiple tasks. There is
no test matrix to write: quire matrix computes it from the acceptance criteria and the trace
tags on the tests, and quoin matrix adds the run evidence.
> /spec-to-plan prep the spice tracking app for coding
4. Implement the plan
Use your coding agent's implementation workflow to complete the plan.
> implement the spice tracking app from Plan-001
5. Gap review
/gap-analysis audits the repository: UserStory and Functional Requirements implemented and tested,
using the computed test matrix (quoin matrix) as the guide, plus the reverse gap — code with no owning
requirement — and stubs standing behind a tagged criterion. It is planless by default, so a repository whose work predates
planning can still be audited; the review it emits records Plan completion: not assessed.
/gap-analysis will optionally perform a semantic comparison of spec, code, and tests.
> /gap-analysis
Pass a plan to add completion bookkeeping — every Task done, done tasks in dependency order, and
plan.md checkboxes matching task status. The repository audit is unchanged by it: a plan never narrows
the scope or suppresses a finding outside its tasks.
> /gap-analysis --plan Plan-001
What's included
The default module set defines the spec archetypes and domain-object vocabulary.
Artifact archetypes — the document types you author:
| Module | Archetypes |
|---|
| spec-artifacts-iso | StR, FR, NFR, US, IT, TC, Spec, master-requirements |
| spec-artifacts-app | ApplicationSpec, MasterRequirements |
| spec-artifacts-process | ADR, Plan, Task, Review, Finding, TestMatrix, Standard |