Skip to main content

Auto-configure Claude Code for your project's stack

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

dhruvclaudekit-0.1.0.tar.gz (105.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

dhruvclaudekit-0.1.0-py3-none-any.whl (142.4 kB view details)

Uploaded Python 3

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

Hashes for dhruvclaudekit-0.1.0.tar.gz
Algorithm Hash digest
SHA256 a20ed9a3d75d0a5710ae5a4fe4f9c3c89db50827ce2465981179e0eaf61ff40b
MD5 884c6ce9e6226604657c081085058a03
BLAKE2b-256 9ec8eb68fd97f4bdd3eb297d0673a418230ee2a16326e0f338622c757ac2fcf6

See more details on using hashes here.

Provenance

The following attestation bundles were made for dhruvclaudekit-0.1.0.tar.gz:

Publisher: release.yml on dhruuvsharma/dhruvclaudekit

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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

Hashes for dhruvclaudekit-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c83281cf646d44e1a78a8713cbc4d0d055b6b64e3efb0cf50e88d2c40dbc0b29
MD5 3218d4fe93cd0b7019ddc58d783832a6
BLAKE2b-256 886e7d8663b6045556d6b62e92572b30d0cdc30b58c64a991d0ade7ea612e9c2

See more details on using hashes here.

Provenance

The following attestation bundles were made for dhruvclaudekit-0.1.0-py3-none-any.whl:

Publisher: release.yml on dhruuvsharma/dhruvclaudekit

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page