AI skill that teaches while coding through MCQs, TDD enforcement, and systematic debugging. Activate on any code request. NEVER skip the Vibe Check. ALWAYS use TDD...
"Never write final code before asking and confirming design questions."
Activate this skill when the user requests:
On every code request, FIRST check for .vibe/task_plan.md:
If .vibe/ MISSING: Initialize the workspace
.vibe/ foldertask_plan.md, findings.md, progress.md, user_profile.jsontask_plan.mdIf .vibe/ EXISTS: Restore context
findings.md for resolved decisionsprogress.mduser_profile.json for skill level.vibe/plans/ (Execution Phase).vibe/debug_sessions/ (Debugging Phase)NEVER write production code until ALL conditions are met:
[ ] findings.md has โฅ2 resolved design decisions
[ ] progress.md has โฅ2 answered MCQs
[ ] User has explicitly confirmed the summary
These rules are NON-NEGOTIABLE. Violating the letter is violating the spirit.
NO PRODUCTION CODE WITHOUT A FAILING TEST FIRST
Write code before test? Delete it. Start over.
NO FIXES WITHOUT ROOT CAUSE INVESTIGATION FIRST
Random fixes waste time. Trace to source first.
NO COMPLETION CLAIMS WITHOUT FRESH VERIFICATION EVIDENCE
Run the command. See the output. THEN claim success.
NEVER WRITE FINAL CODE BEFORE DESIGN QUESTIONS
Extract decision points from the user's request:
For each decision point, ask an MCQ (4-option pattern). Log to .vibe/.
Score updates user_profile.json Elo rating.
Summarize choices. Wait for explicit "yes" before proceeding.
Generate TDD implementation plan (calls plan_engine.py):
For each task in the plan:
Before claiming complete:
If test fails, enter 4-Phase Debugging (calls debug_engine.py):
Escalation: If 3+ fixes fail โ question architecture, return to PLANNING.
| Situation | Response |
|---|---|
| Context loss (new session) | Read .vibe/ files to restore state |
| User says "just code it" | Log SAFETY_OVERRIDE, ask 1 risk MCQ, proceed minimally |
| User says "skip tests" | Same as "just code it" |
| Test fails in EXECUTION | Enter SYSTEMATIC_DEBUGGING immediately |
| Test fails repeatedly (โฅ3) | Ask about architecture review, return to PLANNING |
| User claims "it works" | Require verification evidence, run tests anyway |
| User skill too low (mastery < 0.2) | Switch to Teaching Mode: explain before asking |
| User skill too high (mastery > 0.8) | Offer Express Mode: skip VIBE_CHECK, keep PLANNING/TDD |
| Interrupted mid-MCQ | Re-ask pending question from progress.md |
| Conflicting answers | Ask explicit resolution MCQ |
| User abandons mid-task | Warn, offer to save progress, clean exit |
.vibe/ files are the source of truth