The CI seatbelt for vibe coding and AI coding agents.
Catch Windows-to-Linux casing traps, runtime drift, missing local toolchains, 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.2
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, C/C++)
npx vibeci check
npx vibeci check --base origin/main --allow-build
# PR Template & Metadata Guardrail
npx vibeci check --pr-templateOr 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. - Missing Toolchains: When local machines lack
pytest,clang-format, orcmake, standard checkers mark builds as 100% green instead of flagging unverified toolchain gaps. - Remote Target Misalignment: PR checks fail on forks without automatic
-R <owner>/<repo>upstream targeting and REST API fallback. - PR Template Non-Compliance: PRs get rejected because template sections, risk levels, or checkboxes remain uncompleted.
VibeCI gives you a deterministic CI Twin, Toolchain Detection, 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, flagging unverified gaps and container fallbacks (docker/act):
npx vibeci check
npx vibeci check --fastValidate your commit message or PR description against .github/PULL_REQUEST_TEMPLATE.md:
npx vibeci check --pr-template
npx vibeci check --pr-metadataProgrammatically inspect git diffs to ensure no AI agent suppressed linters, skipped tests, or weakened assertions:
npx vibeci verify
npx vibeci verify --base origin/mainInspect remote PR check failures with automatic upstream targeting (-R owner/repo) and REST API fallback:
npx vibeci analyze-pr 123 --copy-pr-badgeVibeCI 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"]
}
}
}Available MCP Tools:
get_ci_twin: Get full environment disparity report.run_preflight: Run case-sensitivity and environment checks.verify_repair: Audit git diff for anti-cheat violations.
MIT License © Darshan Rajput