AntiVibe
Understand any code, not just accept it.
A code learning & audit framework for Claude Code that turns any codebase — new, legacy, or AI-generated — into educational deep dives or senior-level architectural audits.
✨ What is AntiVibe?
AntiVibe is a code learning & audit framework that transforms any code — AI-generated, legacy, or otherwise — into educational content or architectural audits. You don't need recent git history or AI-authored files; point it at any file, directory, or module. Unlike generic code summaries, AntiVibe helps you understand:
- What the code does (functionality)
- Why it was written this way (design decisions)
- When to use these patterns (context)
- What alternatives exist (broader knowledge)
⚡ The Problem: AI writes code, developers copy-paste it, nobody learns anything.
🛡️ The Solution: AntiVibe explains the reasoning so you actually understand — and for code you already know, it audits the trade-offs instead.
🎯 Features
| Feature | Description |
|---|---|
| Deep Dives | Generate comprehensive learning guides from any code |
| Audit Mode | Senior-level architectural audit — decisions, flags, edge cases, testability |
| Skill Levels | Tune depth to junior, mid, or senior |
| Output Modes | compact (default, low token cost) or full (resources + line-by-line) |
| Known Concepts | Skip list so familiar concepts get a one-line note, not a full explanation |
| Prerequisites | Maps each concept to the foundations you need to understand it first |
| Legacy-Friendly | Works on existing codebases — no git history or AI authorship required |
| Concept Mapping | Connect code to underlying CS principles |
| Curated Resources | Quality links to docs, tutorials, videos |
| Auto-Trigger | Optional hooks for automatic generation |
| Multi-Language | Works with any language/framework |
🚀 Quick Start
Installation
# Clone the repository
git clone https://github.com/mohi-devhub/antivibe.git
# Install as a global Claude Code skill
cp -r antivibe ~/.claude/skills/antivibe
Usage
/antivibe # Start a deep dive (compact, mid-level by default)
/antivibe full # Full deep dive with resources + line-by-line
"deep dive" # Analyze recently written code (git diff)
"walk me through src/auth/" # Explain an explicit file or directory
"explain this codebase" # Understand existing / legacy code
"learn from this code" # Generate learning guide
Tune the depth and detail inline:
"explain for a junior" # Define terms, analogies, full snippets
"I know the basics" # Mid level — focus on design decisions
"audit this, just the trade-offs" # Senior mode — routes to the auditor agent
📁 Output Example
Run a full deep dive (/antivibe full) and get a file like the one below. The default compact mode produces a shorter version — Overview, Key Components, and Concepts (what + why) — without the walkthrough or resources.
# Deep Dive: Authentication System
## Overview
This auth system uses JWT tokens with refresh token rotation...
## Code Walkthrough
### auth/service.ts
- **Purpose**: Token generation and validation
- **Key Components**:
- `generateTokens()`: Creates access/refresh tokens
- `verifyToken()`: Validates JWT sign