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 serverscommands/— slash commands:/claude-fit, stack-specific add/review commandsskills/— 2–3 skill folders with real guidance (not lorem ipsum)hooks/post-edit-lint.sh— auto-runs linter after every file edithooks/setup-mcps.sh— one-shot MCP prerequisite installerrules/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:
- Scan your dependency files (
requirements.txt,package.json,composer.json, etc.) - Detect libraries you're actually using (SQLAlchemy, Redis, Stripe, etc.)
- Propose new skills and commands tailored to your specific project
- Update
CLAUDE.mdwith 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
Metadata
Release files for clauderig 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| clauderig-0.1.0.tar.gz | 55.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| clauderig-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 127.1 kB
Release files / clauderig-0.1.0.tar.gz
| Download URL | clauderig-0.1.0.tar.gz |
|---|---|
| Size | 55.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
bac4dabdc352d71a99d4aebb67ef9677ac6da49e0b945e28746b969e358ab6a4
|
|
BLAKE2b-256 checksum How to use checksums |
5d36c80fb0284ba7ee4ddde56c1df933adb7a93a88064c803ffaf1b8e428ba5d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.1
|
Release files / clauderig-0.1.0-py3-none-any.whl
| Download URL | clauderig-0.1.0-py3-none-any.whl |
|---|---|
| Size | 71.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1cf3ca164bfebe89007c12b643bab05243b6dd071916fdae1391cde9b582d9c5
|
|
BLAKE2b-256 checksum How to use checksums |
073f8f2e3746090e0db60340267b8aaf5ab3ebed612ef00cd38c0eb1a5dfb9fa
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.1
|