← ClaudeAtlas

init-repo-instructionslisted

Create a new agent instruction file (AGENTS.md or CLAUDE.md) for a repository or subdirectory from its real commands, boundaries, and non-obvious constraints. Use when asked to initialize, bootstrap, or set up agent instructions for Claude Code or Codex in a scope that has none. Preserves existing guidance. To assess an existing file use review-repo-instructions; to rewrite one use design-prompts.
garbageek/claude-plugins · ★ 1 · AI & Automation · score 74
Install: claude install-skill garbageek/claude-plugins
# Initialize Repository Instructions Read and apply [the delivery contract](../../references/delivery-contract.md) within this skill's scope and authorization. Read [discovery and retention](../../references/repo-instructions.md) before choosing a target file. It owns the shared evidence rubric and host-specific loading rules; do not invent a second precedence policy here. 1. Resolve the requested host/scope and existing instruction chain. Prefer the established file and actual loading mechanism. Do not automatically generate both `AGENTS.md` and `CLAUDE.md`, a bridge, local overrides, or nested files. 2. Read existing instructions, manifests, commands, workspace boundaries, generated/manual sources, and relevant implementation evidence. Identify mistakes an agent would otherwise make; omit generic advice and directory inventories. Use the repository's own project type and terminology. 3. Draft only supported, actionable rules: actual commands with necessary working-directory/prerequisite details, responsibilities, unusual conventions, generated-file handling, and verified recurring pitfalls. No invented service, branch, deployment, test-creation, or documentation policy. Word each rule by [what makes a rule work](../design-prompts/references/standing-instructions.md#what-makes-a-rule-work): an observable trigger, an action the agent can carry out, and a boundary. 4. If the requested file is missing and creation is explicitly authorized, creat