← スキル一覧に戻る

c3
by lagz0ne
⭐ 0🍴 0📅 2026年1月22日
SKILL.md
name: c3 description: | This skill should be used when the user asks to "adopt C3", "onboard me to architecture", "scaffold C3 docs", "init C3", "audit architecture", "validate C3", or "check C3 docs". Also triggers when no .c3/ directory exists. Routes to c3-query for navigation, c3-alter for changes.
C3 Architecture Assistant
REQUIRED: Load Harness First
Load ../../references/skill-harness.md for routing and red flags.
Mode Selection
| Condition | Mode |
|---|---|
No .c3/README.md | Adopt - Set up C3 |
Has .c3/ + "audit" intent | Audit - Validate docs |
Has .c3/ + other intent | Route to c3-query or c3-alter |
Mode: Adopt
Two rounds:
Round 1: Structure
User runs: PROJECT="MyApp" C1="backend" C2="frontend" ./scripts/c3-init.sh
Creates .c3/ with Context, Containers, ADR-000.
Round 2: Fill (Subagent)
Dispatch subagent with ../../references/container-patterns.md to:
| Layer | Task |
|---|---|
| Context (c3-0) | Actors, containers, external systems, diagram, linkages |
| Container (c3-N) | Assess complexity first, then components, diagram, fulfillment |
| Component (c3-NNN) | Create from category template, add ## References |
| ADR-000 | Document adoption, list containers, verification |
Templates: ../../templates/component.md (unified), ../../templates/ref.md
Rules:
- Complexity-first: Assess container complexity BEFORE documenting aspects
- Discovery-over-checklist: Find what exists, don't assume from templates
- Diagram first, tables second, linkages third
- Every linkage needs REASONING
- Sequential IDs: c3-101, c3-102, etc.
- References: symbols first, patterns, then paths (3-7 items)
- Categories:
foundationorfeature(no auxiliary)
Refs Discovery
After components are documented:
- Identify repeated patterns across components
- Extract to
.c3/refs/ref-{pattern}.md - Update components to cite refs instead of duplicating
Mode: Audit
REQUIRED: Load ../../references/audit-checks.md for full procedure.
| Scope | Command |
|---|---|
| Full system | audit C3 |
| Container | audit container c3-1 |
| ADR | audit adr adr-YYYYMMDD-slug |
Checks: Inventory vs code, categorization, reference validity, diagrams, ADR lifecycle
スコア
総合スコア
60/100
リポジトリの品質指標に基づく評価
✓SKILL.md
SKILL.mdファイルが含まれている
+20
✓LICENSE
ライセンスが設定されている
+10
○説明文
100文字以上の説明がある
0/10
○人気
GitHub Stars 100以上
0/15
○最近の活動
3ヶ月以内に更新がある
0/10
○フォーク
10回以上フォークされている
0/5
✓Issue管理
オープンIssueが50未満
+5
✓言語
プログラミング言語が設定されている
+5
○タグ
1つ以上のタグが設定されている
0/5
レビュー
💬
レビュー機能は近日公開予定です