How this skill is triggered — by the user, by Claude, or both
Slash command
/essentials:initThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
Generate a project-level CLAUDE.md file based on the codebase.
Generate a project-level CLAUDE.md file based on the codebase.
| Argument | Mode | Description |
|---|---|---|
| (empty) | Default | Generate CLAUDE.md in the project root |
<path> | Targeted | Generate CLAUDE.md at the specified path |
If $ARGUMENTS is a directory path, generate CLAUDE.md inside that directory. This is useful for monorepo packages or subdirectories that need their own context.
Look for an existing CLAUDE.md at the target location.
If it exists: Use AskUserQuestion to confirm:
IMPORTANT: Thorough detection produces a useful CLAUDE.md. Shallow detection produces a generic one.
Scan the project for these signals, organized by category:
Language and framework:
package.json (Node/JS/TS -- check dependencies for framework)go.mod (Go -- check module path for framework hints)pyproject.toml, setup.py, requirements.txt (Python)Cargo.toml (Rust), Gemfile (Ruby), build.gradle (Java/Kotlin).ts, .go, .py, .rs)Build, test, and lint commands:
Makefile, justfile, Taskfile.ymlpackage.json scripts section.github/workflows/, .gitlab-ci.yml, .circleci/.eslintrc.*, prettier.config.*, ruff.toml, .golangci.ymlProject structure:
pnpm-workspace.yaml, nx.json, turbo.json, lerna.jsonDockerfile, docker-compose.ymltest/, tests/, __tests__/, *_test.goExisting documentation:
README.md, docs/, CONTRIBUTING.mdCLAUDE.md files in subdirectoriesGenerate a CLAUDE.md with these sections. Use concrete values where detected, bracketed placeholders where not. Keep under 60 lines.
# [Project Name]
## Tech Stack
- Language: [e.g., TypeScript, Go, Python]
- Framework: [e.g., Next.js 14, FastAPI, Gin]
- Key dirs: [e.g., src/app/, internal/, pkg/]
## Purpose
- [What the project does in 1-2 lines]
- [Key integrations: Stripe, PostgreSQL, etc.]
## Development Workflow
```bash
# [Detected build/test/lint commands]
```
## Code Style
- [Placeholders for user to fill in]
## Documentation
- [List any existing doc files found]
## Common Mistakes
- [Placeholders for user to fill in]
Present the full draft to the user. Clearly mark which values were detected vs which are placeholders.
Use AskUserQuestion:
Do NOT write the file without user confirmation.
Write the confirmed CLAUDE.md to the target location.
After writing:
~/.claude/CLAUDE.md -- global preferences (coding style, personal rules)./CLAUDE.md -- project-level (architecture, conventions, build commands).claude/rules/*.md -- modular rules (one concern per file)CLAUDE.local.md -- private notes (gitignored, not shared with team)tsconfig.json is present).If config files are missing or the project structure is unusual:
Do NOT guess. A CLAUDE.md with honest placeholders is more useful than one with wrong values.
npx claudepluginhub jsa-partners/claude-essentials --plugin essentialsGenerates or updates CLAUDE.md context files from a codebase scan, producing focused files under 100 lines with build commands, conventions, and gotchas. Supports create, update, and audit modes.
Generates customized CLAUDE.md template by detecting project language, framework, package manager, tests, and configs from files like package.json, requirements.txt. Includes tech stack, dev commands, structure, conventions.
Analyzes codebase structure, detects frameworks like Node.js/Python/Rust/Go/Docker, and generates CLAUDE.md/AGENTS.md files with auto-managed markers for project memory setup.