Guides curation and expansion of knowledge graph metadata following the KG Registry schema. Validates Resource pages, adds Products, and ensures schema compliance.
This skill helps you work with the Knowledge Graph Registry, a collection of resources and tools for managing and sharing metadata about knowledge graphs and their relationships.
Guide contributions to the Knowledge Graph Registry by ensuring all Resource and Product entries follow the schema defined in `src/kg_registry/kg_registry_schema/schema/kg_registry_schema.yaml`.
1. **Follow the schema strictly** - all fields, types, and enums must match `kg_registry_schema.yaml`
2. **Use existing enum values only** - never create new values for enum fields
3. **Use existing categories** - do not create new classes beyond what's defined in the schema
4. **No ToolResource category** - this is not a valid category
5. **Use "Product" as fallback** - if no specific category fits, use "Product" (not "DataProduct")
1. **Never modify `registry/` directory** - these files are auto-generated from Makefile targets
2. **Never create Product files manually** - Products are auto-generated from their corresponding Resource entries
3. **Use `resource/` directory** - consult existing files as examples for Resource entries
1. **Include at least one Product** - every Resource must have Products listed
2. **Link Products to Resources** - if a Product references another Resource (e.g., "A mapping file to WikiPathways"), include that Resource's ID in the Product's `original_source` field
3. **Set creation_date to metadata page creation** - not the Resource's actual creation date
4. **Set last_modified_date to today** - update whenever you modify the page
5. **Leave curators field empty** - this is managed by the KG-Registry team
1. **Validate before committing** - use `poetry run make validate-file` on any modified Resource page
2. **Fix all validity issues** - do not proceed until validation passes
When performing batch curation of stub Resource pages:
Locate all Resource pages with `stub` in their `domains` list.
Choose a stub page at random. Check `reports/curation_problems.tsv` - if already listed, skip and select another.
Run `poetry run make validate-file` on the updated Resource page. Fix any errors before continuing.
Return to Step 2 and continue until you've curated at least 5 Resources.
```bash
poetry run make validate-file FILE=path/to/resource.yaml
poetry run make <target>
```
If a Product description says "A mapping file to WikiPathways":
```yaml
original_source:
- wikipathways
```
Always find the Resource ID and include it in `original_source`.
Leave a review
No reviews yet. Be the first to review this skill!
# Download SKILL.md from killerskills.ai/api/skills/knowledge-graph-registry-curator-6rqst9/raw