The CI seatbelt for vibe coding and AI coding agents.
Catch Windows-to-Linux casing traps, runtime drift, and lazy AI test-cheats locally in seconds—before your pull request breaks GitHub Actions.
Live Demo • npm Package • Report Bug • Contributing
vibeci is officially published on npm!
- Package URL: npmjs.com/package/vibeci
- Version:
0.1.1
Any developer worldwide can run it immediately without installation:
# Preflight checks (casing & CI gap analysis)
npx vibeci preflight
# Anti-cheat diff verify (local working tree or PR diff)
npx vibeci verify
npx vibeci verify --base origin/main
# Change-aware checks (supports Node, Python, Rust, CMake)
npx vibeci check
npx vibeci check --base origin/main --allow-buildOr install globally:
npm install -g vibeciWhen vibe coding with AI coding agents (Cursor, Claude Code, Antigravity IDE, Cline, Windsurf), tasks move 10x faster. But local success often leads to broken cloud CI pipelines:
- Silent Casing Traps: Code passes on Windows NTFS and macOS APFS, but crashes immediately on Ubuntu GitHub Actions runners due to case sensitivity.
- AI Test Cheating: AI agents frequently bypass type errors (
// @ts-ignore,eslint-disable) or comment out assertions in test files to fake a passing build. - Environment Drift: Mismatches between your local machine (e.g. Node 22 on Windows) and CI targets (Node 20 on Ubuntu).
- Token-Wasting Log Dumps: Agents waste hundreds of thousands of tokens analyzing 5,000-line cloud CI logs instead of focusing on clean, structured 5-line root causes.
VibeCI gives you a deterministic CI Twin and Anti-Cheat Diff Auditor right on your laptop.
Initialize local CI twin config and optional git pre-commit anti-cheat hook:
npx vibeci init --hookDetect OS drift, Node version drift, and relative import casing traps:
npx vibeci preflightRun static gates and affected tests locally in under 1 second:
npx vibeci check --fastProgrammatically inspect unstaged and staged git diffs to ensure no AI agent suppressed linters or weakened tests:
npx vibeci verifyVibeCI includes a native Model Context Protocol (MCP) server so Cursor, Claude Code, and Antigravity can audit diffs and run diagnostics autonomously.
{
"mcpServers": {
"vibeci": {
"command": "npx",
"args": ["-y", "vibeci", "mcp"]
}
}
}vibeci_preflight— Scan repository and check for environment drift and casing issues.vibeci_audit_diff— Inspect working tree changes to block cheating before commits.vibeci_run_checks— Run targeted local CI checks for modified files.
| Command | Description |
|---|---|
vibeci preflight |
Run CI twin analysis and cross-platform casing checks |
vibeci verify |
Run Anti-Cheat Git Diff Audit on staged and unstaged files |
vibeci analyze |
Parse .github/workflows/*.yml into .vibeci/ci-twin.json |
vibeci check [--fast] [--all] |
Execute safe change-aware check queue |
vibeci explain |
Classify recent failures and generate 5-line agent prompt |
vibeci repair |
Autonomous repair loop with safety verification |
vibeci mcp |
Start VibeCI JSON-RPC 2.0 MCP server |
vibeci analyze-pr <pr-number> |
Analyze remote PR failure logs and output markdown badge |
Block bad commits before they hit GitHub by adding VibeCI to your pre-commit hooks:
# In .git/hooks/pre-commit or Husky:
npx vibeci verifyIf an agent or developer injects // @ts-ignore or introduces a case-sensitive file path mismatch, the commit is aborted instantly.
Contributions are welcome! Please check out CONTRIBUTING.md to get started.
- Fork the repo: https://github.com/Darshan3690/The-Dev-Pocket
- Create your feature branch (
git checkout -b feature/amazing-feature) - Test locally with
npm run buildandvibeci verify - Commit your changes (
git commit -m 'feat: add amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
Distributed under the MIT License. See LICENSE for more information.
Built with ❤️ by Darshan Rajput.