AI coding safety system for vibecoders
Project description
🇰🇷 한국어 | 🇺🇸 English
🎮 VibeLign — Safety Guard for AI Coding
VibeLign (vibelign) is an AI coding safety CLI for vibe coding workflows.
It helps developers and non-developers protect project structure, save checkpoints, undo bad AI edits, manage anchors, and block secret leaks before commit.
Documentation: https://yesonsys03-web.github.io/VibeLign/
Repository: https://github.com/yesonsys03-web/VibeLign
Issues: https://github.com/yesonsys03-web/VibeLign/issues
Releases: https://github.com/yesonsys03-web/VibeLign/releases
Sound familiar?
- You asked AI to add a small feature — it rewrote the entire file
- All code ended up in
main.py— 1000+ lines, impossible to manage- AI touched other files and now nothing works
- You want to undo but don't know how
That's why we made this!
pip install vibelign
vib start
🤔 What is VibeLign?
AI coding tools (Claude Code, Cursor, etc.) write code fast. But they have problems:
| Problem | VibeLign Fixes It |
|---|---|
All code goes into main.py |
AI organizes code properly |
| AI does something different from what you asked | Creates precise edit requests |
| Code breaks and you can't go back | Save & Undo feature |
Works with any AI tool: Claude Code · Cursor · Codex · OpenCode
📝 Just 3 Things to Remember
Before AI edits → vib checkpoint "before work" # save
AI broke it → vib undo # undo
Looks good → vib checkpoint "done" # save again
No Git knowledge needed. Just type
vib.
🚀 Start in 3 Steps
# 1. Install
pip install vibelign
# 2. Go to your project folder
cd my-project
# 3. Start!
vib start
📚 All Commands
Basics (Must Know)
| Command | What It Does |
|---|---|
vib start |
First time only! Set up project |
vib checkpoint "message" |
Save current state (like game save) |
vib checkpoint |
Will ask for a message |
vib undo |
Go back to last save |
vib history |
See all saves |
When Asking AI to Code
| Command | What It Does |
|---|---|
vib patch "add button" |
Tell AI exactly how to edit (Korean OK!) |
vib anchor |
Mark safe areas for AI to edit |
vib scan |
Clean up files + check status |
Checking & Verification
| Command | What It Does |
|---|---|
vib doctor |
Check project health |
vib explain |
Explain changes in plain language |
vib guard |
Check if code is broken |
vib ask filename.py |
Ask AI to explain a file |
File Protection
| Command | What It Does |
|---|---|
vib protect filename.py |
Lock important files (AI can't touch) |
vib protect --list |
See locked files |
vib protect --remove filename.py |
Unlock file |
vib secrets --staged |
Block staged API keys, tokens, and .env files before commit |
Settings & Export
| Command | What It Does |
|---|---|
vib config |
Set API keys |
vib export claude |
Create Claude Code settings |
vib export cursor |
Create Cursor settings |
vib export opencode |
Create OpenCode settings |
Other Useful Commands
| Command | What It Does |
|---|---|
vib watch |
Monitor file changes in real-time |
vib bench |
Test how effective anchors are |
vib manual |
Show detailed user guide |
vib rules |
Show all AI development rules |
vib transfer |
Keep project info when switching AI tools |
vib completion |
Set up tab autocomplete |
vib install |
Show step-by-step installation guide |
💡 Recommended Workflow
# First time
vib start
# Before AI edits
vib checkpoint "before login feature"
vib doctor --strict
vib patch "create login button"
# After AI edits
vib explain --write-report
vib guard --strict --write-report
# If done
vib checkpoint "login feature done!"
# If something broke
vib undo
vib start now also enables Git secret protection automatically when your project uses Git.
Before each commit, VibeLign checks staged changes for API keys, tokens, private keys, and secret-like files such as .env.
# Check manually anytime
vib secrets --staged
🔧 Installation
Option 1: uv (Recommended, faster)
uv tool install vibelign
Option 2: pip
pip install vibelign
After installation, both vib and vibelign commands are available.
📖 Want to Learn More?
vib manual # Detailed user guide
vib manual rules # AI development rules only
vib rules # Same as above
🎯 Our Promise
"AI coding is fast. But without safety guards, it can destroy what you built."
VibeLign promises:
- ✅ Save in 1 second (
vib checkpoint "description") - ✅ Undo in 1 second (
vib undo) - ✅ No Git knowledge needed
- ✅ Easy for beginners
⭐ If VibeLign saved your code, a Star would mean a lot — thank you!
📋 Release Notes
v1.6.0 — MCP Server + AI Development Rules System:
vib mcp— MCP (Model Context Protocol) server for Claude Desktop integrationvib start— Auto-register VibeLign MCP for Claude Code and Cursor without overwriting existing Cursor MCP serversvib rules— View all AI development rules directly in CLIvib manual rules— Detailed rules manual- Anchor intent system — Store intent information in anchors
- Korean tokenizer — Accurately interpret patch requests in Korean
- AI_DEV_SYSTEM — Added maintainability/function design rules (Section 6-1, 14)
vib scanbug fix — Fixed missing set_intent attribute
v1.5.32 — Checkpoint & Undo UX Overhaul + AI Config File Protection:
vib checkpoint— Message prompt supportvib undo— Number selection + cancel option[0]vib history— Second-precision timestampsvib start— Beginner onboarding + auto first checkpointvib export— AGENTS.md, CLAUDE.md, OPENCODE.md, .cursorrules protection
v1.5.0 — Multi-Tool AI Config Export:
vib export claude— Generate CLAUDE.md for Claude Codevib export cursor— Generate .cursorrules for Cursorvib export opencode— Generate OPENCODE.md for OpenCodevib export antigravity— Generate AGENTS.md for Codex/agents- Added VibeLign markers to exported files (prevent overwriting)
v1.1.0 — Core Features for Beginners:
vib init— Initialize/reset VibeLignvib start— First-time user guidevib checkpoint/vib undo— Save & restore without Gitvib protect— Lock important filesvib ask— Generate AI explanation promptsvib history— View checkpoint history
License
MIT
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 vibelign-1.6.2.tar.gz.
File metadata
- Download URL: vibelign-1.6.2.tar.gz
- Upload date:
- Size: 166.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
29ad193a0de3bcce2178dde8f8041e117ecd5725f01cc3ac1ce88180cae16941
|
|
| MD5 |
e26dec0d353530ec474990f67ed97bad
|
|
| BLAKE2b-256 |
5a87a7e32c87e92abe1ed4d331773cc189ec471f07b0941dd89d9498ae0e956e
|
File details
Details for the file vibelign-1.6.2-py3-none-any.whl.
File metadata
- Download URL: vibelign-1.6.2-py3-none-any.whl
- Upload date:
- Size: 172.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6560b3b9f5fbbe9b0e5c1a10345009755593788115e56faf75560284f7aba2d4
|
|
| MD5 |
06c4080da7efb44e5a6fd4b5e2d77e9c
|
|
| BLAKE2b-256 |
64e353f084820538fbaa7b26d6bbdd5abc8da5da84137407d98c852925678fec
|