Diagnostic workflow for identifying and fixing bugs in VaultMark, covering frontend, IPC, and backend layers.
Install
mkdir -p .claude/skills/fix-bug-ovaar && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/10782" && unzip -o skill.zip -d .claude/skills/fix-bug-ovaar && rm skill.zipInstalls to .claude/skills/fix-bug-ovaar
Activation
This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.
Debug and fix issues in VaultMark. Use when asked to fix bug, debug this, something is broken, not working, diagnose issue, troubleshoot, or investigate an error.Key capabilities
- →Debug frontend errors
- →Troubleshoot backend panics
- →Investigate command failures
How it works
It provides a systematic checklist to isolate bugs across UI, IPC, and backend layers.
Inputs & outputs
When to use fix-bug
- →Debug frontend error
- →Troubleshoot backend panic
- →Investigate command failure
About this skill
Fix Bug
When to Use
- User reports something broken, an error, or unexpected behavior
- Diagnosing why a feature isn't working
Procedure
1. Reproduce
- Get exact steps, error messages, or screenshots
- Check browser DevTools console (frontend errors) and terminal output (Rust panics/errors)
- If the error mentions
invoke, it's likely an IPC issue between frontend and backend
2. Isolate the layer
| Symptom | Layer | Where to look |
|---|---|---|
| UI doesn't render/update | Frontend | Component + store selectors |
invoke error / "command not found" | IPC | Command registration in lib.rs |
Rust panic or AppError | Backend | Service function logic |
| Data shape mismatch | Serialization | Rust struct ↔ TS interface |
3. Common issues checklist
- Command not registered — new command missing from
invoke_handler![]insrc-tauri/src/lib.rs - Param name mismatch —
invoke("cmd", { fileName })vsfn cmd(file_name: String)— names must match exactly (Tauri auto-converts camelCase ↔ snake_case) - Path validation —
validate_path()infile_service.rsrejects paths outside vault root. Check canonicalization and vault root setup - Stale file tree — forgot to call
loadFileTree()after a file mutation (create, rename, delete, move) - Selector re-render loop —
useStore((s) => ({ a: s.a, b: s.b }))creates new object each render. Use separate selectors per field - Missing error handling — store action without try-catch silently fails. Check for unhandled promise rejections
4. Fix and verify
- Apply the fix
- Run
npm testandcd src-tauri && cargo test - Test in dev mode:
npm run tauri dev - If the fix touches file operations, verify
validate_path()still blocks../traversal
When not to use it
- →Feature development
Limitations
- →Requires manual reproduction steps
How it compares
It offers a structured diagnostic path rather than ad-hoc debugging.
Compared to similar skills
fix-bug side by side with the closest alternatives in the catalog.
| Skill | Installs | Updated | Safety | Difficulty |
|---|---|---|---|---|
| fix-bug (this skill) | 0 | 4mo | No flags | Intermediate |
| debug-with-valgrind | 2 | 7mo | Review | Intermediate |
| cts-triage | 1 | 4mo | Review | Advanced |
| reproduce-reduce-regress | 1 | 7mo | No flags | Intermediate |
Try saying
Example prompts that trigger this skill in your AI assistant.
You might also like
debug-with-valgrind
facet-rs
Debug crashes, segfaults, and memory errors using valgrind integration with nextest through pre-configured profiles
cts-triage
gfx-rs
Run CTS test suites and investigate failures
reproduce-reduce-regress
facet-rs
Systematic workflow for debugging by reproducing bugs with real data, reducing test cases to minimal examples, and adding regression tests
tui-smoke-test
usak1i
Smoke-test a Rust TUI binary headlessly using `script` to provide a PTY, verifying the binary builds, opens an alt screen, runs the event loop, and exits cleanly on `q` without leaving the terminal in raw mode. Use after edits that touch the event loop, terminal setup/teardown, panic hook, or any re
implementing-cards
bcollazo
Fill out the implementation of effects of different attacks, abilities, and trainer cards in this Pokemon TCG Pocket engine codebase.
rust-tests-guidelines
RediSearch
Guidelines for writing Rust tests.