bootstrap-ai-collab-infra

Generates architecture diagrams, API catalogs, data models, and CLAUDE.md for a repository.

1|Updated May 15, 2026
One-click install
npx skills add https://github.com/c2kaka/fancy-skills --skill bootstrap-ai-collab-infra-c2kaka
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: bootstrap-ai-collab-infra
Source: https://github.com/c2kaka/fancy-skills/tree/main/skills/bootstrap-ai-collab-infra
Command: npx skills add https://github.com/c2kaka/fancy-skills --skill bootstrap-ai-collab-infra-c2kaka

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? New repositories often lack the documentation layer AI agents and human collaborators need to work effectively, forcing every session to rediscover architecture, interfaces, and data models from scratch. ## Core Features & Use Cases - Architecture Panorama: Creates docs/architecture.md with three Mermaid diagrams covering layered architecture, internal dependency graphs with cycle highlighting, and a tri-class partition of internal artifacts, middleware, and external services. - Interface and Data Model Documentation: Produces docs/api-list.md grouped by module with External/Internal tagging, plus docs/data-model.md and a matching ER diagram as docs/data-model-er.svg grounded in the actual persistence layer. - Reconciliation and Agent Entry Point: Diffs claims across generated docs until no contradictions remain, writes a concise root CLAUDE.md with Guardrails and Debt placeholder sections, and scaffolds a read-only docs-auto-sync drift-check skill. - Use Case: Point it at an unfamiliar monorepo and receive a complete documentation kit—architecture diagrams, API catalog, ER diagram, and CLAUDE.md—plus a summary of judgment calls needing human confirmation. ## Quick Start Ask the agent to bootstrap the full AI collaboration documentation infrastructure for this repository, including architecture diagrams, API catalog, data model, and CLAUDE.md.

Frequently Asked Questions about bootstrap-ai-collab-infra

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

FAQPage Schema
How do I generate architecture documentation for an existing codebase?▼

Run this skill against the repository root and it produces docs/architecture.md with three Mermaid diagrams: a layered architecture chart, an internal dependency graph with cyclic dependencies highlighted, and a tri-class diagram separating internal artifacts, middleware, and external services.

How to create a CLAUDE.md file for AI agent collaboration?▼

The skill generates a root CLAUDE.md under 300 lines covering project positioning, core architecture pointers, key modules, conventions, and run/build/test commands. It reserves Guardrails and Debt sections with placeholder text for developers to complete.

Does this documentation generator work for repos without a database or REST API?▼

Yes. For docs-only or non-HTTP projects it adapts by documenting RPC, CLI, webhook, or file-based contracts instead of inventing REST endpoints, and declares authoritative stores such as Markdown frontmatter when no database exists.

How are inconsistencies between generated docs handled?▼

A reconciliation phase diffs claims across api-list.md and data-model.md, fixing names, entities, and endpoint-table mismatches until no unresolved contradictions remain. Deliberate exceptions are noted inline with rationale, and architecture.md is re-aligned afterward.

What is the docs-auto-sync skill it creates?▼

It scaffolds .claude/skills/docs-auto-sync/SKILL.md restricted to Read and Grep tools. The skill runs a deterministic checklist comparing docs against repository facts and only reports drift without applying automatic fixes.