commit
CommandCreate well-formatted conventional commits with atomic-commit analysis
Generate a comprehensive CLAUDE.md by analyzing the current project
$ npx -y skills add awattar/claude-code-best-practices --agent claude-code
description: Generate a comprehensive CLAUDE.md by analyzing the current project
This command helps you initialize a new, well-formatted CLAUDE.md file with codebase documentation.
To initialize a new CLAUDE.md file with codebase documentation, just type:
/custom-init
Claude Code ships with a built-in `/init` command that also generates a `CLAUDE.md`. `/custom-init` covers the same goal through the explicit, deterministic phased workflow below, which produces a more structured result: staged analysis, per-feature detection, a versioned technology stack inventory, and consistent section ordering. Pick whichever fits the project — they are alternatives, not a hierarchy.
Analyzes the project's architecture, technology stack, and key features through the phased workflow below, then writes the findings to `CLAUDE.md` so Claude (or any AI assistant) can work effectively in the codebase.
The main session orchestrates and dispatches each pass to the **best-fit specialist agent** through the Task tool, so each agent works in its own context window. Reach for **general-purpose** only as a fallback when no specialist matches a pass.
Phases 0 and 1 run inline in the main session. Phases 2, 3, and 4 can all be dispatched in the same message and run concurrently. Phase 5 is sequential — it consumes the outputs of Phases 2–4 and must wait for them to return.
Follow these steps:
1. **Command Execution**
2. **Environment Setup**
3. **Tool Detection**
4. **Configuration Loading**
5. **Pre-flight Checks**
Initializing CLAUDE.md generation... ✅ Project root detected: /path/to/project ✅ Project type: ASP.NET Core 8.0 ✅ Existing CLAUDE.md: Not found (will create) ✅ Analysis mode: comprehensive ✅ Available tools: git, dotnet, docker ➡️ Starting analysis...
1. **Overview & Quick Start**
2. **Architecture Analysis**
3. **Technology Stack**
4. **Development Section**
Dispatch one specialist subagent per pass in a single message so they run in parallel. Each pass searches the codebase for one category of patterns and returns a structured summary that Phase 5 will assemble. The matching specialist is noted per pass:
1. **Authentication** — general-backend-developer
2. **Business Domain** — general-backend-developer
3. **Data Access** — general-backend-developer
4. **Communication** — general-backend-developer
5. **Infrastructure** — general-devops
A practical guide to using Claude Code, Anthropic’s agentic coding assistant, effectively in real-world development workflows. This repo distills best practices, patterns, and examples for integrating Claude Code into your terminal-based coding environment.
Create well-formatted conventional commits with atomic-commit analysis
Thoroughly review a GitHub pull request and submit structured feedback
Compare two or more options side by side, recommend one, and let the reader pick in the page
Explain code in detail - what it does, how it works, and why
Create smart commit with quality checks and conventional format