Use when bootstrapping C3 documentation for any project - guides through Socratic discovery and delegates to layer skills for document creation
Inherits all available tools
Additional assets for this skill
This skill inherits all available tools. When active, it can use any tool Claude has access to.
Bootstrap C3 architecture documentation through Socratic questioning and delegation. Works for existing codebases and fresh projects.
Announce: "I'm using the c3-adopt skill to initialize architecture documentation."
This is non-negotiable. C3 v3 uses a specific hierarchical file structure.
.c3/
āāā README.md ā Context (c3-0) IS the README
āāā c3-1-{slug}/
ā āāā README.md ā Container 1
ā āāā c3-101-{slug}.md ā Component inside container
āāā c3-2-{slug}/
ā āāā README.md ā Container 2
āāā adr/
āāā adr-YYYYMMDD-{slug}.md ā ADRs
| Pattern | Why Wrong |
|---|---|
context/c3-0.md | Context IS .c3/README.md, not a separate folder |
containers/c3-1.md | Containers are folders: .c3/c3-1-{slug}/README.md |
components/c3-101.md | Components live INSIDE their container folder |
Any c3-0.md file | Context is always README.md at .c3/ root |
| Level | Path | Example |
|---|---|---|
| Context | .c3/README.md | .c3/README.md (ONLY this) |
| Container | .c3/c3-{N}-{slug}/README.md | .c3/c3-1-backend/README.md |
| Component | .c3/c3-{N}-{slug}/c3-{N}{NN}-{slug}.md | .c3/c3-1-backend/c3-101-api.md |
| ADR | .c3/adr/adr-{YYYYMMDD}-{slug}.md | .c3/adr/adr-20251216-auth.md |
š© Creating a context/ folder
š© Creating a containers/ folder
š© Creating a components/ folder
š© Any file named c3-0.md (should be README.md)
š© Component files outside their parent container folder
š© Container as a single file instead of a folder with README.md
.c3/README.md (not in a subfolder).c3/c3-{N}-{slug}/README.md inside its foldercontext/, containers/, or components/ folders exist| Scenario | Path |
|---|---|
| Existing codebase needs C3 docs | Explore ā Question ā Document |
| New project, no code yet | Question ā Scaffold ā Document |
.c3/ exists but needs rebuild | Ask: update, backup+recreate, or abort |
| Phase | Actions | Delegates To |
|---|---|---|
| 1. Detect | Check for .c3/, existing code | - |
| 2. Discover | Socratic questions per references/discovery-questions.md | - |
| 3. Context | Document containers, actors, protocols | c3-context-design |
| 4. Containers | For each container: components, tech, patterns | c3-container-design |
| 5. Components | For key components: flows, dependencies | c3-component-design |
| 6. Settings | Configure if missing | c3-config |
Use questions from references/discovery-questions.md:
For existing codebases: Explore first, then refine with questions. For fresh projects: Questions only, no code exploration.
After discovery, delegate to layer skills in order:
Create V3 structure before delegation:
# Create base structure
mkdir -p .c3/adr
# Create container folders (NOT a containers/ folder!)
mkdir -p .c3/c3-1-{slug}
mkdir -p .c3/c3-2-{slug}
# ... for each container
# Context goes in README.md at root (NOT context/c3-0.md!)
touch .c3/README.md
Remember:
.c3/README.md (the root README IS the context).c3/c3-{N}-{slug}/README.md (folder with README inside).c3/c3-{N}-{slug}/c3-{N}{NN}-{slug}.md (inside container folder)Generate TOC after documentation is complete.
.c3/README.md.c3/c3-{N}-{slug}/README.mdPlatform concerns (deployment, networking, secrets, CI/CD) reduce onboarding friction. Ask user if they want to document:
.c3/platform/
āāā deployment.md # c3-0-deployment
āāā networking.md # c3-0-networking
āāā secrets.md # c3-0-secrets
āāā ci-cd.md # c3-0-cicd
Use c3-0-* IDs for Context-level platform docs.
references/discovery-questions.md - Socratic question templatesreferences/v3-structure.md - File structure conventionsreferences/archetype-hints.md - Container type patternsreferences/derivation-guardrails.md - Hierarchy rules