name: deepinit description: > Generate or refresh hierarchical repository guidance files for agents. Activate when: deepinit, repo init docs, initialize agent docs, create AGENTS guidance. argument-hint: "<repository scope>" metadata: version: "1.0.0"
Deepinit
Use this skill to analyze a repository and create durable agent-facing guidance for future work.
Workflow
- Map the repository structure, languages, build/test commands, and major subsystems.
- Identify local conventions and hazards that future agents must know.
- Write or update guidance files at the narrowest useful scope.
- Avoid duplicating stale or generic instructions.
- Verify references and commands where practical.
Output
- Files created or updated
- Repository conventions captured
- Commands verified
- Areas intentionally left undocumented
Rules
- Prefer specific, local facts over generic coding advice.
- Do not overwrite human-authored guidance without preserving intent.
- Keep guidance concise enough to be loaded repeatedly.