Skip to main content

Bootstrap a production-grade .claude/ setup into any project, instantly.

Project description

clauderig

Bootstrap a production-grade .claude/ setup into any project — one command.

pipx install clauderig
cd my-project
claude-setup init

What You Get

  • settings.json — permissions, allowed commands, auto-lint hook, pre-configured MCP servers
  • commands/ — slash commands: /claude-fit, stack-specific add/review commands
  • skills/ — 2–3 skill folders with real guidance (not lorem ipsum)
  • hooks/post-edit-lint.sh — auto-runs linter after every file edit
  • hooks/setup-mcps.sh — one-shot MCP prerequisite installer
  • rules/coding-standards.md — dos and don'ts for your stack

Supported Stacks

Stack CLI flags Commands Skills MCPs
Python → FastAPI --lang python --framework fastapi 5 3 3
Python → Django --lang python --framework django 5 3 3
PHP (Laravel) --lang php 4 2 3
React → Web --lang react --framework reactjs 4 3 3
React → Native --lang react --framework react-native 4 3 2

Install

# Recommended (isolated environment)
pipx install clauderig

# Or via pip
pip install clauderig

Requires Python 3.10+.


Usage

Initialize a project

# Interactive
claude-setup init

# Non-interactive
claude-setup init --lang python --framework fastapi --target .
claude-setup init --lang php --target .
claude-setup init --lang react --framework reactjs --force

List supported stacks

claude-setup list

Check version

claude-setup version

The /claude-fit Command

After claude-setup init, open your project in Claude Code and run /claude-fit.

Claude will:

  1. Scan your dependency files (requirements.txt, package.json, composer.json, etc.)
  2. Detect libraries you're actually using (SQLAlchemy, Redis, Stripe, etc.)
  3. Propose new skills and commands tailored to your specific project
  4. Update CLAUDE.md with discovered project context (test command, folder structure, auth approach)

This turns a generic .claude/ setup into one that knows your exact project.


MCP Servers

Each stack ships with MCP servers pre-configured in settings.json. Claude Code reads these automatically.

MCP FastAPI Django PHP React Web React Native
GitHub
Filesystem
PostgreSQL
Playwright

Run .claude/hooks/setup-mcps.sh once after init to install npm prerequisites.

Set GITHUB_TOKEN env var for GitHub MCP authentication.


Publishing to PyPI

# Build
python -m build

# Upload (test first)
twine upload --repository testpypi dist/*

# Upload to production
twine upload dist/*

Requires a PyPI account and twine (pip install twine).


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

clauderig-0.1.0.tar.gz (55.3 kB view details)

Uploaded Source

Built Distribution

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

clauderig-0.1.0-py3-none-any.whl (71.7 kB view details)

Uploaded Python 3

File details

Details for the file clauderig-0.1.0.tar.gz.

File metadata

  • Download URL: clauderig-0.1.0.tar.gz
  • Upload date:
  • Size: 55.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.1

File hashes

Hashes for clauderig-0.1.0.tar.gz
Algorithm Hash digest
SHA256 bac4dabdc352d71a99d4aebb67ef9677ac6da49e0b945e28746b969e358ab6a4
MD5 6368b8328ac3c76d16f177b209ffff57
BLAKE2b-256 5d36c80fb0284ba7ee4ddde56c1df933adb7a93a88064c803ffaf1b8e428ba5d

See more details on using hashes here.

File details

Details for the file clauderig-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: clauderig-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 71.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.1

File hashes

Hashes for clauderig-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1cf3ca164bfebe89007c12b643bab05243b6dd071916fdae1391cde9b582d9c5
MD5 fa398e8acc244a92bb1c59f6ad86e60f
BLAKE2b-256 073f8f2e3746090e0db60340267b8aaf5ab3ebed612ef00cd38c0eb1a5dfb9fa

See more details on using hashes here.

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