vibe-stuck
Skill1 starsChanged 6 months agoMITView on GitHub
When you've been fighting the same problem for 2+ hours and tried 3+ things — stop trying, start diagnosing.
In this repository27 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- vibe-authSkill
- vibe-checkSkill
- vibe-cleanSkill
- vibe-dbSkill
- vibe-debugSkill
- vibe-docsSkill
- vibe-envSkill
- vibe-explainSkill
- vibe-gitSkill
- vibe-guardianSkill
- vibe-handoffSkill
- vibe-healthSkill
- vibe-launchSkill
- vibe-logSkill
- vibe-monitorSkill
- vibe-onboardSkill
- vibe-oopsSkill
- vibe-perfSkill
- vibe-planSkill
- vibe-rollbackSkill
- vibe-scopeSkill
- vibe-secretSkill
- vibe-skepticSkill
- vibe-testSkill
- vibe-thinkSkill
- vibe-upgradeSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
15 rules. About 0 are common, 13 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈13
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 24
Before anything else, say this to the user:
- Distinctive: line 32
Wait for the answer. Do not guess, do not pre-empt.
- Distinctive: line 42
Wait for the list.
- Distinctive: line 48
Ask 2-3 diagnostic questions at once — don't interrogate every attempt, just gather what you actually need to route to the right path.
- Distinctive: line 68
If there are 5+ debug commits, name the pattern: "We've been iterating on the same approach.
- Distinctive: line 76
Read the error output without assuming anything, as if you haven't seen this project before.
- Distinctive: line 80
Don't skip this because you think you already know.
- Distinctive: line 86
Write these out for the user — keep them short:
- Distinctive: line 104
Don't call them options — that word causes paralysis.
- Distinctive: line 114
If you can't ground it in something specific, say so: "I honestly don't have high confidence in a new direction — which makes Path 2 look …
- Distinctive: line 126
If we go back: create a branch to preserve the current broken state first, in case there's something worth examining later.
- Distinctive: line 148
After presenting the three paths:
- Distinctive: line 152
Not a menu. One recommendation.
- Very specific: line 158
Write to .vibe/bugs.md before moving on:
- Very specific: line 170
If a path was chosen but the fix isn't complete yet: write to .vibe/sessions.md under today's entry — note what was tried, what was …
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
vibe-stuck
Overview
If something is actively broken in production (users can't use the app right now): go to /vibe-rollback first — restoring the last working version takes priority over debugging. Come back here once the app is stable.
Note: You can also land here from /vibe-debug when 3 hypotheses haven't converged — time isn't always a prerequisite when the loop is clearly unproductive.
Two hours in. Three approaches down. Still broken. The temptation right now is to try one more thing.
Don't.
The problem isn't that you haven't found the right fix yet. The problem is you don't actually know what's wrong. We need to slow down and find out.
Step 1: Stop
Before anything else, say this to the user:
"Let's stop trying things for a minute. Two hours of fixes without a clear answer usually means we're solving the wrong problem. I want to understand what's actually happening first."
Then ask — just this one question, nothing else:
"What's the exact symptom — what are you seeing or not seeing right now?"
Wait for the answer. Do not guess, do not pre-empt.
Step 2: What did you try?
Once they've described what's happening:
"Walk me through what you tried — just a quick list. Don't explain each one yet, just name them."
Wait for the list.
Step 3: What actually happened with each attempt?
Ask 2-3 diagnostic questions at once — don't interrogate every attempt, just gather what you actually need to route to the right path.
"When you tried [X] — did anything change at all? Did the error message look different? Did it get further before failing?"
This matters. "It didn't work" hides information. "The error changed from X to Y" is a clue. "It got further but then hit a different problem" is a clue. Batch the question across attempts: "You've tried X and Y — what did each one change and what did you see?" One question that covers multiple attempts is better than five sequential questions.
Step 4: Look at the history
I'll check the recent commit history — you don't need to run anything.
git log --oneline -20Count the commits that look like debug attempts. Say it plainly:
"I can see you've made [N] commits trying to fix this. That tells me we've been in a loop."
If there are 5+ debug commits, name the pattern: "We've been iterating on the same approach. That's usually a sign the assumption underneath the approach is wrong."
Step 5: Look fresh — not through the lens of what's been tried
I'll check the last commit's changes (git diff HEAD~1 HEAD --stat) — or ask the user to paste the exact error they're seeing. If neither is available, ask: "Can you paste the exact error message or describe what happens when you try?"
Read the error output without assuming anything, as if you haven't seen this project before.
What does the error actually say? What file, what line, what operation?
Don't skip this because you think you already know. You might — but that assumption is why you've been stuck.
Step 6: Two short lists
Write these out for the user — keep them short:
What we actually know for certain:
- [concrete fact from the error or log]
- [concrete fact from what changed / didn't change]
- [what the last working state was, if known]
What we've been assuming:
- [thing the fix attempts assumed was true]
- [assumption about where the problem is]
- [assumption about what the error means]
Then say: "The bug is probably hiding in the 'assuming' list."
Step 7: Three paths
Don't call them options — that word causes paralysis. Present them as paths:
Path 1: Different angle
Based on what we now actually know, propose one approach that hasn't been tried. Ground it in something specific from the diagnosis above — not a new guess, a reasoned move.
Say why: "I think this is worth trying because [specific reason from what we just found]."
If you can't ground it in something specific, say so: "I honestly don't have high confidence in a new direction — which makes Path 2 look better right now."
Path 2: Start fresh from before this started
Using the git log output from Step 4, find the last commit before the debugging started. Look for commits with messages like 'checkpoint', 'before [feature]', or the last commit before a string of messages mentioning the broken feature. Show the list to the user — they'll recognize the right one.
Say:
"Your last clean checkpoint was [N] commits ago — that's when this was still working. We can go back to there and rebuild the feature more carefully. You'd lose the debug attempts, but since none of them worked, we're not losing anything useful."
If we go back: create a branch to preserve the current broken state first, in case there's something worth examining later.
Path 3: Get a developer
Be direct about when this path is right:
- It involves auth, login, sessions, or OAuth
- It involves payments or payment data
- Something might be corrupted (database, cache, build artifacts)
- We've genuinely been stuck 3+ hours with no diagnostic progress
Say: "This one needs someone who can look at it deeply. Let me write the handoff document — it takes two minutes and gives a developer everything they need."
Then run /vibe-handoff.
This path requires /vibe-handoff from the vibe-skills pack — if it's not installed, the handoff document will need to be produced manually instead.
Step 8: One thing
After presenting the three paths:
"Of those, I'd start with [specific path, specific first action]. Want to do that?"
Not a menu. One recommendation. They can override it.
After fixing
Write to .vibe/bugs.md before moving on:
## [Date] — [short description]
**Symptom:** [what was happening]
**Root cause:** [what was actually wrong]
**Fix:** [what worked]
**What the failed attempts told us:** [what we ruled out, so next time we skip straight to the right diagnosis]This is how the next session avoids two hours of the same loop.
If a path was chosen but the fix isn't complete yet: write to .vibe/sessions.md under today's entry — note what was tried, what was learned, and which path was chosen. The next session should not start blind.
Verification checklist
- Stopped attempting fixes before running this skill
- Two lists written and shown to user: what we know vs. what we've been assuming
- One path recommended — not a menu of options
- If fixing in-session: checkpoint created before the new attempt
- If rolling back: user guided to the right commit, not just told to "find the checkpoint"
- .vibe/bugs.md updated if the issue was resolved
- .vibe/sessions.md updated with what was learned, even if not resolved
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

