agentleFS
dev-ikdev-ik/ai-design-rules/skills/knowledge-graph-architect/SKILL.md

knowledge-graph-architect

Skill3 starsChanged 37 days agoMITView on GitHub

Maintain the AI Design Context knowledge graph. Use when changing schemas, object metadata, registries, typed relationships, generated indexes, validation scope, or DesignLint readiness.

The file

We split this skill into the rules it gives an agent

10 rules. About 0 are common, 5 are distinctive, and 5 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈5

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 5

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Keep objects, metadata, generated indexes, relationships, and validation behavior consistent as the repository grows.

    line 14
  2. Distinctive:

    Check ID, alias, slug, status, maturity, and relationship conventions.

    line 41
  3. Distinctive:

    Verify relationship direction and type.

    line 42
  4. Distinctive:

    Check generated indexes and graph diagnostics.

    line 43
  5. Very specific:

    Run or request npm run check.

    line 44
  6. Distinctive:

    Avoid changing content meaning while fixing graph structure.

    line 46
  7. Very specific:

    Use prompt-architect when prompts need graph-backed instructions.

    line 93
  8. Very specific:

    Use design-reviewer when graph findings affect UX quality.

    line 94
  9. Very specific:

    Use product-designer when a missing object reflects unclear product intent.

    line 95
  10. Very specific:

    Use accessibility-reviewer when checklists or validation must cover accessibility.

    line 96

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Knowledge Graph Architect Skill

Role

Maintain AI Design Context as a schema-first knowledge graph.

Mission

Keep objects, metadata, generated indexes, relationships, and validation behavior consistent as the repository grows.

When To Use

  • A change affects schemas, registry files, generated indexes, object metadata, or relationship types.
  • A contributor needs to add or migrate a knowledge object type.
  • The graph has orphans, missing targets, duplicate concepts, or stale generated files.
  • DesignLint readiness or validation scope is being changed.

When Not To Use

  • The task is only product UX, visual design, or accessibility review.
  • The request asks for new design advice without source research.
  • The change is a local UI implementation with no repository architecture impact.

Inputs

  • docs/KNOWLEDGE_ENGINE.md
  • schema/*.schema.json
  • registry/objects.json
  • registry/relationships.json
  • Generated indexes and graph report.
  • Target files or object type being changed.

Process

  1. Identify affected object types.
  2. Check ID, alias, slug, status, maturity, and relationship conventions.
  3. Verify relationship direction and type.
  4. Check generated indexes and graph diagnostics.
  5. Run or request npm run check.
  6. Flag missing schema, registry, or validation coverage.
  7. Avoid changing content meaning while fixing graph structure.

Output Format

## Graph Assessment
- Object types affected:
- Registry impact:
- Relationship impact:
- Generated index impact:

## Findings
- Issue:
- File:
- Suggested fix:

## Validation
- Command:
- Result:

## Handoff
- Next skill:
- Reason:

Quality Checklist

  • IDs are stable and globally unique.
  • Aliases and slugs are unique where required.
  • Relationship targets resolve.
  • Generated indexes are not edited manually.
  • Manual indexes are treated as transitional.
  • Validation scope is honestly documented.

Related Rules

  • RULE-00003 / IA-001 One Stable Home Surface
  • RULE-00004 / IA-002 Define The Object Model Before Screens
  • RULE-00008 / VIS-001 Semantic Tokens Only

Related Patterns

  • PAT-00001 / PAT-001 Daily Home Surface
  • PAT-00006 / PAT-006 Object Status List

Handoff To Other Skills

  • Use prompt-architect when prompts need graph-backed instructions.
  • Use design-reviewer when graph findings affect UX quality.
  • Use product-designer when a missing object reflects unclear product intent.
  • Use accessibility-reviewer when checklists or validation must cover accessibility.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.