From kg-registry-curation
Validates KG-Registry resource pages for schema compliance, provenance slot correctness, and stub-cleanup issues after curation.
How this skill is triggered — by the user, by Claude, or both
Slash command
/kg-registry-curation:kg-registry-validationThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Validate a KG-Registry resource page after editing, with extra attention to provenance and curation-specific quality issues.
Validate a KG-Registry resource page after editing, with extra attention to provenance and curation-specific quality issues.
resource/ and running repository-local commands such as uv run make validate-file.validate-file.original_source and secondary_source were filled correctly.Skip when:
resource/.resource/<id>/<id>.md.Validate the file structurally.
uv run make validate-file FILE=resource/<id>/<id>.md
uv run make prettify-file FILE=resource/<id>/<id>.md
uv run make validate-file FILE=resource/<id>/<id>.md
Check curation-specific quality rules that matter even when schema validation passes.
resource/ and not registry/.products entry.last_modified_date reflects today for the curation edit.curators was not filled in.domains: [stub], placeholder warnings, and stub prose were removed or replaced appropriately.Check provenance fields carefully.
original_source and secondary_source.SourceAssociation object with both:
sourcerelation_typesource must be a KG-Registry resource ID or product ID, not a URL, INFORES ID, or descriptive label.prov:hadPrimarySource as the default relation for original_source.prov:wasInfluencedBy as the default relation for secondary_source when no more specific PROV-O relation is known.prov:wasDerivedFrom when the product is transformed or repackaged from another source.prov:wasInformedBy when another source influenced curation without being a direct derivation input.original_source.secondary_source for its own direct products.Check referenced IDs for resolvability and intent.
source references an existing KG-Registry resource, verify that the identifier matches the real registry ID.source references a not-yet-existing upstream resource, confirm the newly minted ID is unique, stable, and filename-safe.If validation fails, repair locally and rerun.
uv run make validate-file FILE=... after each substantive fix.| Task | Command |
|---|---|
| Validate one file | uv run make validate-file FILE=resource/<id>/<id>.md |
| Prettify then validate | uv run make prettify-file FILE=resource/<id>/<id>.md && uv run make validate-file FILE=resource/<id>/<id>.md |
| Find provenance slots in a file | `rg -n 'original_source |
SourceAssociation objects.source instead of KG-Registry IDs.original_source.kg-registry-curation is the editing workflow.curate-next dispatches batches of curation tasks that should finish with this validation workflow.npx claudepluginhub knowledge-graph-hub/kg-registry --plugin kg-registry-discoveryCurates a single KG-Registry resource page from stub or incomplete state to complete metadata, following LinkML schema constraints.
Validates an Open Knowledge Format (OKF) bundle for conformance with the v0.1 spec. Useful before committing or when asked to lint an OKF bundle.
Pre-ingestion verification system that enforces epistemic quality before documents enter RAG knowledge bases. Produces Clarity-Gated Documents (CGD) and validates Source of Truth (SOT) files to prevent LLMs from mistaking assumptions for facts.