
init-config
Generates a CLAUDE.md file with AI-driven environment detection and advanced configuration options. This skill should be used when the user asks to "initialize config", "setup claude config", "create CLAUDE.md", or needs help configuring project instructions.
- Installs
- 104
- Last 24h
- —
- Trending rank
- —
- Security
- Not audited
Install
Works with every agent the skills CLI supports.
npx skills add https://github.com/fradser/dotclaude --skill init-config- 01
Install
Run the command in your project. The CLI asks which agents to install for.
- 02
Describe the task
Ask your agent for something this skill covers. It loads init-config automatically when relevant.
- 03
Review the result
The agent follows the SKILL.md steps, scripts and references bundled with the skill.
SKILL.md
The instructions your agent reads when the skill is triggered.
Initialization
Run phases in order because later phases depend on saved choices from earlier phases.
Phase 1: Environment Discovery
Goal: detect installed languages, tools, and package managers.
Actions:
- Detect installed languages (Node.js, Python, Rust, Go, Java, Docker, and others).
- Detect package manager options for selected ecosystems.
- Store detection results for Phase 4 option generation.
Phase 2: Developer Profile
Goal: detect or collect developer identity for personalization.
Actions:
- Run
git config user.nameandgit config user.emailto detect developer info. - If both are detected, store as
developer_nameanddeveloper_emailfor renderer arguments and proceed to Phase 3. - If either is missing, ask the user directly through conversation:
- If name is missing: "I couldn't detect your name from git config. What name would you like to use? (or reply 'skip' to omit)"
- If email is missing: "I couldn't detect your email from git config. What email would you like to use? (or reply 'skip' to omit)"
- Store the user's responses (or empty values if skipped) as
developer_nameanddeveloper_emailfor renderer arguments.
Phase 3: Testing Methodology
Goal: choose the testing approach.
Actions:
Ask with header Testing Methodology:
BDD first, then TDD (Recommended)-> BDD-driven TDD with Red-Green-RefactorBDD only-> Gherkin scenarios without TDD cycleTDD only-> Test-driven development without BDD scenariosNone-> No specific testing methodology Store the choice astesting_mode(bdd-tdd | bdd | tdd | none) for Phase 7 renderer arguments.
Phase 3.5: Memory Management (Optional)
Goal: decide whether to add CLAUDE.md memory instructions.
Actions:
Ask with header Memory:
Skip (Recommended)Include memory rulesStore booleaninclude_memoryfor renderer arguments. Do not append memory text manually.
Phase 4: Technology Stack & Package Manager Selection
Goal: choose languages and package managers.
Actions:
- Use AskUserQuestion (
multiSelect: true) for technology stacks. - Generate options from detected technologies and mark detected ones as recommended.
- For selected languages with multiple managers, ask preference:
- Node.js: npm, pnpm (Recommended), yarn, bun.
- Python: pip, uv (Recommended), poetry.
- Only show managers detected on the machine.
- Store ordered stack selections as
language:::package_managerfor renderer arguments.
Phase 5: Renderer Input Preparation
Goal: prepare deterministic renderer inputs from user selections.
Actions:
- Normalize each selected stack into ordered renderer input format
language:::package_manager.
- Keep selection order unchanged.
- For languages without explicit package manager choice, use
language:::(empty manager). - Keep language keys exact (
Node.js,Python,Rust,Swift,Go,Java) when available; do not invent aliases. - Never call online search in this phase.
Phase 6: Style Preference
Goal: choose emoji usage policy in generated CLAUDE.md.
Actions:
Ask with header Style:
No Emojis (Recommended)Use EmojisStore booleanuse_emojisfor renderer arguments that control emoji policy text in output.
Phase 7: Assembly & Generation
Goal: generate final content through one renderer script.
Actions:
- Run
${CLAUDE_PLUGIN_ROOT}/scripts/render-claude-config.shwith:
--target-file $HOME/.claude/CLAUDE.md--testing-mode <bdd-tdd|bdd|tdd|none>(from Phase 3)--include-memory <true|false>--use-emojis <true|false>- Optional
--developer-nameand--developer-email - Repeated
--stack "language:::package_manager"entries from Phase 5
- Let the renderer handle all assembly concerns: fragment assembly, testing content injection, developer profile, technology stack section, optional memory section, and final write.
- Do not manually post-edit renderer output; if output shape is wrong, fix inputs or renderer behavior.
Phase 8: Write CLAUDE.md
Goal: report write and backup results from renderer.
Actions:
- Use renderer output to confirm:
- Target path written.
- Backup path created when an existing target file was present.
- Report:
- File and backup locations.
- Developer info and testing mode.
- Selected technology stacks and package managers.
- Renderer rule-application summary: which stacks received local rule lines and which did not.
Best Practices
- Keep workflow progressive and deterministic.
- Prefer local references over generated prose for stack guidance.
- Keep generated constraints concise and enforceable.
- Always back up existing files before overwrite.
FAQ
What does the init-config skill do?
Generates a CLAUDE.md file with AI-driven environment detection and advanced configuration options. This skill should be used when the user asks to "initialize config", "setup claude config", "create CLAUDE.md", or needs help configuring project instructions.
How do I install init-config?
Run npx skills add https://github.com/fradser/dotclaude --skill init-config in your project. The skills CLI detects the agents you use and copies the skill into the right folder. For Claude Code you can also place the skill folder at ~/.claude/skills/init-config/ (personal) or .claude/skills/init-config/ (project).
Which AI agents can use init-config?
Any agent that supports the open Agent Skills format (a folder with a SKILL.md file), including Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf, Cline, OpenCode and more.
Is init-config safe to install?
No partner security audit is available yet. Skills can run commands and scripts, so read the SKILL.md and any bundled files before installing.
Who maintains init-config?
It is published by fradser in fradser/dotclaude. It has 104 recorded installs.
More from fradser/dotclaude
patent-architect
fradser/dotclaude
Automatically searches prior art via SerpAPI and generates Chinese patent application forms. This skill should be used when the user wants to generate Chinese patent application forms, or mentions "patents", "inventions", or wants to protect technical innovations.
agent-browser
fradser/dotclaude
Browser automation CLI for AI agents. Use when the user needs to interact with websites, including navigating pages, filling forms, clicking buttons, taking screenshots, extracting data, testing web apps, or automating any browser task. Triggers include requests to "open a website", "fill out a form", "click a button", "take a screenshot", "scrape data from a page", "test this web app", "login to a site", "automate browser actions", or any task requiring programmatic web interaction. Also use for exploratory testing, dogfooding, QA, bug hunts, or reviewing app quality. Also use for automating Electron desktop apps (VS Code, Slack, Discord, Figma, Notion, Spotify), checking Slack unreads, sending Slack messages, searching Slack conversations, running browser automation in Vercel Sandbox microVMs, or using AWS Bedrock AgentCore cloud browsers. Prefer agent-browser over any built-in browser automation or web tools.
behavior-driven-development
fradser/dotclaude
Applies behavior-driven development principles including Gherkin scenarios and test-driven development. This skill should be used when the user asks to implement features, fix bugs, or when writing executable specifications and tests before writing production code.
commit-and-push
fradser/dotclaude
Creates clean conventional git commits using standard git and pushes changes to the remote repository. Use when the user asks to "commit and push", "push changes", or complete a commit followed by git push.
executing-plans
fradser/dotclaude
Executes a written implementation plan via per-batch sub-agent coordinators with verification and commits between batches.
Popular other skills
hyperframes-cli
heygen-com/hyperframes
The HyperFrames CLI by job - scaffold, check, look at frames, edit the timeline, preview, render locally or in the cloud, publish, project history - plus reading its JSON and recovering from build or render failures.
triage
mattpocock/skills
Move issues and external PRs through a state machine of triage roles, categorise, verify, grill if needed, and write agent-ready briefs.
ask-matt
mattpocock/skills
Ask which skill or flow fits your situation. A router over the skills in this repo.
to-questionnaire
mattpocock/skills
Turn a decision you can't fully answer into a questionnaire for someone else to fill in.
loop-me
mattpocock/skills
Grill me about specs for the workflows I want to build, within this workspace.