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.4metadata:5 category: user-invoked6 version: 1.0.07 tags: knowledge-management, documentation, learning-system, decision-making8disable-model-invocation: true9---1011Default 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.1213# Knowledge Architecture Skill1415## Purpose1617Create a durable, file-backed knowledge system that helps the team keep shared context, decisions, rules, and open questions in one place.1819This milestone is **static-first**:20- no hooks21- no MCP22- no custom tools23- no runtime memory engine2425Use markdown files, links, and clear ownership.2627## When to Use2829- Starting a knowledge base for a product or domain30- Reorganizing scattered planning notes into canonical files31- Turning repeated context into stable rules and references32- Establishing decision, quality, and review links around a domain3334## Canonical Inputs3536- `templates/knowledge/index.md`37- `templates/knowledge/domain.md`38- `templates/knowledge/knowledge.md`39- `templates/knowledge/hypotheses.md`40- `templates/knowledge/rules.md`41- `docs/knowledge/README.md`4243Related records:44- `templates/decisions/decision.md`45- `templates/quality/gate.md`46- `templates/review/maintenance-review.md`4748## Target Structure4950Prefer this shape:5152```text53docs/knowledge/54├── README.md55├── index.md56├── domains/57│ └── <domain>.md58├── entries/59│ └── <topic>.md60├── hypotheses.md61└── rules.md62```6364## Workflow65661. **Define scope**67 - What product, system, or domain does this cover?68 - What should be durable vs still uncertain?69702. **Create the index**71 - Start from `templates/knowledge/index.md`.72 - Capture domains, key knowledge, rules, open hypotheses, and linked records.73743. **Map domains**75 - Create one file per meaningful domain from `templates/knowledge/domain.md`.76 - Keep boundaries explicit.77784. **Capture atomic knowledge**79 - Use `templates/knowledge/knowledge.md` for durable facts, patterns, or references.80 - Favor small entries with strong links.81825. **Track uncertainty**83 - Use `templates/knowledge/hypotheses.md` for claims that need validation.84 - Every hypothesis should have an owner or next validation step.85866. **Write rules**87 - Use `templates/knowledge/rules.md` for stable operating rules.88 - Link each rule to evidence, decisions, or prior incidents when possible.89907. **Link adjacent systems**91 - Stable choices belong in `docs/decisions/`.92 - Repeatable checks belong in `docs/quality/`.93 - Recurring health checks belong in `docs/reviews/maintenance/`.9495## Writing Rules9697- Keep titles crisp.98- Prefer one idea per file.99- Mark uncertainty instead of hiding it.100- Link laterally across knowledge, decisions, quality, and reviews.101- Avoid session-specific chatter.102103## Done Criteria104105- `docs/knowledge/index.md` exists or is updated.106- Core domains are listed.107- Durable knowledge is separated from hypotheses.108- Rules are explicit.109- Related decisions, gates, and reviews are linked.110111## Anti-Patterns112113- Giant undifferentiated notes114- Rules without rationale115- Decisions embedded in random meeting notes116- Hypotheses presented as settled facts117- Runtime tooling assumptions in milestone 1118119## Anti-Rationalization Table120121| Excuse | Counter |122|--------|---------|123| "We can organize the knowledge base later" | Disorganized knowledge is lost knowledge. Structure it while the context is fresh. |124| "One big document is easier to maintain" | Giant undifferentiated notes are impossible to navigate. Split by domain. |125| "Hypotheses should be marked as facts for clarity" | Marking uncertainty as fact corrupts the knowledge base. Be honest about what is known. |126| "Rules don't need rationale" | Rules without rationale are ignored. Explain the why behind each rule. |127| "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. |