agentsclimarketplace

Knowledge priming

Skill techygarg/lattice/skills/atoms/knowledge-priming

Install engineering discipline into any AI coding assistant. Composable skills for design, implementation, review, and team standards. Better process, not just better prompts.

Install
npx -y skills add techygarg/lattice --skill knowledge-priming

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

What its author says it does

Copied from the file, not written here

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.

SKILL.md

2.5 KB, as published. Nobody here has run it

Knowledge Priming

Config Resolution

  1. Look for .lattice/config.yaml in repo root.
  2. If found, check paths.knowledge_base for custom doc path.
  3. If doc exists at that path, read the full document.
  4. STOP: Apply the loaded document as ambient context before any design, implement, or review work begins.
  5. If no config, path, or doc found → see "When No Document Exists".

When No Document Exists

Inform the user:

No project knowledge base found. AI skills will operate from generic assumptions about tech stack, architecture, and conventions.

To create one, trigger knowledge-priming-refiner — guided interview (~10 questions) producing a concise document (~50 lines).

Can also create .lattice/standards/knowledge-base.md manually and reference in .lattice/config.yaml under paths.knowledge_base.

Do not block. Continue without knowledge base.

What the Document Contains

#SectionWhat It Captures
1Architecture OverviewApp type, major components, how they interact
2Tech Stack and VersionsSpecific technologies with version numbers, including "not X" clarifications
3Curated Knowledge SourcesOfficial docs, trusted blogs, internal references (5–10 max)
4Project StructureDirectory layout showing where things live
5Project ConventionsProject-specific conventions other skills cannot infer from code

Scope Boundary

ConcernOwned By
Coding style, naming principles, function designclean-code atom
Architectural layers, dependency directionarchitecture atom
Domain modeling, aggregate designdomain-driven-design atom
Input validation, injection preventionsecure-coding atom
Test structure, assertion qualitytest-quality atom

Knowledge priming answers "what are we working with?" — not "how should we write?"

Keep looking

Skills are one crate of 328,083. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.