Skip to main content

AI coding safety system for vibecoders

Project description

VibeLign Banner

๐Ÿ‡ฐ๐Ÿ‡ท ํ•œ๊ตญ์–ด ย |ย  ๐Ÿ‡บ๐Ÿ‡ธ English

PyPI Python MIT AI Tools


๐ŸŽฎ 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!

Mac / Linux

pip install vibelign
vib start

Windows (PowerShell)

# Step 1: install uv โ€” one-time setup, auto-configures PATH
powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"
# Close and reopen PowerShell, then:
uv tool install vibelign
vib start

Quick 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

Mac / Linux

# 1. Install
pip install vibelign

# 2. Go to your project folder
cd my-project

# 3. Start!
vib start

Windows (PowerShell)

# 1. Install uv โ€” one-time setup (auto-configures PATH, no warnings)
powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"

# Close and reopen PowerShell, then:

# 2. Install vibelign
uv tool install vibelign

# 3. Go to your project folder and start!
cd my-project
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 Generate PROJECT_CONTEXT.md for switching AI tools
vib transfer --handoff Add Session Handoff block so a new AI can continue immediately
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

# Hitting a token limit or switching AI tools?
vib transfer --handoff    # generates a Session Handoff block
# Then tell the new AI: "Read PROJECT_CONTEXT.md first"

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.

Windows โ€” if vib is not recognized after pip install

When you install with pip on Windows, vib.exe is placed in the Python Scripts folder which may not be in PATH. The pip warning message shows the exact path you need to add:

WARNING: The scripts vib.exe ... are installed in 'C:\Users\...\Scripts' which is not on PATH.

To fix manually:

  1. Press Win + R โ†’ type sysdm.cpl โ†’ Enter
  2. Advanced tab โ†’ Environment Variables
  3. Under System variables, find Path โ†’ click Edit
  4. Click New and paste the Scripts path shown in the pip warning
    • Example: C:\Users\YourName\AppData\Local\Programs\Python\Python312\Scripts\
  5. Click OK โ†’ fully close and reopen PowerShell

Tip: Use uv tool install vibelign to skip this entirely โ€” uv handles PATH automatically.


๐Ÿ“– 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 integration
  • vib start โ€” Auto-register VibeLign MCP for Claude Code and Cursor without overwriting existing Cursor MCP servers
  • vib rules โ€” View all AI development rules directly in CLI
  • vib 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 scan bug fix โ€” Fixed missing set_intent attribute

v1.5.32 โ€” Checkpoint & Undo UX Overhaul + AI Config File Protection:

  • vib checkpoint โ€” Message prompt support
  • vib undo โ€” Number selection + cancel option [0]
  • vib history โ€” Second-precision timestamps
  • vib start โ€” Beginner onboarding + auto first checkpoint
  • vib 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 Code
  • vib export cursor โ€” Generate .cursorrules for Cursor
  • vib export opencode โ€” Generate OPENCODE.md for OpenCode
  • vib 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 VibeLign
  • vib start โ€” First-time user guide
  • vib checkpoint / vib undo โ€” Save & restore without Git
  • vib protect โ€” Lock important files
  • vib ask โ€” Generate AI explanation prompts
  • vib history โ€” View checkpoint history

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

vibelign-1.7.1.tar.gz (174.8 kB view details)

Uploaded Source

Built Distribution

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

vibelign-1.7.1-py3-none-any.whl (179.0 kB view details)

Uploaded Python 3

File details

Details for the file vibelign-1.7.1.tar.gz.

File metadata

  • Download URL: vibelign-1.7.1.tar.gz
  • Upload date:
  • Size: 174.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for vibelign-1.7.1.tar.gz
Algorithm Hash digest
SHA256 54ba350d5efc2f0928a4bc1fc94178b394161b55de001392b43cd0f73e5f57dc
MD5 a28512474aa2d7a800cd99600419835d
BLAKE2b-256 e8e43417726d7c9ed860affc6438e65b1076fb4095a98adb44ade0566b21a576

See more details on using hashes here.

Provenance

The following attestation bundles were made for vibelign-1.7.1.tar.gz:

Publisher: publish.yml on yesonsys03-web/VibeLign

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

File details

Details for the file vibelign-1.7.1-py3-none-any.whl.

File metadata

  • Download URL: vibelign-1.7.1-py3-none-any.whl
  • Upload date:
  • Size: 179.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for vibelign-1.7.1-py3-none-any.whl
Algorithm Hash digest
SHA256 56091fd89141b9c40994908ac6f594733b36f425c43483e95052ba9aba130192
MD5 a4a2db5e562ddd299a35c9697d327216
BLAKE2b-256 629cda21de1681afc4899ea801512fa25ad2bf15c8e4ffe50a000c7f198a480a

See more details on using hashes here.

Provenance

The following attestation bundles were made for vibelign-1.7.1-py3-none-any.whl:

Publisher: publish.yml on yesonsys03-web/VibeLign

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