kg-registry-curation

Expand stub KG-Registry resource pages with schema-compliant YAML metadata.

27|5|Updated Sep 2, 2021
One-click install
npx skills add https://github.com/Knowledge-Graph-Hub/kg-registry --skill kg-registry-curation
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: kg-registry-curation
Source: https://github.com/Knowledge-Graph-Hub/kg-registry/tree/main/.agents/skills/kg-registry-curation
Command: npx skills add https://github.com/Knowledge-Graph-Hub/kg-registry --skill kg-registry-curation

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

It helps you reliably update KG-Registry resource pages with accurate, schema-compliant metadata instead of leaving stubs incomplete or inconsistent.

Core Features & Use Cases

  • Single-resource end-to-end curation: Expand stub resources or improve existing incomplete curated pages under resource/ with minimal evidence and correct structure.
  • Schema- and constraint-aware editing: Ensures updates follow the LinkML schema, preserves required fields (like at least one products entry), and avoids forbidden edits (like touching generated registry/ outputs).
  • Validation-first workflow: Prettifies and validates the edited page to catch provenance and formatting issues before finishing.
  • Traceable curation blockers: When the page cannot be confidently completed, records a concrete problem in reports/curation_problems.tsv rather than inventing metadata.

Quick Start

Run this curation workflow by targeting exactly one file at resource/<id>/<id>.md inside a local clone, then follow the skill steps to update YAML front matter and validate the result.

Frequently Asked Questions about kg-registry-curation

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I update YAML front matter for incomplete knowledge-graph registry resources?

To update YAML front matter for knowledge-graph registry resources, you must target exactly one stub file under resource/, expand the incomplete metadata using minimal authoritative evidence, and ensure the edits comply with the LinkML schema constraints before committing.

What is the best way to validate metadata curation changes in a KG-Registry resource page?

The best way to validate metadata curation changes is to run the prettify and validate commands on the edited resource page. This validation-first workflow catches provenance and formatting issues before you commit the updated YAML front matter and markdown body.

Does KG-Registry curation allow editing generated registry outputs?

No, KG-Registry curation strictly forbids modifying generated registry/ outputs. You must only update the source markdown file and its YAML front matter located under the resource/ directory to maintain proper provenance and automated generation workflows.

How do I handle schema validation blockers when curating a KG-Registry resource?

When schema validation blockers prevent confident KG-Registry resource curation, you should record the specific problem in reports/curation_problems.tsv rather than inventing metadata. This ensures traceable curation blockers are documented for future review.

Can I use markdown editing to expand stub knowledge-graph registry pages?

Yes, you can use markdown editing to expand stub knowledge-graph registry pages under resource/. You update the YAML front matter and body text while preserving required LinkML schema fields like at least one products entry, then run prettify and validate commands.

Why does my KG-Registry metadata curation fail schema validation?

Your KG-Registry metadata curation may fail schema validation if required LinkML schema fields are missing, such as lacking at least one products entry, or if you inadvertently modified generated registry/ outputs instead of restricting edits to the resource/ directory.