grey-haven-ontological-documentation

Extract domain concepts from TanStack Start and FastAPI codebases into ontology documentation and diagrams.

29|4|Updated Aug 10, 2025
One-click install
npx skills add https://github.com/greyhaven-ai/claude-code-config --skill grey-haven-ontological-documentation
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: grey-haven-ontological-documentation
Source: https://github.com/greyhaven-ai/claude-code-config/tree/main/grey-haven-plugins/developer-experience/skills/ontological-documentation
Command: npx skills add https://github.com/greyhaven-ai/claude-code-config --skill grey-haven-ontological-documentation

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

This Skill eliminates the manual effort of documenting complex software architectures by automatically extracting domain concepts, mapping relationships, and generating visual diagrams.

Core Features & Use Cases

  • Concept Extraction: Automatically identify entities, services, and relationships from TanStack Start and FastAPI codebases.
  • Multi-Tenant Architecture: Document tenant isolation patterns, RLS policies, and repository filtering.
  • Use Case: Imagine you're onboarding new developers to a Grey Haven project. Use this Skill to automatically generate comprehensive documentation showing how multi-tenant data flows through the system.

Quick Start

Use the ontological documentation skill to analyze the codebase in the current directory and create a visual diagram of the database schema with tenant_id relationships.

Architecture Patterns

  • Repository Pattern: Document BaseRepository with automatic tenant filtering.
  • Service Layer: Map business logic separation from API endpoints.
  • Visual Documentation: Generate Mermaid, PlantUML, and GraphViz diagrams automatically.

Frequently Asked Questions about grey-haven-ontological-documentation

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

FAQPage Schema
How do I automatically document my FastAPI and TanStack Start codebase architecture?

Automatically document architecture by extracting domain concepts, entities, and relationships from your FastAPI backend and TanStack Start frontend codebases. This generates comprehensive ontological documentation with concept definitions, relationship mappings, and architectural pattern analysis without manual documentation effort.

Can I generate visual diagrams from my codebase automatically?

Yes. Automatically generate Mermaid, PlantUML, and GraphViz diagrams that visualize your database schema, domain models, and system relationships extracted directly from your FastAPI and TanStack Start code.

How do I document multi-tenant architecture patterns in my application?

Map multi-tenant patterns by extracting tenant isolation logic, RLS policies, and repository filtering from your codebase. This generates documentation showing how tenant_id flows through services and databases for compliance and onboarding.

What's the best way to accelerate developer onboarding for complex systems?

Generate comprehensive ontological documentation automatically from your codebase to show new developers entity relationships, service layer separation, repository patterns, and architectural decisions—reducing manual documentation and onboarding time.

Does this work with existing FastAPI and TanStack Start projects?

Yes. The Skill analyzes existing FastAPI backend and TanStack Start frontend codebases in your current directory, extracting domain concepts and patterns to produce documentation without requiring code changes or migrations.

What artifacts does codebase analysis produce?

Produces concept definitions, relationship documentation, domain models, JSON-LD structured data, and multi-format diagrams (Mermaid, PlantUML, GraphViz) along with automation scripts for ongoing concept extraction and diagram generation.