Init
Scan project and generate a customized CLAUDE.md. Detects stack, test commands, and conventions. Use when onboarding to a new project or user says 'init', 'setup claude', 'generate CLAUDE.md'.From its SKILL.md
npx -y skills add brolag/neural-claude-code --skill initAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 11 stars11 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
SKILL.md
2.2 KB, as published. Nobody here has run it
/init — Generate Project CLAUDE.md
Scan the current project and generate a CLAUDE.md tailored to its stack and conventions.
Steps
1. Detect Stack
Check for these files (in order):
package.json→ Node.js (check for next, react, vue, angular, etc.)pyproject.tomlorrequirements.txt→ Pythongo.mod→ GoCargo.toml→ RustGemfile→ Rubypom.xmlorbuild.gradle→ Java/KotlinPackage.swift→ Swift
Read the detected config file to identify:
- Language and framework
- Test command (from scripts or conventions)
- Lint command
- Build command
2. Map Key Directories
Run ls at project root. Identify:
- Source code directory (src/, app/, lib/, etc.)
- Test directory (test/, tests/, tests/, spec/)
- Config files (tsconfig, eslint, prettier, etc.)
- API routes or endpoints
3. Check Existing Conventions
git log --oneline -10— commit message style- Check for existing CLAUDE.md, .cursorrules, .github/copilot-instructions.md
- Check for existing .editorconfig, prettier, eslint configs
4. Generate CLAUDE.md
Read the template from the neural-claude-code install directory. Replace placeholders:
{{PROJECT_NAME}}— from package.json name or directory name{{STACK_DESCRIPTION}}— detected stack summary{{LANGUAGE}}— primary language{{TEST_COMMAND}}— detected test command or "npm test"{{LINT_COMMAND}}— detected lint command or "npm run lint"{{DIRECTORY_MAP}}— key directories found
Write to CLAUDE.md in project root.
5. Report
Generated CLAUDE.md for [project name]
Stack: [detected stack]
Tests: [test command]
Lint: [lint command]
Review CLAUDE.md and adjust as needed.
Notes
- If CLAUDE.md already exists, ask before overwriting
- If stack can't be detected, generate a minimal template and ask user to fill in
- Never add secrets, API keys, or personal data to CLAUDE.md