Guides curation and expansion of knowledge graph metadata following KG-Registry schema and workflow. Ensures proper resource documentation, product relationships, and validation.
This skill helps you curate and expand metadata for knowledge graphs in the Knowledge Graph Registry project, following the established schema and curation workflow.
Guides you through adding and updating knowledge graph resources and products according to the KG-Registry schema and best practices. Enforces data quality rules, schema compliance, and automated generation workflows.
1. **Always follow the schema** defined in `src/kg_registry/kg_registry_schema/schema/kg_registry_schema.yaml`
2. **Use existing enums only** - never create new values for enum fields
3. **Use existing categories only** - never create new category classes
4. **Never modify the `registry` directory** - these files are auto-generated
5. **Never create Product files manually** - they are auto-generated from Resource entries
When creating or updating Resource entries:
- Example: "A mapping file to WikiPathways" → include `wikipathways` in `original_source`
Before committing any changes:
```bash
poetry run make validate-file FILE=resource/your-resource.yaml
poetry run make validate
```
1. **Find stub pages**: Look for Resources with `stub` in their `domains` list
2. **Select a candidate**: Choose a random stub page
- Check `reports/curation_problems.tsv` first
- Skip if already logged, select another
3. **Research the Resource**:
- Start with `homepage_url` if present
- Conduct literature search if needed
- Gather accurate metadata
4. **Expand the Resource page**:
- Consult schema and existing pages as examples
- Add Products (definitions only, not separate files)
- Preserve existing Products (may be referenced by other Resources)
- If curation blockers encountered, log in `reports/curation_problems.tsv` and move on
5. **Validate**:
- Run `poetry run make validate-file FILE=resource/your-file.yaml`
- Fix all validation errors before proceeding
6. **Repeat**: Curate at least 5 Resources per session
```
resource/ # Manually created/updated Resource entries
registry/ # Auto-generated (DO NOT EDIT)
reports/ # Curation tracking and problem logs
src/ # Schema definitions
```
```yaml
id: example-kg
label: Example Knowledge Graph
description: A brief description of this knowledge graph
homepage_url: https://example.org
domains:
- biomedical
# Remove 'stub' when expanding
categories:
- KnowledgeGraph
products:
- id: example-kg-nodes
label: Example KG Nodes
description: Node file for Example KG
category: Product
original_source:
- example-kg
creation_date: "2026-02-01"
last_modified_date: "2026-02-01"
```
```bash
poetry run make validate-file FILE=resource/my-resource.yaml
poetry run make validate
poetry run make generate-products
```
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-79l3y1/raw