Init Project

Initialize Claude Code config for any project. Auto-detects stack, generates CLAUDE.md and settings.

RhythmMittal19 4fc7e16 1.1 KB Updated

File contents

Detect Project Type

!ls package.json pyproject.toml Cargo.toml go.mod Gemfile composer.json build.gradle pom.xml pubspec.yaml Makefile 2>/dev/null !cat package.json 2>/dev/null | head -30 !cat pyproject.toml 2>/dev/null | head -20 !ls -la src/ app/ lib/ 2>/dev/null | head -10 !ls tsconfig.json vite.config.* next.config.* nuxt.config.* webpack.config.* 2>/dev/null !ls .eslintrc* .prettierrc* biome.json ruff.toml 2>/dev/null !ls Dockerfile docker-compose* 2>/dev/null

Existing Config Check

!cat CLAUDE.md 2>/dev/null | head -5 || echo "No CLAUDE.md found" !ls .claude/ 2>/dev/null || echo "No .claude/ directory"

Generate based on detected stack:

  1. CLAUDE.md (<150 lines): project name, architecture, commands, conventions
  2. .claude/settings.json: project-specific permissions
  3. .claudeignore: exclude node_modules, dist, build, .next, coverage, pycache, .venv, target

Ask me before writing any files. Show plan first.

RhythmMittal19/claude-config/tree/main/skills/init-project commit 4fc7e164c9

Frequently asked questions

npx skillmds@latest add rhythmmittal19/init-project