Skip to content

jacob-balslev/skill-graph / examples/tests/v3-1-skos-fixture

v3-1-skos-fixture

Verified

Test fixture exercising SKOS predicates (related, broader, narrower), routing-layer suppresses, the ADR 0006 split between routing exclusion and disjoint_with (OWL class-disjointness), and the io_contract composition hook. Used by scripts/__tests__/test-v3-1-skos-runtime.js to verify that the manifest generator, lint, and router all recognize the full canonical predicate set. Not a production skill.

v3.1 SKOS Fixture

Test fixture exercising the full v3.1 predicate set. Not a production skill.

Domain Context

This fixture exists to verify that the runtime — generate-manifest.js, skill-lint.js, skill-graph-route.js, and the lint-target resolver — iterates the complete canonical predicate set defined in ADR 0001 (SKOS additions: related, broader, narrower), ADR 0018 (suppresses for routing-layer exclusion), ADR 0006 (disjoint_with as the separate orthogonal relation for formal OWL class-disjointness), and the composition hook io_contract.

The companion test scripts/__tests__/test-v3-1-skos-runtime.js builds a manifest entry from this file and asserts every predicate above appears in the resulting relations block, with relation-target validation passing for all eight references.

Coverage

Predicates exercised:

  • related — symmetric SKOS associative relation (skos:related)
  • broader — SKOS generalisation (skos:broader); triggers Stage 4b parent recall in router
  • narrower — SKOS specialisation (skos:narrower)
  • suppresses — routing-layer asymmetric exclusion (sg:disjointOwnership)
  • disjoint_with — formal OWL class-disjointness (owl:disjointWith)
  • verify_with — PROV-O informational influence (prov:wasInformedBy)
  • depends_on — DCMI requirement (dcterms:requires)
  • io_contract — machine-checkable artifact inputs/outputs for composition

Retired aliases are intentionally NOT exercised in this fixture; the companion unit test checks in-memory alias normalization separately.

Workflow

This skill has no workflow — it is a fixture, not a procedure.

Verification

scripts/__tests__/test-v3-1-skos-runtime.js exits 0 only when this fixture round-trips cleanly through the manifest generator and lint relation-target check.

finishing-a-development-branchobra/superpowersUse when implementation is complete, all tests pass, and you need to decide how to integrate the workStars: 322kUpdated Claude CodeCodexVerifiedInstall
systematic-debuggingobra/superpowersUse when encountering any bug, test failure, or unexpected behavior, before proposing fixesStars: 322kUpdated Claude CodeCodexVerifiedInstall
test-driven-developmentobra/superpowersUse when implementing any feature or bugfix, before writing implementation codeStars: 322kUpdated Claude CodeCodexVerifiedInstall
skill-creatoranthropics/skillsCreate new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an existing skill, run evals to test a skill, benchmark skill performance with variance analysis, or optimize a skill's description for better triggering accuracy.Stars: 198kUpdated Claude CodeCodexVerifiedInstall