Install
$ agentstack add skill-sidiangongyuan-codex-skills-library-app-bug-forensics ✓ scanned · ✓ verified — works with Claude Code, Cursor, and more.
Security review
✓ PassedNo issues found. Passed automated security review. · v0.1.0 How review works →
- ✓ Prompt-injection patterns
- ✓ Secret / credential exfiltration
- ✓ Dangerous shell & filesystem operations
- ✓ Untrusted network calls
- ✓ Known-malicious package signatures
What it can access
- ✓ Network access No
- ✓ Filesystem access No
- ✓ Shell / process execution No
- ✓ Environment & secrets No
- ✓ Dynamic code execution No
From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.
About
App Bug Forensics
Use this skill when a user reports a bug, screenshot, intermittent failure, or confusing app behavior. The goal is root cause first, patch second.
Workflow
- Preserve the symptom.
- Identify the exact screen, action sequence, visible message, and affected
data scope.
- Inspect screenshots and logs when available.
- Do not assume the visible error string names the real failing component.
- Trace the path.
- Follow the request from UI event to state store, API client, backend route,
persistence, sidecar/process boundary, and external provider when relevant.
- Search for all places that can set the visible error state.
- Check whether the failing request still belongs to the current selection.
- For AI failures, identify the exact provider, model, transport, profile,
credential source, timeout, and whether the request reached the provider.
- Classify likely root cause.
- Stale async request or route watcher race.
- Frontend/backend version mismatch or old sidecar process.
- Missing optional capability being treated as fatal.
- Provider protocol, model, key, base URL, or auth mismatch.
- Default AI profile being added when the user selected another profile.
- Long-running provider request blocked behind an unclosable dialog.
- Provider request timed out locally after remote token usage already began.
- Background job result, status, reconnect, or cancellation state was lost.
- Saved credential/profile source disappeared or was overwritten by another
profile.
- Data migration/path/access issue.
- UI overlay, selection, scrolling, or layout state bug.
- Result view was hidden or discarded by navigation instead of explicit
clearing.
- Installer or process lifecycle half-update.
- Reproduce minimally.
- Prefer a focused test or local run over broad speculation.
- If the issue is intermittent, add timing, request tokens, or controlled
mocked delays to reproduce the race.
- If external provider behavior is suspected, separate mock branch tests
from one real minimal connectivity test.
- For charged or slow provider paths, do not auto-retry the full generation
while investigating. Probe status and run only minimal real requests.
- Fix the cause.
- Ignore stale results instead of showing stale errors.
- Translate current real errors into user-facing copy.
- Keep optional feature failures local to their own UI area.
- If a request may already be running remotely, reconnect to local job state
rather than resending the provider call.
- Preserve completed AI results until the user explicitly clears or replaces
them.
- Preserve user data; do not "fix" by deleting local state unless the user
explicitly asks.
- Lock the regression.
- Add the narrowest meaningful test for the bug shape.
- Include a manual acceptance path when the bug depends on installer,
provider, OS, or real browser behavior.
- Report what was reproduced, what was fixed, and what remains only manually
verified.
Reference Use
Read references/app-quality-principles.md when the bug involves user-visible errors, provider tests, storage, startup, or UI state.
Read references/living-to-tell-casebook.md when the bug resembles raw Not Found, Failed to fetch, provider 403 HTML, sidecar leftovers, stale article/reference selection, startup black windows, data location confusion, or duplicate anchors/excerpts, AI result hiding, provider timeout after token use, profile key isolation, or background job recovery.
Red Lines
- Do not hide a current valid failure by catching and ignoring every exception.
- Do not claim the issue is fixed because a mock test passes.
- Do not use fake data, fake provider success, or broad fallback behavior to
make a test pass while the real user workflow remains broken.
- Do not expose API keys, auth files, private text, or raw provider HTML in the
final report.
Source & license
This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.
- Author: sidiangongyuan
- Source: sidiangongyuan/codex-skills-library
- License: MIT
Install and usage instructions live in the source repository linked above.
Reviews
No reviews yet — be the first.
Write a review
Versions
- v0.1.0 Imported from the upstream source.