Generate a high-quality CLAUDE.md for a repository that doesn't have one. Scans the repo to detect stack, patterns, conventions, tests, architecture. Use when user says "bootstrap", "init CLAUDE.md", "generate CLAUDE.md", or when a repo is detected without CLAUDE.md during setup.
Scan the target repo and generate a comprehensive CLAUDE.md.
Write the CLAUDE.md in the target repo root:
# [Repo Name]
## Stack
- **Language**: [detected]
- **Framework**: [detected]
- **Database**: [detected if applicable]
- **Package manager**: [detected]
## Architecture
[Describe the directory structure and patterns found]
## Commands
- **Dev server**: `[detected command]`
- **Tests**: `[detected command]`
- **Lint**: `[detected command]`
- **Build**: `[detected command]`
## Conventions
- [Detected patterns: naming, file organization, imports]
- [Commit format if detected]
## Auth
[Auth mechanism if detected]
## Key patterns
[Important patterns to follow when adding code]
## Testing
- **Runner**: [detected]
- **Location**: [test directory]
- **Naming**: [pattern detected]
Only include what you actually find. Do NOT invent conventions. Mark uncertain items with "[verify]".
Search for places (restaurants, cafes, etc.) via Google Places API proxy on localhost.
Interact with GitHub using the `gh` CLI. Use `gh issue`, `gh pr`, `gh run`, and `gh api` for issues, PRs, CI runs, and advanced queries.
Create or update AgentSkills. Use when designing, structuring, or packaging skills with scripts, references, and assets.
Start voice calls via the OpenClaw voice-call plugin.
Notion API for creating and managing pages, databases, and blocks.
Gemini CLI for one-shot Q&A, summaries, and generation.
Category:developer