/quoin:specifyfrom quoin
Creates or updates specification artifacts from design or change requests. Authors requirements as discrete files using catalog templates and validates them.
Ships in quoin. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
If this plugin is not initialized or an Agent IX command fails, read the quoin setup guide for its prerequisites and local diagnosis.
Use this skill when turning an agreed design, feature, or change request into
spec artifacts. specify decides which artifacts the request needs, authors
each one as its own file using the catalog templates, and validates.
Author only the artifact types the request calls for — nothing more. Assurance artifacts are opt-in: a low-impact request that asks for an ordinary requirement does not receive an unsolicited profile, architecture description, or measurement plan.
AssuranceProfile, linked to the requirements or decisions it governs.ArchitectureDescription and one installed MeasurementPlan.spec.md + US + FR + NFR, and IT where there are external integrations).When unsure which types a request implies, decide from the request and state what you are creating. A backport or new feature almost always needs FR artifacts, not just a summary.
Each requirement is a discrete artifact file with type: frontmatter. The
Requirements table inside spec.md (master-requirements) is an index/summary
— it never replaces the artifacts. Author every requested requirement as its own
file under the matching directory:
| Type | type: | Location |
|---|---|---|
| StR | StR | spec/stakeholder/StR-XXX-*.md |
| US | US | spec/usecase/US-XXX-*.md |
| FR | FR | spec/functional/FR-XXX-*.md |
| NFR | NFR | spec/non-functional/NFR-XXX-*.md |
| IT | IT | spec/integration/IT-XXX-*.md |
| Assurance profile | AssuranceProfile | spec/assurance/AP-XXX-*.md |
| Architecture description | ArchitectureDescription | spec/assurance/AD-XXX-*.md |
| Measurement plan | MeasurementPlan | spec/assurance/MP-XXX-*.md |
If a request asks for functional requirements and you produced only table rows in
spec.md, the request is not done — create theFR-XXX.mdfiles.
The templates and Quire enforce shape; you supply the judgment. Author it well
here so spec-review has less to send back. Three principles — full guidance with
examples in references/writing-good-requirements.md:
spec.md §2.2 Out of Scope as first-class — decide
your non-goals deliberately; an empty Out-of-Scope is a smell.Run only the steps the request needs; stop after the requested artifact set.
quoin write <repo_dir> --types <type[,type...]> once for the full
set. Use the returned skeletons, schemas, module roots, and examples as the
authoring contract — the per-type rules live in the template, not your memory.
The pack also reports the repo's Org:; use that value for the org: field
and for the ix://<org>/<repo>/… targets you write. If it reports
Org: unresolved, ask the user which organization owns the repo — never
invent one, never leave a literal <your-org> in a file, and never copy the
org out of a skeleton's example values.spec.md — REQUIRED when starting a new spec: the
type: master-requirements root/index at spec/spec.md, authored from
assets/spec-template.md (or assets/app-spec-template.md for an
application); keep scope tight and fill Out of Scope deliberately
(see references/writing-good-requirements.md).
Then → StR → US (INVEST, no solution-prescribing — same reference) →
derive FR from US (see references/us-to-fr.md)
→ FR (cover unhappy paths, measurable ACs — same reference) → NFR → IT
(see references/integration-tests.md)
→ requested assurance artifacts.relationships: (e.g. a US traces_to its
FRs; an FR/NFR/IT links back to the US/FR it serves). Link an assurance artifact
to the exact requirements or decisions it qualifies using only relationship verbs
admitted by its fetched schema; do not invent an edge.quire validate <glob> [glob2 ...] over the changed spec scope and fix
every error before continuing.spec-review) — unless they already requested it. Only run it on confirmation.
Do not write a test matrix or a tests.md: the matrix is computed by
quire matrix from the criteria and the tests' trace tags.FRs are normative (SHALL / SHALL NOT), atomic, and independently verifiable,
each with an Acceptance Criteria table (the fr.md skeleton enforces the shape).
The Verification cell names a method only — Test, Inspection, Analysis,
Demonstration — never a TC- id; spec-artifacts-process lints for one. A test binds
to a criterion by carrying the criterion's own id (FR-012-AC-3) as a trace tag.
object: field. A domain-typed FR carries
object: <type> (e.g. entity, event, api_endpoint, process,
configuration) and uses that type's structural template. Look up the
type→template map and relationship verbs in
spec-object-review's references/object-type-guide.md, and inspect a type
with quoin catalog show <type>.When component_type: application, initialize spec.md from
assets/app-spec-template.md. Application specs own only cross-service
concerns — architecture rationale (ADRs), cross-service sequence diagrams,
system-level NFRs, the external consumer contract, scope boundaries, security
model. Per-service detail (endpoint contracts, DB schemas, per-service NFRs)
stays in the individual service specs. Otherwise use assets/spec-template.md.
type (e.g.
type: FR, type: master-requirements) — it names the archetype.spec-artifacts-iso ships a reserved index archetype for the OKF folder structure;
author it like any other type:
index.md — type: index, body is a ## Contents link list pointing at the
artifacts in the folder.spec/
├── spec.md
├── stakeholder/ # StR-XXX
├── usecase/ # US-XXX
├── functional/ # FR-XXX
├── non-functional/ # NFR-XXX
├── integration/ # IT-XXX
├── assurance/ # requested AP/AD/MP artifacts (when their module is installed)
└── analysis/
assets/app-spec-template.md (opens in a new tab)assets/spec-template.md (opens in a new tab)references/assurance-artifacts.md (opens in a new tab)references/integration-tests.md (opens in a new tab)references/us-to-fr.md (opens in a new tab)references/writing-good-requirements.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub agent-ix/quoin --plugin quoin23 skills in this plugin
/assurance-status-reportProduce an evidence-backed status report for a Quoin/Quire epic, phase, or assurance campaign. Use when asked for progress, percent complete, before/after metrics, completed-ticket inventory, open-work classification, or readiness for the next phase. The workflow is read-only and does not comment on, close, or modify tickets or repositories./design-gatePropose and check a data-flow design, revise bounded denials, and leave acceptance to a person./formalize-requirementDraft and type-check one QSL rule for a requirement./gap-analysisAudit a repository end to end — spec requirements, the computed Test Matrix, tagged tests, and source code. Planless by default; it reads `quoin matrix` / `quire matrix` to find criteria no test is tagged with, finds code with no owning requirement, and catches stubs and coverage inflation, reporting "Plan completion: not assessed". An explicitly supplied plan adds optional plan-completeness bookkeeping only. Optional semantic review checks whether intent, test and code agree. Emits a quire-validated SpecReview artifact to reviews/YYYY-MM-DD-<slug>-gap-analysis.md./spec-app-reviewReview an application-type spec for completeness against UI rendering requirements and golden-path structure./spec-architecture-evaluationEvaluate a repository's implemented architecture against its stated boundaries, quality goals, and operating scenarios, producing an evidence-backed SpecReview. Use for architecture reviews; do not use for general test-gap or code-style review.Other plugins' skills for the same job