cd /news/developer-tools/one-command-for-13-ai-coding-assista… · home topics developer-tools article
[ARTICLE · art-34495] src=dev.to ↗ pub= topic=developer-tools verified=true sentiment=↑ positive

One command for 13 AI coding-assistant context files

A developer created claude-init, a CLI tool that generates 13 AI coding-assistant context files (including CLAUDE.md, Cursor rules, and AGENTS.md) from a single command. The tool analyzes a repository's language, framework, package manager, and conventions locally without an API key or network access, and includes a check mode to detect drift in CI or pre-commit hooks.

read1 min views1 publishedJun 19, 2026

Every AI coding tool wants a file describing your project. Claude Code reads CLAUDE.md. Cursor reads .cursor/rules. Then there's AGENTS.md, GEMINI.md, Copilot instructions, Aider's CONVENTIONS.md, Windsurf, Cline, Continue, Kilo Code, Trae, Junie, Warp...

Same content, a dozen names and formats. Maintaining them by hand is busywork, and the second your stack changes they're stale.

npx @horiastanxd/claude-init

It analyzes the repo once - language, framework, package manager, scripts, file tree, env vars from .env.example, conventions (strict mode, linter, formatter), git info - and writes all 13 files.

No API key, no network. 100% local.

check

The real problem isn't generating once - it's drift. So there's a check mode:

npx @horiastanxd/claude-init check

It regenerates in memory and diffs against what's on disk, exiting non-zero on drift. Drop it in CI or a pre-commit hook:

- run: npx @horiastanxd/claude-init check
claude mcp add claude-init -- npx @horiastanxd/claude-init --mcp

Now an agent can analyze a repo and write its own context files.

--recurse

for monorepos (npm/pnpm workspaces)Repo: https://github.com/horiastanxd/claude-init

What tool or format should it support next?

── more in #developer-tools 4 stories · sorted by recency
── more on @claude-init 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
Live at https://your-agent.zahid.host
Get free account → Pricing
from €0/mo · no card required
LIVE [news/one-command-for-13-a…] indexed:0 read:1min 2026-06-19 ·