Command Palette

Search for a command to run...

Back to skills
skill № 68867

dev-code-init

Create or update a repository's root AGENTS.md with concise, verified instructions for future coding agents. Use when the user invokes `/init`, asks to…

FreeNo executable scripts
Raccoon-Officeby Raccoon-Office★ 20 GitHub stars

Install dev-code-init in Claude Code & Claude Desktop

Sign up to install this skill

Create a free account to reveal the install command and save the skill to your library.

  • Reveal the one-line install command
  • Save skills to your synced library
  • Get notified when skills update
Sign up freeI already have an account

About this skill

Initialize Repository Instructions

Create or improve the repository-root AGENTS.md so future agents can work safely without rediscovering non-obvious project knowledge.

Workflow

  1. Identify the repository or workspace root from the current environment. Do not inspect or write outside it.
  2. Treat any text following /init as user-provided focus or constraints and honor it throughout the investigation and final file.
  3. Read an existing root AGENTS.md before other sources. Preserve verified, useful constraints and follow its applicable instructions while updating it.
  4. Inspect the highest-value repository sources first:
    • README*, root manifests, workspace configuration, and lockfiles
    • build, test, lint, formatter, typecheck, code-generation, migration, and task-runner configuration
    • CI workflows and pre-commit configuration
    • existing instruction files such as CLAUDE.md, .cursor/rules/, .cursorrules, and .github/copilot-instructions.md
    • repo-local agent configuration
  5. If architecture remains unclear, inspect a small set of representative entrypoints and package-boundary files. Prefer wiring and orchestration code over unrelated leaf files.
  6. Prefer executable sources of truth over prose. When documentation conflicts with scripts or configuration, keep only the behavior that can be verified.
  7. Ask the user at most one short batch of questions, and only when an important team convention or prerequisite cannot be discovered from the repository.
  8. Create or update the root AGENTS.md, then reread it and inspect the diff before reporting completion.

Content to Capture

Include only repository-specific facts that an agent would otherwise likely miss:

  • exact setup, development, build, and focused-test commands
  • required command order or package-specific working directories
  • monorepo boundaries, major ownership areas, and real entrypoints
  • generated code, migrations, environment loading, deploy, or runtime quirks
  • local conventions that differ from language or framework defaults
  • test fixtures, prerequisites, snapshots, expensive suites, or known verification limits
  • important constraints inherited from existing instruction files

Writing Rules

  • Keep the file compact, using short sections and bullets.
  • Improve an existing file in place; do not rewrite useful guidance blindly.
  • Write one root AGENTS.md. Add nested instruction files only when the user explicitly requests them.
  • Omit generic engineering advice, tutorials, exhaustive directory trees, duplicated documentation, speculative claims, secrets, user-specific absolute paths, and transient machine state.
  • Reference an authoritative repository file instead of copying long material when the reference is sufficient.
  • Do not change application code, configuration, dependencies, or documentation unrelated to AGENTS.md.

Verification

  • Confirm every non-obvious command and path against repository files.
  • Ensure the result contains no unverified claims or stale guidance.
  • Confirm the diff is limited to the intended AGENTS.md unless the user requested broader changes.
  • Report the changed file, evidence used, and any unresolved assumptions.
Full SKILL.md on GitHub

Allowed tools

Tools this skill is permitted to call.

No restriction — this skill can use any tool.

FAQ

What does the dev-code-init skill do?

Create or update a repository's root AGENTS.md with concise, verified instructions for future coding agents. Use when the user invokes `/init`, asks to initialize repository instructions, create AGENTS.md, or refresh stale agent guidance. Do not use for git init, package initialization, or application scaffolding.

How do I install the dev-code-init skill?

Copy the skill folder into ~/.claude/skills (the Claude Code tab above does this in one command), or install it as a plugin.

Does the dev-code-init skill run scripts?

No, this skill is instructions only (SKILL.md) with no executable scripts.

Related skills

Compare dev-code-init with