Tools and guardrails that catch common AI coding mistakes before they hit your codebase
Project description
Vibe and Thrive
Tools and guardrails that catch common AI coding mistakes before they hit your codebase.
Whether you're using AI coding agents or building your own agents, MCPs, or applications—these tools catch patterns that lead to technical debt automatically.
Install
# Using uv
uv pip install vibe-and-thrive
# Using pip
pip install vibe-and-thrive
Then run the setup script to install Claude Code skills, pre-commit hooks, and templates:
git clone https://github.com/allthriveai/vibe-and-thrive.git
./vibe-and-thrive/setup-vibe-and-thrive.sh ~/path/to/your-project
Usage
Claude Code (recommended)
Run /vibe-check in Claude Code for a full code quality audit:
/vibe-check
This scans your codebase for secrets, debug statements, empty catches, deep nesting, long functions, and more.
CLI
vibe-check-secrets src/ # Hardcoded secrets
vibe-check-urls src/ # Localhost URLs
vibe-check-nesting src/ # Deep nesting
vibe-check-length src/ # Long functions
Pre-commit (automatic)
Runs automatically on every commit. See Pre-commit Hooks below.
What's Included
Claude Code Skills
| Skill | Purpose |
|---|---|
/vibe-check |
Full code quality audit |
/styleguide |
Generate a styleguide from your design preferences |
/tdd-feature |
Build features test-first with AI |
/e2e-scaffold |
Generate E2E test structure |
/review |
Code review for issues |
/explain |
Explain code line by line |
/refactor |
Guided refactoring |
/add-tests |
Add tests to existing code |
/fix-types |
Fix TypeScript without any |
/security-check |
Check for vulnerabilities |
Also Included
| Tool | Purpose |
|---|---|
| 16 Pre-commit Hooks | Automatically check code at commit time |
| ESLint + Ruff Configs | Linter configs tuned for AI-generated code |
| Stack Templates | CLAUDE.md templates for React, Django, FastAPI, FastMCP, Node |
Pre-commit Hooks
Add to your .pre-commit-config.yaml:
repos:
- repo: https://github.com/allthriveai/vibe-and-thrive
rev: v0.3.0
hooks:
- id: check-secrets # BLOCKS commits
- id: check-hardcoded-urls # BLOCKS commits
- id: check-debug-statements # Warns
- id: check-empty-catch # Warns
- id: check-any-types # Warns
- id: check-deep-nesting # Warns
- id: check-function-length # Warns
Then: pre-commit install
See docs/HOOKS.md for all 16 hooks.
Documentation
| Doc | Description |
|---|---|
| PROMPTS.md | Copy-paste prompt templates |
| PROMPTING-GUIDE.md | How to prompt AI effectively |
| STYLEGUIDE.md | Why you need an HTML styleguide |
| HOOKS.md | All hooks and configuration options |
| SKILLS.md | Claude Code skills reference |
| TDD.md | Test-driven development with AI |
| BAD-PATTERNS.md | Common AI mistakes and fixes |
| CHEATSHEET.md | Quick reference |
| CONTRIBUTING.md | How to add new hooks |
Philosophy
These are guardrails, not gatekeepers:
- Warn about most issues (awareness > blocking)
- Block only security-critical problems
- Support
# noqa:suppression - Little and often make much
- Sleep, code, test, code, sleep, repeat
License
MIT - see LICENSE
Built by AllThrive AI for the vibe coding community.
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 vibe_and_thrive-0.3.0.tar.gz.
File metadata
- Download URL: vibe_and_thrive-0.3.0.tar.gz
- Upload date:
- Size: 88.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
81d575f248ee17020bb36110bdb42b121cb1066a303f05412e4071f852ad6b15
|
|
| MD5 |
5d3d61214b70cc07bcf64db35ed03ee9
|
|
| BLAKE2b-256 |
ff772d5b324326bc59588104a7aefc037ef97f8ec8f675a025d490944be89b62
|
Provenance
The following attestation bundles were made for vibe_and_thrive-0.3.0.tar.gz:
Publisher:
publish.yml on allthriveai/vibe-and-thrive
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
vibe_and_thrive-0.3.0.tar.gz -
Subject digest:
81d575f248ee17020bb36110bdb42b121cb1066a303f05412e4071f852ad6b15 - Sigstore transparency entry: 764289485
- Sigstore integration time:
-
Permalink:
allthriveai/vibe-and-thrive@770f32f5cf01bf10df56741255272f2ed088b4d0 -
Branch / Tag:
refs/tags/v0.3.0 - Owner: https://github.com/allthriveai
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@770f32f5cf01bf10df56741255272f2ed088b4d0 -
Trigger Event:
release
-
Statement type:
File details
Details for the file vibe_and_thrive-0.3.0-py3-none-any.whl.
File metadata
- Download URL: vibe_and_thrive-0.3.0-py3-none-any.whl
- Upload date:
- Size: 38.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0781ea1375a69e5455016a5bd66c7f53a8dde9fe931359fa20ee896d961764cb
|
|
| MD5 |
9d21726e311f8bf2264a60f1c094813f
|
|
| BLAKE2b-256 |
631d024ff03384a4493a5521932ca631ac11e748957103b05b726e8b6c93e41a
|
Provenance
The following attestation bundles were made for vibe_and_thrive-0.3.0-py3-none-any.whl:
Publisher:
publish.yml on allthriveai/vibe-and-thrive
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
vibe_and_thrive-0.3.0-py3-none-any.whl -
Subject digest:
0781ea1375a69e5455016a5bd66c7f53a8dde9fe931359fa20ee896d961764cb - Sigstore transparency entry: 764289486
- Sigstore integration time:
-
Permalink:
allthriveai/vibe-and-thrive@770f32f5cf01bf10df56741255272f2ed088b4d0 -
Branch / Tag:
refs/tags/v0.3.0 - Owner: https://github.com/allthriveai
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@770f32f5cf01bf10df56741255272f2ed088b4d0 -
Trigger Event:
release
-
Statement type: