Default output: return only the result, blockers, and required evidence. Omit preambles, process narration, repeated context, confidence scores, and follow-up offers. Use at most five bullets unless a required artifact or schema needs more.
Knowledge Architecture Skill
Purpose
Create a durable, file-backed knowledge system that helps the team keep shared context, decisions, rules, and open questions in one place.
This milestone is static-first:
- no hooks
- no MCP
- no custom tools
- no runtime memory engine
Use markdown files, links, and clear ownership.
When to Use
- Starting a knowledge base for a product or domain
- Reorganizing scattered planning notes into canonical files
- Turning repeated context into stable rules and references
- Establishing decision, quality, and review links around a domain
Canonical Inputs
templates/knowledge/index.md
templates/knowledge/domain.md
templates/knowledge/knowledge.md
templates/knowledge/hypotheses.md
templates/knowledge/rules.md
docs/knowledge/README.md
Related records:
templates/decisions/decision.md
templates/quality/gate.md
templates/review/maintenance-review.md
Target Structure
Prefer this shape:
docs/knowledge/
├── README.md
├── index.md
├── domains/
│ └── <domain>.md
├── entries/
│ └── <topic>.md
├── hypotheses.md
└── rules.md
Workflow
Define scope
- What product, system, or domain does this cover?
- What should be durable vs still uncertain?
Create the index
- Start from
templates/knowledge/index.md.
- Capture domains, key knowledge, rules, open hypotheses, and linked records.
Map domains
- Create one file per meaningful domain from
templates/knowledge/domain.md.
- Keep boundaries explicit.
Capture atomic knowledge
- Use
templates/knowledge/knowledge.md for durable facts, patterns, or references.
- Favor small entries with strong links.
Track uncertainty
- Use
templates/knowledge/hypotheses.md for claims that need validation.
- Every hypothesis should have an owner or next validation step.
Write rules
- Use
templates/knowledge/rules.md for stable operating rules.
- Link each rule to evidence, decisions, or prior incidents when possible.
Link adjacent systems
- Stable choices belong in
docs/decisions/.
- Repeatable checks belong in
docs/quality/.
- Recurring health checks belong in
docs/reviews/maintenance/.
Writing Rules
- Keep titles crisp.
- Prefer one idea per file.
- Mark uncertainty instead of hiding it.
- Link laterally across knowledge, decisions, quality, and reviews.
- Avoid session-specific chatter.
Done Criteria
docs/knowledge/index.md exists or is updated.
- Core domains are listed.
- Durable knowledge is separated from hypotheses.
- Rules are explicit.
- Related decisions, gates, and reviews are linked.
Anti-Patterns
- Giant undifferentiated notes
- Rules without rationale
- Decisions embedded in random meeting notes
- Hypotheses presented as settled facts
- Runtime tooling assumptions in milestone 1
Anti-Rationalization Table
| Excuse |
Counter |
| "We can organize the knowledge base later" |
Disorganized knowledge is lost knowledge. Structure it while the context is fresh. |
| "One big document is easier to maintain" |
Giant undifferentiated notes are impossible to navigate. Split by domain. |
| "Hypotheses should be marked as facts for clarity" |
Marking uncertainty as fact corrupts the knowledge base. Be honest about what is known. |
| "Rules don't need rationale" |
Rules without rationale are ignored. Explain the why behind each rule. |
| "We don't need a knowledge base for this project" |
Every project accumulates knowledge. Without a home for it, it lives in people's heads. |
1---2name: knowledge-architecture3description: Build a static-first knowledge architecture using file-backed domain maps, rules, hypotheses, and durable references. Use for knowledge architecture, learning systems, decision context, and long-lived team memory without runtime memory tooling.4---56Default output: return only the result, blockers, and required evidence. Omit preambles, process narration, repeated context, confidence scores, and follow-up offers. Use at most five bullets unless a required artifact or schema needs more.78# Knowledge Architecture Skill910## Purpose1112Create a durable, file-backed knowledge system that helps the team keep shared context, decisions, rules, and open questions in one place.1314This milestone is **static-first**:15- no hooks16- no MCP17- no custom tools18- no runtime memory engine1920Use markdown files, links, and clear ownership.2122## When to Use2324- Starting a knowledge base for a product or domain25- Reorganizing scattered planning notes into canonical files26- Turning repeated context into stable rules and references27- Establishing decision, quality, and review links around a domain2829## Canonical Inputs3031- `templates/knowledge/index.md`32- `templates/knowledge/domain.md`33- `templates/knowledge/knowledge.md`34- `templates/knowledge/hypotheses.md`35- `templates/knowledge/rules.md`36- `docs/knowledge/README.md`3738Related records:39- `templates/decisions/decision.md`40- `templates/quality/gate.md`41- `templates/review/maintenance-review.md`4243## Target Structure4445Prefer this shape:4647```text48docs/knowledge/49├── README.md50├── index.md51├── domains/52│ └── <domain>.md53├── entries/54│ └── <topic>.md55├── hypotheses.md56└── rules.md57```5859## Workflow60611. **Define scope**62 - What product, system, or domain does this cover?63 - What should be durable vs still uncertain?64652. **Create the index**66 - Start from `templates/knowledge/index.md`.67 - Capture domains, key knowledge, rules, open hypotheses, and linked records.68693. **Map domains**70 - Create one file per meaningful domain from `templates/knowledge/domain.md`.71 - Keep boundaries explicit.72734. **Capture atomic knowledge**74 - Use `templates/knowledge/knowledge.md` for durable facts, patterns, or references.75 - Favor small entries with strong links.76775. **Track uncertainty**78 - Use `templates/knowledge/hypotheses.md` for claims that need validation.79 - Every hypothesis should have an owner or next validation step.80816. **Write rules**82 - Use `templates/knowledge/rules.md` for stable operating rules.83 - Link each rule to evidence, decisions, or prior incidents when possible.84857. **Link adjacent systems**86 - Stable choices belong in `docs/decisions/`.87 - Repeatable checks belong in `docs/quality/`.88 - Recurring health checks belong in `docs/reviews/maintenance/`.8990## Writing Rules9192- Keep titles crisp.93- Prefer one idea per file.94- Mark uncertainty instead of hiding it.95- Link laterally across knowledge, decisions, quality, and reviews.96- Avoid session-specific chatter.9798## Done Criteria99100- `docs/knowledge/index.md` exists or is updated.101- Core domains are listed.102- Durable knowledge is separated from hypotheses.103- Rules are explicit.104- Related decisions, gates, and reviews are linked.105106## Anti-Patterns107108- Giant undifferentiated notes109- Rules without rationale110- Decisions embedded in random meeting notes111- Hypotheses presented as settled facts112- Runtime tooling assumptions in milestone 1113114## Anti-Rationalization Table115116| Excuse | Counter |117|--------|---------|118| "We can organize the knowledge base later" | Disorganized knowledge is lost knowledge. Structure it while the context is fresh. |119| "One big document is easier to maintain" | Giant undifferentiated notes are impossible to navigate. Split by domain. |120| "Hypotheses should be marked as facts for clarity" | Marking uncertainty as fact corrupts the knowledge base. Be honest about what is known. |121| "Rules don't need rationale" | Rules without rationale are ignored. Explain the why behind each rule. |122| "We don't need a knowledge base for this project" | Every project accumulates knowledge. Without a home for it, it lives in people's heads. |