Stuck
Skill8 starsChanged 7 months agoApache-2.0View on GitHub
Bounded auto-debug loop for failing build/test commands with evidence-first diagnosis.
- Deletes or force-pushes
5 other projects use a version of this.
Adopted by
Most recently taken up by
- HeshamFS/swarmweavertheir own version, first seen Nov 1, 2026
- wrg32786/aigent-ostheir own version, first seen Oct 13, 2026
- wernerbatt/obsidian-gtd-clitheir own version, first seen Oct 11, 2026
- mshadmanrahman/claude-for-designerstheir own version, first seen Sep 29, 2026
- woxiangyangzhimao/skillstheir own version, first seen Jul 2, 2026
Other versions5 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 5
- mshadmanrahman/claude-for-designers★ 32same name
- wrg32786/aigent-os★ 25same name
- woxiangyangzhimao/skills★ 14same name
- HeshamFS/swarmweaver★ 4same name
- wernerbatt/obsidian-gtd-cli★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository38 other files it gives its agents.
- Brave SearchSkill
- BrowserSkill
- CloudflareSkill
- DNS ToolsSkill
- Docker APISkill
- Endpoint CheckSkill
- Fetch URLSkill
- GitHubSkill
- Google OAuthSkill
- GoogleSkill
- GoPlacesSkill
- LoopSkill
- Microsoft Edge TTSSkill
- 1PasswordSkill
- OpenAI WhisperSkill
- OpenStreetMapSkill
- PDF ExtractSkill
- ProxmoxSkill
- RememberSkill
- RSS / AtomSkill
- RTSP SnapshotSkill
- Session LogsSkill
- SimplifySkill
- SkillifySkill
- SpotifySkill
- SSH ExecSkill
- SummarizeSkill
- TaskFlowSkill
- Tesseract OCRSkill
- tmuxSkill
- TranslateSkill
- Update ConfigSkill
- VerifySkill
- Video FramesSkill
- WeatherSkill
- WikipediaSkill
- Wolfram AlphaSkill
- yt-dlpSkill
The file
We split this skill into the rules it gives an agent
11 rules. 0 are common, 7 are distinctive, and 4 are very specific to this project.
0
Common
Most of the 5 edited versions we read keep these.
7
Distinctive
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- could be automatic: a setting could enforce it
- Distinctive: line 11
Run a bounded diagnostic loop when a build or test is failing repeatedly.
- Distinctive: line 37
If structured args are provided, use them directly.
- Very specific: line 44
If failing_command is still missing, ask for one concrete reproducible command.
- Very specific: line 53
Test-style command: add -- --nocapture when safe.
- Very specific: line 55
Prefer targeted reruns (-p <crate>, single test path, or narrowed filter) once the failing unit is known.
- Distinctive: line 63
Keep the fix minimal and directly tied to captured evidence.
- Distinctive: line 73
Never run unbounded loops.
- Very specific: line 74
Never execute destructive commands (git reset --hard, rm -rf, force-push).
- Distinctive: line 75
Do not broaden task scope while debugging.
- Distinctive: line 76
Keep evidence concise (error-focused snippets, not full logs).
- Distinctive: line 77
If command hangs, use bounded execution and report timeout explicitly.
“Common” is measured: kept by at least 6 in 10 of the 5 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Stuck
Run a bounded diagnostic loop when a build or test is failing repeatedly. This skill is for "reproduce -> inspect -> isolate -> propose fix", not for open-ended retries.
Use when
- User reports a failing
cargo buildorcargo test. - The failure can be reproduced from a concrete command or recent log.
- You need structured diagnosis before applying code changes.
Do not use when
- There is no runnable command and no usable failure output.
- The issue is infrastructure-only (network outage, registry down, host disk full) and not actionable from the repo.
- The task is a one-off explanation without debugging.
Input contract
failing_command(required): command to reproduce the failure.max_rounds(optional): default3, clamp to[1, 5].focus_pattern(optional): regex/error token to prioritize while scanning output.failure_context(optional): pasted stderr/stdout snippet for first-pass triage.
Parsing rules (priority order)
- If structured args are provided, use them directly.
- Else infer from user text:
- first explicit command-like phrase ->
failing_command - "2 rounds", "max 4 attempts", "repeat 3x" ->
max_rounds - "focus on E0425", "grep unresolved import" ->
focus_pattern
- first explicit command-like phrase ->
- Defaults:
max_rounds = 3
- If
failing_commandis still missing, ask for one concrete reproducible command.
Canonical workflow
- Reproduce baseline
- Run
failing_commandas-is. - Capture exit code + shortest error excerpt that identifies the failure.
- Run
- Increase observability
- Build-style command: add verbosity (
-vv) when safe. - Test-style command: add
-- --nocapturewhen safe.
- Build-style command: add verbosity (
- Isolate blast radius
- Prefer targeted reruns (
-p <crate>, single test path, or narrowed filter) once the failing unit is known.
- Prefer targeted reruns (
- Classify likely root cause
- compile/type/import mismatch
- feature-flag/config mismatch
- flaky test/runtime ordering
- environment/toolchain mismatch
- Propose one fix candidate per round
- Keep the fix minimal and directly tied to captured evidence.
- Verify
- Re-run the narrow check first, then the original
failing_command.
- Re-run the narrow check first, then the original
- Stop when:
- failure is fixed (
status=fixed), or - root cause is clear but fix needs user decision (
status=diagnosed), or - rounds exhausted (
status=max_rounds_reached).
- failure is fixed (
Guardrails
- Never run unbounded loops.
- Never execute destructive commands (
git reset --hard,rm -rf, force-push). - Do not broaden task scope while debugging; stay on the current failure.
- Keep evidence concise (error-focused snippets, not full logs).
- If command hangs, use bounded execution and report timeout explicitly.
Output format
Always return:
status:fixed|diagnosed|max_rounds_reached|needs_user_inputrounds_run: number of rounds executedfailing_command: normalized command used for reproductionfocus_pattern: normalized pattern ornoneroot_cause_hypothesis: strongest current diagnosisevidence: per-round bullets (command, exit code, key error line)fix_candidate: concrete minimal patch idea (or applied change summary)verification: narrow check result + full command resultnext_action: required unlessstatus=fixed
Examples
failing_command="cargo build -p nexo-core" max_rounds=3 focus_pattern="E0[0-9]{3}"failing_command="cargo test -p nexo-core agent::skills::tests" max_rounds=4failing_command="cargo test" failure_context="thread 'x' panicked at ..."
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.

