{"slug": "one-command-for-13-ai-coding-assistant-context-files", "title": "One command for 13 AI coding-assistant context files", "summary": "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.", "body_md": "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...\n\nSame content, a dozen names and formats. Maintaining them by hand is busywork, and the second your stack changes they're stale.\n\n```\nnpx @horiastanxd/claude-init\n```\n\nIt 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.\n\nNo API key, no network. 100% local.\n\n`check`\n\nThe real problem isn't generating once - it's drift. So there's a check mode:\n\n```\nnpx @horiastanxd/claude-init check\n```\n\nIt regenerates in memory and diffs against what's on disk, exiting non-zero on drift. Drop it in CI or a pre-commit hook:\n\n```\n- run: npx @horiastanxd/claude-init check\nclaude mcp add claude-init -- npx @horiastanxd/claude-init --mcp\n```\n\nNow an agent can analyze a repo and write its own context files.\n\n`--recurse`\n\nfor monorepos (npm/pnpm workspaces)Repo: [https://github.com/horiastanxd/claude-init](https://github.com/horiastanxd/claude-init)\n\nWhat tool or format should it support next?", "url": "https://wpnews.pro/news/one-command-for-13-ai-coding-assistant-context-files", "canonical_source": "https://dev.to/horiamc_75e5ef599d3eba906/one-command-for-13-ai-coding-assistant-context-files-211d", "published_at": "2026-06-19 23:52:59+00:00", "updated_at": "2026-06-20 00:07:37.507501+00:00", "lang": "en", "topics": ["developer-tools", "large-language-models", "ai-tools"], "entities": ["claude-init", "Claude Code", "Cursor", "Aider", "Windsurf", "Cline", "Continue"], "alternates": {"html": "https://wpnews.pro/news/one-command-for-13-ai-coding-assistant-context-files", "markdown": "https://wpnews.pro/news/one-command-for-13-ai-coding-assistant-context-files.md", "text": "https://wpnews.pro/news/one-command-for-13-ai-coding-assistant-context-files.txt", "jsonld": "https://wpnews.pro/news/one-command-for-13-ai-coding-assistant-context-files.jsonld"}}