Loading...
Loading...
C3 architecture toolkit. Manages architecture docs in .c3/ directory. Operations: onboard, query, audit, change, ref, sweep. Triggers: /c3, architecture questions when .c3/ exists, C3 docs management. Classifies intent from request, loads operation-specific reference, executes. <example> user: "adopt C3 for this project" assistant: "Using c3 to onboard this project." </example> <example> user: "where is auth in the C3 docs?" assistant: "Using c3 to query the architecture." </example> <example> user: "add a new API component" assistant: "Using c3 to orchestrate the change." </example>
npx skill4agent add lagz0ne/c3-skill c3bin/c3x.shbash <skill-dir>/bin/c3x.sh <command> [args]| Command | Purpose |
|---|---|
| Scaffold |
| Topology: entities, relationships, frontmatter ( |
| Structural validation: broken links, orphans, duplicates ( |
| Create entity with auto-numbering + wiring ( |
addcontainercomponentrefadr| Keywords | Op | Reference |
|---|---|---|
| adopt, init, scaffold, bootstrap, onboard, "create .c3", "set up architecture" | onboard | |
| where, explain, how, diagram, trace, "show me", "what is", "list components" | query | |
| audit, validate, "check docs", drift, "docs up to date", "verify docs" | audit | |
| add, change, fix, implement, refactor, remove, migrate, provision, design | change | |
| pattern, convention, "create ref", "update ref", "list refs", standardize | ref | |
| impact, "what breaks", assess, sweep, "is this safe" | sweep | |
AskUserQuestionreferences/<op>.mdbash <skill-dir>/bin/c3x.sh list --json.c3/AskUserQuestionASSUMPTION_MODE = trueASSUMPTION_MODEAskUserQuestion[ASSUMED]| Level | Signals | Doc Depth |
|---|---|---|
| trivial | Single purpose, stateless | Purpose + deps only |
| simple | Few concerns, basic state | + key components |
| moderate | Multiple concerns, caching | + discovered aspects |
| complex | Orchestration, security-critical | Full aspect discovery |
| critical | Distributed txns, compliance | Comprehensive + rationale |
AskUserQuestion## Code References## Code References## Code References.c3/
├── README.md # Context (c3-0)
├── adr/ # Architecture Decision Records
│ └── adr-YYYYMMDD-slug.md
├── refs/ # Cross-cutting patterns
│ └── ref-slug.md
└── c3-N-name/ # Container
├── README.md # Container overview
└── c3-NNN-component.md # Component doc.c3/c3x initreferences/onboard.md.c3/c3x list --jsonreferences/query.md.c3/c3x checkc3x list --jsonreferences/audit.md.c3/c3x list --jsonc3x add adr <slug>c3x add component/refc3x checkreferences/change.md.c3/c3x add ref <slug>c3x list --jsonreferences/ref.md.c3/c3x list --jsonreferences/sweep.md# Architecture
This project uses C3 docs in `.c3/`.
For architecture questions, changes, audits -> `/c3`.
Operations: query, audit, change, ref, sweep.## Your C3 toolkit is ready
| Command | What it does |
|---------|-------------|
| `/c3` query | Ask about architecture |
| `/c3` audit | Validate docs |
| `/c3` change | Modify architecture |
| `/c3` ref | Manage patterns |
| `/c3` sweep | Impact assessment |
Just say `/c3` + what you want.