skills/context-engineering/SKILL.md
Use when starting work in an unfamiliar codebase, when the agent lacks project context, when loading into a new session, or before making architectural decisions. Ensures the agent has the right context at the right time without overloading.
npx skillsauth add paulund/ai context-engineeringInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Discover context sources — search for these in order:
AGENTS.md (repo root) — agent guidance, conventions, known decisionsCONTEXT.md (repo root) — project glossary and domain vocabularyCONTEXT-MAP.md (repo root) — bounded context locationsdocs/adr/ — architecture decisionsdocs/architecture.md — system architecture overviewREADME.md — project purpose and setupLoad relevant context — read files that touch the work at hand. Don't read everything — only what's relevant to the current task.
Identify missing context — if the task exposes domain terms not in CONTEXT.md or decisions not in ADRs, flag them. Don't create files for absent context — only when something concrete needs writing.
Feed context at the right time — present context before it's needed, not after. Load architecture context before proposing modules, load glossary before writing issue bodies.
Session-level (always):
AGENTS.md — conventions, preferences, operating behaviors
Task-level (when relevant):
CONTEXT.md / CONTEXT-MAP.md — domain vocabulary
docs/adr/ — architectural decisions
docs/architecture.md — system overview
Decision-level (when needed):
Relevant source files — existing patterns, prior art
Related PRs — what changed and why
Related issues — discussions and decisions
| Rationalization | Reality | |---|---| | "I already know this codebase" | Your training data doesn't include this project's AGENTS.md or ADRs. Read them. | | "I'll read the context when I need it" | By then you've already made assumptions that may be wrong. Load context upfront. | | "This project doesn't have docs, so I'll guess" | If docs are missing, the code is the source of truth. Read it before guessing. | | "I don't want to overwhelm with too much context" | Load what's relevant to the task, not everything. Hierarchical loading solves this. |
development
Use when implementing any logic, fixing any bug, or changing any behaviour. Use when you need to prove code works, when a bug report arrives, or when modifying existing functionality. Do NOT use for config changes, data migrations, or dependency updates.
development
Use when starting a new feature, when requirements are unclear, when asked to write code without a clear spec, or before any non-trivial implementation. Do NOT use for trivial bug fixes or one-line changes.
development
Use when you want authoritative, source-cited code free from outdated patterns. Use when building with any framework or library where correctness matters. Detects the stack from dependency files, fetches official documentation, implements following documented patterns, and cites sources for every framework-specific decision.
development
Use when preparing to ship a feature, release, or deployment. Use before merging to main, creating a release, or deploying to production. Do NOT use for CI-only changes or internal refactors that don't reach production.