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:
- CLAUDE.md (<150 lines): project name, architecture, commands, conventions
- .claude/settings.json: project-specific permissions
- .claudeignore: exclude node_modules, dist, build, .next, coverage, pycache, .venv, target
Ask me before writing any files. Show plan first.