How-to: add a sub_area to the capability graph¶
CAPABILITY-GRAPH.yaml is the source of truth for sub-areas. Declare it here before any curated skill references it — the semantic audit fails otherwise.
Steps¶
- Open
docs/reference/registries/CAPABILITY-GRAPH.yaml. - Find the matching top-level area (e.g.,
backend,frontend,ai-ml). - Add a new entry under
sub_areas::
backend:
sub_areas:
- id: graphql_federation
name: GraphQL Federation
description: Apollo Federation + subgraph composition
- Run
python scripts/audit_semantic.pyto confirm. - Now curated skills can reference
graphql_federationin theirsub_areas:list.
Naming convention¶
id: lowercase + underscores, ≤30 charsname: human-readable titledescription: one sentence, ≤80 chars