Concepts

Related items

Each item page has a Related section, and dex related <ref> prints the same. Every relation has a type, an origin and evidence, so you can tell a reviewed fact from a guess.

flowchart LR
  WS[writing-skills] -- requires --> TDD[test-driven-development]
  EP[executing-plans] -- requires --> WP[writing-plans]
  WP -- complements --> EP
  SDD[subagent-driven-development] -- alternative-to --- EP
  P[plugin] -- bundles --> S[member skills]
  F[a fork] -- forked-from --> O[the original]
  D[deprecated item] -- replaced-by --> N[its replacement]

Types

TypeMeaningOriginShown on
requires / required-bythe source tells you to load or understand the target firstcuratedboth items
complementsdifferent jobs that work well one after the othercuratedboth items
alternative-tothe same job, done a different way: pick onecuratedboth items
part-of / bundlesa plugin lists the item as a memberderived from plugin.jsonboth items
forked-from / forked-asfork lineagederived from the release ledgerboth items
replaced-by / replacesthe item is deprecated in favour of anotherderived from the release ledgerboth items
similarshares tags or name words, which it namesinferredthe item
  • Curated relations live in src/dex_trove/taxonomy/relations.yaml. Each one needs evidence that a reader can check, usually a quote from the item’s own text. On the site they carry a reviewed badge.
  • Derived relations restate facts Dex already holds, so they can’t drift.
  • Inferred similar relations are a browsing hint. They’re dropped when a typed relation already links the same two items.

Never “compatible”

No relation type says two items are compatible, and none should be read that way:

  • A skill that requires another means read that one first. It doesn’t promise that either works with your framework, language or tools.
  • Two alternative-to items may expect completely different setups.
  • similar only means similar words.

Whether something will run in your setup depends on its declared requirements, its inputs and outputs, and the tools you have. A harness such as Ananke Plexus checks those when it resolves and locks a capability. See also Finding capabilities.

Checks

dex validate (and the release gate) fail when:

  • a curated relation points at an item that isn’t in the trove (no dangling references);
  • a curated relation has an unknown type or no evidence, or relates an item to itself;
  • requires relations form a cycle (nothing could be loaded first);
  • trove/relations.json is stale: it’s rebuilt by dex learn and dex release record.

Adding a relation

Add an entry to relations.yaml:

- { from: skill:superpowers/writing-skills, type: requires, to: skill:superpowers/test-driven-development,
    evidence: "writing-skills SKILL.md: 'REQUIRED BACKGROUND: You MUST understand superpowers:test-driven-development'" }

Then run dex release record (or dex learn) and dex validate. Symmetric types (complements, alternative-to) and inverses (required-by) are added to the other item automatically.

Edit this page on GitHub ↗