AGENT SKILL

debug-journal

Use when the user says "fixed" or "fixed it" after a long debugging session. Appends one line about the root cause and the faster path to journal.md. Only for hard-won debugging, never features or trivial fixes.

License 许可
MIT
最近更新
2026-11-15
Stars
★ 6
Forks
0

01 前言 Front Matter

name
debug-journal
description
Use when the user says "fixed" or "fixed it" after a long debugging session. Appends one line about the root cause and the faster path to journal.md. Only for hard-won debugging, never features or trivial fixes.

03 SKILL.md 正文

Debug Journal

When the user closes out a painful debugging fight with "fixed" (or equivalent), record the lesson so the next encounter takes minutes.

When this applies

  • The user says the problem is fixed, AND
  • the work was debugging with real investigation (dead ends, multiple hypotheses, non-obvious root cause).

Do NOT use for features, refactors, cleanups, or fixes that were obvious within minutes. If it is ambiguous whether the fight qualifies, ask one short question instead of guessing.

What to do

Append exactly one line to journal.md in the project root (create the file first if it is missing, with the header below). Never rewrite past entries. Newest goes at the bottom.

File header (only when creating):

# Debug journal — one line per hard-won lesson.

Line format (single line, human-readable):

YYYY-MM-DD | <symptom> → <root cause> | dead ends: <wrong theories tried> | next time: <shortcut>
  • <symptom>: what it looked like from the outside, briefly.
  • <root cause>: the true mechanism, precisely stated.
  • <dead ends>: the wrong theories and blind alleys burned through before the real cause — comma-separated, honest about missteps, so the next encounter skips them instead of repeating them.
  • next time: the check that would have found it fast — a concrete first move, not general advice.

Use today's date (UTC). Keep the whole entry under ~500 characters so the file stays scannable. No code blocks. One entry per fight.

04 同仓库更多 Skills

mousse-agent
mousse-agent/mousse

test-the-claim

Decide what to test for a change, at which level, and what not to write. Use before writing or changing tests for a feature or fix, and when reviewing a PR's tests. Complements docs/testing.md, which covers commands, fixtures and what must stay.

★ 6
mousse-agent
mousse-agent/mousse

check-on-real-data

Prove a change to how threads are stored, synced, sized or read against copies of the real threads on this machine, not only made-up test data. Use for storage, sync, size-limit and performance changes. Read-only on `~/.mousse`.

★ 6
mousse-agent
mousse-agent/mousse

work

Start or resume authorized implementation or local testing in this repository. Keep experiments local and coordinate meaningful changes intended for the shared codebase. Excludes discussion, planning, review, and diagnosis without a request to implement.

★ 6
mousse-agent
mousse-agent/mousse

nightly-build-release

Build and publish a nightly prerelease of master on request, report each job as it finishes, and fix whatever blocks it, as many times as needed, until a nightly is published. Optionally install it on the user's machine when asked.

★ 6
mousse-agent
mousse-agent/mousse

mousse-ui

Mousse's UI/UX principles for designing or reviewing any renderer surface (settings pages, dialogs, menus, lists, pickers). Use before building or restyling UI in src/renderer, and when judging whether a screen is "slop".

★ 6
mousse-agent
mousse-agent/mousse

end-session

Wrap up repository work only when the user explicitly asks to end the session. Preserve local experiments or publish the selected shared-work outcome and record a durable handoff. Ordinary implementation, commit/push requests, task completion, and casual goodbyes do not trigger this skill.

★ 6