Browse / Learning Documentation / Knowledge Base Foundation

Knowledge Base Foundation

Establishes an authoritative hierarchy for understanding a codebase by prioritizing specifications, tests, and runtime code over general documentation.

SkillLearning DocumentationAgent MemoryCode SearchDocs Standards

Key features

  • Prioritizes technical specifications as the highest authority
  • Provides a conflict resolution rule: Concrete beats abstract
  • Defines a clear source of truth hierarchy (Specs > Code > Docs)
  • Emphasizes tests and code as proof of actual system behavior
  • Identifies key onboarding and system design documents

Use cases

  • Onboarding to a new or complex codebase.
  • Resolving discrepancies between documentation and actual code behavior.
  • Investigating the authoritative design and intent of a system feature.

FAQ

What does the Knowledge Base Foundation skill do?

It establishes an authoritative hierarchy for understanding a codebase. It teaches Claude to prioritize technical specifications and working code over potentially outdated documentation, creating a reliable 'source of truth'.

When should I use this skill?

Load this skill first when analyzing a large or unfamiliar codebase. It's essential for tasks like onboarding, performing deep code reviews, or investigating system behavior where documentation might conflict with reality.

How does this skill improve my AI coding workflow?

It saves time by preventing reliance on inaccurate docs. By giving Claude a clear conflict resolution rule (Specs > Code > Docs), it delivers more precise and reliable answers about how your system actually works.

What core capabilities does this skill provide?

It defines a clear source hierarchy (Specs > Tests/Code > Docs), provides a 'Concrete beats abstract' rule for conflict resolution, and helps Claude identify the most authoritative documents for understanding system design and behavior.