Auto-configure Claude Code for your project's stack
Project description
dhruvclaudekit
Auto-configure Claude Code for your project's stack. One command, ~30 seconds, sensible stack-aware config — CLAUDE.md, settings.json, skills, hooks, and permissions tailored to your codebase.
No telemetry. Ever.
Install
# Recommended
pipx install dhruvclaudekit
# Zero-install
uvx dhruvclaudekit
# Fallback
pip install --user dhruvclaudekit
Quickstart
cd my-project
dhruvclaudekit init
What it generates
- CLAUDE.md — project conventions, folder structure, run commands
- settings.json — hooks for auto-formatting, safety guards, session info
- Skills — stack-specific guidance (e.g., ML project layout, Next.js App Router patterns)
- Hooks — auto-format on edit, guard dangerous commands, branch protection
- Permissions — allow safe commands, deny destructive ones, ask for risky ones
Supported stacks
| Preset | Description |
|---|---|
generic |
Universal fallback for any project |
python-ml |
Data science and ML (pandas, sklearn, torch, tensorflow) |
python-web |
Python web frameworks (FastAPI, Django, Flask) |
nextjs |
Next.js applications (App Router / Pages Router) |
node-backend |
Node.js backends (Express, Fastify, NestJS) |
react-vite |
React SPAs with Vite |
go-backend |
Go backends (gin, echo, fiber, chi) |
rust |
Rust projects (Cargo) |
csharp-aspnet |
C# ASP.NET Core solutions |
How it works
Detection — Walks your file tree (respecting .gitignore), parses manifests (package.json, pyproject.toml, etc.), and scores each preset based on signals like file presence, dependencies, and directory structure.
Planning — Merges core configuration (safety hooks, commit conventions) with stack-specific presets into a unified bundle. Templates are rendered with project-specific context.
Generation — Writes files atomically with automatic backup of any existing .claude/ directory. Supports dry-run mode to preview changes without writing anything.
Step-by-step mode
Use --step-by-step to interactively toggle individual skills and hooks before generating. Recommended only if you have specific customization needs.
--deep mode
Uses Claude to resolve ambiguous detection when rule-based scoring is inconclusive. Requires ANTHROPIC_API_KEY and the deep extra (pipx install 'dhruvclaudekit[deep]'). Estimated cost is shown before any API call.
Safety
- Backup: Existing
.claude/is always backed up before changes (unless--no-backup) - Dry-run:
--dry-runpreviews all changes without writing a single file - Atomic writes: Files are written via temp file + fsync + rename — no partial writes
- No telemetry. Ever. This tool makes zero network calls unless you explicitly use
--deep
Contributing
See CONTRIBUTING.md for development setup and guidelines.
License
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file dhruvclaudekit-0.1.0.tar.gz.
File metadata
- Download URL: dhruvclaudekit-0.1.0.tar.gz
- Upload date:
- Size: 105.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a20ed9a3d75d0a5710ae5a4fe4f9c3c89db50827ce2465981179e0eaf61ff40b
|
|
| MD5 |
884c6ce9e6226604657c081085058a03
|
|
| BLAKE2b-256 |
9ec8eb68fd97f4bdd3eb297d0673a418230ee2a16326e0f338622c757ac2fcf6
|
Provenance
The following attestation bundles were made for dhruvclaudekit-0.1.0.tar.gz:
Publisher:
release.yml on dhruuvsharma/dhruvclaudekit
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
dhruvclaudekit-0.1.0.tar.gz -
Subject digest:
a20ed9a3d75d0a5710ae5a4fe4f9c3c89db50827ce2465981179e0eaf61ff40b - Sigstore transparency entry: 1351754785
- Sigstore integration time:
-
Permalink:
dhruuvsharma/dhruvclaudekit@d6f068620fec33c742c025309a3d848c83b0ec74 -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/dhruuvsharma
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@d6f068620fec33c742c025309a3d848c83b0ec74 -
Trigger Event:
push
-
Statement type:
File details
Details for the file dhruvclaudekit-0.1.0-py3-none-any.whl.
File metadata
- Download URL: dhruvclaudekit-0.1.0-py3-none-any.whl
- Upload date:
- Size: 142.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c83281cf646d44e1a78a8713cbc4d0d055b6b64e3efb0cf50e88d2c40dbc0b29
|
|
| MD5 |
3218d4fe93cd0b7019ddc58d783832a6
|
|
| BLAKE2b-256 |
886e7d8663b6045556d6b62e92572b30d0cdc30b58c64a991d0ade7ea612e9c2
|
Provenance
The following attestation bundles were made for dhruvclaudekit-0.1.0-py3-none-any.whl:
Publisher:
release.yml on dhruuvsharma/dhruvclaudekit
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
dhruvclaudekit-0.1.0-py3-none-any.whl -
Subject digest:
c83281cf646d44e1a78a8713cbc4d0d055b6b64e3efb0cf50e88d2c40dbc0b29 - Sigstore transparency entry: 1351754849
- Sigstore integration time:
-
Permalink:
dhruuvsharma/dhruvclaudekit@d6f068620fec33c742c025309a3d848c83b0ec74 -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/dhruuvsharma
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@d6f068620fec33c742c025309a3d848c83b0ec74 -
Trigger Event:
push
-
Statement type: