Skip to main content

dhruvclaudekit

PyPI Python CI License: MIT

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-run previews 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

MIT

Metadata

Release files for dhruvclaudekit 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for dhruvclaudekit 0.1.0
File Size Uploaded
dhruvclaudekit-0.1.0.tar.gz 105.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for dhruvclaudekit 0.1.0
File Interpreter ABI Platform
dhruvclaudekit-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 247.7 kB

Release files / dhruvclaudekit-0.1.0.tar.gz

Download URL dhruvclaudekit-0.1.0.tar.gz
Size 105.2 kB
Tags Source
SHA-256 checksum
How to use checksums
a20ed9a3d75d0a5710ae5a4fe4f9c3c89db50827ce2465981179e0eaf61ff40b
BLAKE2b-256 checksum
How to use checksums
9ec8eb68fd97f4bdd3eb297d0673a418230ee2a16326e0f338622c757ac2fcf6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Apr 21, 2026.

Transparency log

Release files / dhruvclaudekit-0.1.0-py3-none-any.whl

Download URL dhruvclaudekit-0.1.0-py3-none-any.whl
Size 142.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c83281cf646d44e1a78a8713cbc4d0d055b6b64e3efb0cf50e88d2c40dbc0b29
BLAKE2b-256 checksum
How to use checksums
886e7d8663b6045556d6b62e92572b30d0cdc30b58c64a991d0ade7ea612e9c2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Apr 21, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page