/quoin:spec-object-reviewfrom quoin
Audits spec domain objects for completeness, cross-reference integrity, and alignment with object-type-guide format. Useful after initial spec creation, when integrating services, or fixing spec-code misalignments.
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.
Audit a codebase's spec domain objects for completeness, cross-reference integrity, and alignment with the object-type-guide format.
Scan all spec/ directories in scope (single repo or ecosystem-wide):
find spec/ -name "*.md" -path "*/functional/*"
For each FR, extract frontmatter fields: id, title, type, object.
For every FR with a Traceability / Dependencies section:
repo-B FR-003, confirm repo-B/spec/functional/FR-003-*.md exists.Common Pitfalls:
/auth prefix) silently changing the actual path vs what the FR documents.depends_on in master spec frontmatter being empty when runtime dependencies exist.Check whether domain objects defined inline in specs have proper dedicated FRs with object: frontmatter.
Scan for inline objects:
| Pattern in spec | Missing Domain FR Type |
|---|---|
### Data Models table with field/type columns | entity or value_object |
API Request/Response JSON bodies in ## API Contract | value_object |
class X(SQLModel) or Pydantic model in code without FR | entity |
class X(str, Enum) or status fields | value_object or state_machine |
| Multi-step behavior spanning services | process |
| Env var / configuration table in spec.md | configuration |
stateDiagram-v2 in spec.md | state_machine |
The Semantic Payload Trap: Inline JSON bodies inside of an endpoint's API Contract section are the #1 cause of cross-repo semantic drift. Even if the syntax matches (e.g. { "username": "string" }), the semantics drift (email vs account_name). Any structured payload passed across a bounded context MUST have a dedicated value_object FR to anchor its field semantics.
Reference: See object-type-guide.md for the full type taxonomy.
All FRs must use standard frontmatter:
---
id: FR-XXX
title: "Descriptive Title"
type: FR
object: entity # Only if FR defines a domain object
relationships: # Structured array of cross-references
- target: "ix://org/repo/TargetFR"
type: "depends_on"
cardinality: "1:1"
---
Check for:
type: functional instead of type: FR (non-standard value).object: on FRs that clearly define domain objects.domain: or status: fields that aren't part of the standard schema.relationships: array in the frontmatter when the body references upstream/downstream dependencies (such as an API, an event, a data entity, or a required permission).type: "depends_on" when a more specific semantic linkage applies (e.g. calls, publishes, consumes, triggers, reads, writes, requires).Ask yourself these questions. If the answer is "no" to any, there's a gap:
object: process FRs that show the full sequence across services.For multi-service domains (e.g., Auth = auth-service + identity + auth-py + auth-fastapi + ts-auth-sdk):
Produce a review report with:
| Priority | Finding | Repo | Impact |
|---|---|---|---|
| P0 | Spec-code mismatch | repo | Incorrect documentation |
| P1 | Missing cross-reference | repo | Traceability gap |
| P2 | Missing object: frontmatter | repo | Parser incompatibility |
| P3 | Missing domain-typed FR | repo | Incomplete domain model |
router = APIRouter(prefix="/auth")) silently change paths. Always verify spec paths against the mounted path, not just the route decorator.| identity | Fetches user | is weaker than | identity FR-006 | Fetches user via internal lookup |. Always use FR-level IDs.depends_on: Client libraries almost always depend on the service they consume. An empty depends_on: [] in a client SDK spec is a red flag.AuthToken used by both API Keys FR-004 and OAuth Clients FR-008), the model needs its own entity FR to avoid ambiguity.email mapped to SDK's username field, but Backend strictly expects an account name). Always cross-check the meaning and format of data passed across boundaries, especially in multi-repo systems like Auth.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.Other plugins' skills for the same job