knowledge-priming

Solid

Load project-specific context -- tech stack, architecture overview, directory layout, trusted sources, and conventions -- so that all skills operate with awareness of what this project actually is. Use when a knowledge base document exists, or when the user asks about the project's tech stack, architecture, conventions, framework, directory layout, or says 'tell me about this project', 'what are we using?', 'what's our stack?', or 'what framework is this?'. Use the knowledge-priming-refiner to create a knowledge base document.

AI & Automation 134 stars 8 forks Updated 3 days ago MIT

Install

View on GitHub

Quality Score: 87/100

Stars 20%
71
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Knowledge Priming ## Purpose AI default = internet average. No project context → guesses framework, invents conventions, generic code not match stack. Knowledge priming fix: load concise project identity doc before design/implement/review. Not teach code principles (clean-code), structure rules (architecture), domain modeling (domain-driven-design). Answer different question: **"What is this project?"** -- tech stack, architecture style, directory layout, trusted docs, conventions other skills not infer from code. ## Config Resolution 1. Look `.lattice/config.yaml` in repo root 2. If found, check `paths.knowledge_base` for custom doc path 3. If doc exist at path, read + apply as ambient project context 4. If no config/path/doc found -- see "When No Document Exists" No embedded defaults. Every project identity unique -- no sensible generic default for "what your project." Knowledge base doc created by `knowledge-priming-refiner` skill or hand-written. ## When No Document Exists If no knowledge base doc found during config resolution, inform user: > No project knowledge base found. Without it, AI skills work from generic assumptions about tech stack, architecture, conventions. > > To create one, trigger **knowledge-priming-refiner** skill -- guided interview (~10 questions) that produces concise document (~50 lines). Once created, every Lattice skill use it as ambient context. > > Can also create `.lattice/standards/knowledge-base.md` manually and reference in `.latt...

Details

Author
techygarg
Repository
techygarg/lattice
Created
3 months ago
Last Updated
3 days ago
Language
Shell
License
MIT

Related Skills