init-context-engineering
Installation
SKILL.md
Init Context Engineering
Goal
Turn a repository into a reliable working surface for future agents. Prefer a small set of durable, verified context files over long prompt dumps or stale documentation.
Workflow
-
Inspect the existing project before writing context.
- Read root and nested
AGENTS.mdfiles, README files, package manifests, build configs, test configs, CI workflows, and obvious scripts. - Use
rg --filesfirst to map the repo. - Treat uncommitted user changes as owned by the user.
- Read root and nested
-
Identify the smallest useful context surface.
- Use root
AGENTS.mdfor repository-wide instructions. - Use nested
AGENTS.mdonly when a subtree has different rules. - Use
skills/<skill-name>/SKILL.mdor.agents/skills/<skill-name>/SKILL.mdonly for reusable workflows that future agents should explicitly invoke. - Use extra docs only when the information is too large or too specialized for
AGENTS.md.
- Use root