rai-discover-document

Generate architecture documentation from validated discovery data and governance artifacts.

Updated Feb 4, 2026
One-click install
npx skills add https://github.com/fcastrillo/carbtrack-ai --skill rai-discover-document
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: rai-discover-document
Source: https://github.com/fcastrillo/carbtrack-ai/tree/main/.claude/skills/rai-discover-document
Command: npx skills add https://github.com/fcastrillo/carbtrack-ai --skill rai-discover-document

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Automates the creation of architecture documentation from discovery data, reducing manual effort and ensuring up-to-date, consistent system views.

Core Features & Use Cases

  • Generates system-context, container, and domain-model docs with YAML frontmatter.
  • Produces per-module docs and a compact index for AI context loading.
  • Integrates with discovery inputs such as validated catalogs and governance artifacts.

Quick Start

Run the discovery-document generator on your validated discovery data to produce the full architecture documentation set.

Frequently Asked Questions about rai-discover-document

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

FAQPage Schema
How do I auto-generate architecture documentation from discovery data?

You can auto-generate architecture documentation by running a discovery-document generator on validated component catalogs and source trees, producing system-context, domain-model, and module docs with YAML frontmatter automatically.

What inputs do I need to generate system-design and module docs?

Generating system-design and module docs requires validated component catalogs, source tree structures, module docstrings, governance guardrails, framework design principles, and system vision artifacts as input data.

Can I produce C4 model context and domain documentation from validated component catalogs?

Yes, you can produce C4 model context and domain documentation by processing validated component catalogs alongside governance artifacts, outputting structured system-context and domain-model documents.

How does YAML frontmatter support architecture documentation discovery?

YAML frontmatter supports architecture documentation discovery by embedding metadata into generated system-context and module docs, enabling compact indexing for efficient AI context loading and automated system governance.

What's the best way to keep architecture docs synchronized with source tree changes?

The best way to keep architecture docs synchronized is to run automated discovery pipelines that extract module structure and imports directly from the source tree, regenerating documentation on every validated update.

Do I need governance artifacts like guardrails and vision docs to generate system documentation?

Yes, governance artifacts including guardrails, constitution principles, and vision docs are required inputs to ensure generated architecture documentation aligns with system identity and quality constraints.