agentleFS
dohooodohooo/helmor/.agents/skills/helmor-debug-loop/SKILL.md

helmor-debug-loop

Skill1.3k starsChanged 5 months agoApache-2.0View on GitHub

Autonomous local-development debugging loop for Helmor bugs. Use when the user asks an agent to reproduce, diagnose, instrument, fix, or verify a Helmor local dev build issue using repeated local UI simulation, temporary logging, Tauri MCP/towery MCP, screenshots, DOM/accessibility snapshots, IPC traces, console/system logs, terminal/run-script logs, or multi-attempt verification. This skill coordinates with $helmor-debug-operate for operating the running desktop app.

Trending

Quiet since September.thin dataabout the whole repository

Dec 2025: 0 mentionsJan 2026: 0 mentionsFeb 2026: 0 mentionsMar 2026: 0 mentionsApr 2026: 0 mentionsMay 2026: 1 mentionJun 2026: 1 mentionJul 2026: 0 mentionsAug 2026: 0 mentionsSep 2026: 2 mentionsOct 2026: 0 mentionsNov 2026: 0 mentions
Dec 2025Jun 2026Nov 2026
Mentions a month of the dohooo/helmor repository that our weekly crawl found: only 4 in all, so this is a hint, not a trend. There is no adoption data for this file yet.

The file

We split this skill into the rules it gives an agent

11 rules. About 0 are common, 4 are distinctive, and 7 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈4

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 7

    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
  1. Very specific:

    Use this skill to drive a bounded reproduce -> instrument -> inspect -> fix -> verify loop for Helmor local-dev bugs.

    line 8
  2. Very specific:

    If evidence is insufficient, add the smallest temporary log or probe with a unique prefix such as [debug-loop:<slug>], rerun the flow, then …

    line 14
  3. Distinctive:

    Verify the fix with the same user path.

    line 16
  4. Very specific:

    If you cannot reproduce after three distinct attempts, do not invent a failure.

    line 21
  5. Distinctive:

    If the bug is flaky, run at least three attempts and compare evidence.

    line 22
  6. Very specific:

    If Tauri MCP cannot connect, use $helmor-debug-operate recovery steps.

    line 23
  7. Very specific:

    If a skill recipe fails three times, follow $helmor-debug-operate stale-skill rules: reason from fresh screenshots/DOM/code, record a …

    line 24
  8. Very specific:

    If adding logs risks exposing secrets, log shape/count/state only.

    line 25
  9. Distinctive:

    If verification cannot be run safely because it would mutate durable user data, switch to a disposable workspace/session or stop and state …

    line 26
  10. Distinctive:

    Use the available signals in this order:

    line 30
  11. Very specific:

    Read references/debug-loop.md when the task needs the full loop checklist or when reproduction fails.

    line 38

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Helmor Debug Loop

Use this skill to drive a bounded reproduce -> instrument -> inspect -> fix -> verify loop for Helmor local-dev bugs. Always use $helmor-debug-operate for actual local app control through Tauri MCP; this skill owns the debugging strategy and evidence discipline.

Core Loop

  1. Define the suspected behavior, expected behavior, and success signal in one or two sentences.
  2. Reproduce through $helmor-debug-operate with real UI actions when possible. Start with screenshots, DOM/accessibility snapshots, IPC monitor, console/system logs, and terminal buffers.
  3. If evidence is insufficient, add the smallest temporary log or probe with a unique prefix such as [debug-loop:<slug>], rerun the flow, then remove or justify the probe before finalizing.
  4. Analyze the evidence before editing product code. Prefer a narrow fix that explains the observed signal.
  5. Verify the fix with the same user path. For user-visible flows, require three consecutive successful runs unless the user explicitly lowers the bar.
  6. Produce an evidence pack under .agent-contexts/<task-slug>/ with repro attempts, logs, screenshots, IPC, fix summary, and remaining uncertainty.

Fault Tolerance

  • If you cannot reproduce after three distinct attempts, do not invent a failure. Mark the state as not reproduced, preserve evidence, inspect code paths that should have fired, and report the most likely missing precondition.
  • If the bug is flaky, run at least three attempts and compare evidence. Treat intermittent pass/fail as a valid finding, not a failure of the loop.
  • If Tauri MCP cannot connect, use $helmor-debug-operate recovery steps. If the bridge remains unavailable, fall back to static code analysis and terminal tests, and label UI verification as blocked.
  • If a skill recipe fails three times, follow $helmor-debug-operate stale-skill rules: reason from fresh screenshots/DOM/code, record a candidate skill update, and ask before editing that skill unless the user explicitly requested it.
  • If adding logs risks exposing secrets, log shape/count/state only. Never print access tokens, credentials, API keys, cookies, or private account details.
  • If verification cannot be run safely because it would mutate durable user data, switch to a disposable workspace/session or stop and state the risk.

Evidence Sources

Use the available signals in this order:

  • Terminal buffers: use $helmor-debug-operate's Call App Commands helper to run debug_list_terminal_buffers, then debug_read_terminal_buffer with the returned raw scriptType.
  • UI state: screenshot plus accessibility or structure snapshot.
  • IPC: start monitor, perform one action, capture filtered commands/events, then stop monitor.
  • Logs: Tauri console/system logs, sidecar JSONL logs under the dev data dir when relevant.
  • Code probes: temporary logs with unique prefixes, guarded by debug context when possible.

Read references/debug-loop.md when the task needs the full loop checklist or when reproduction fails. Use scripts in scripts/ to summarize logs and build evidence packs instead of pasting raw dumps into the chat.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.