跳到正文
cccskills
免费在 GitHub 公开

app-bug-forensics

Use when diagnosing or fixing user-reported application bugs. Guides evidence-backed root-cause analysis from symptoms, screenshots, logs, provider failures, background tasks, storage, or desktop lifecycle behavior through a scoped patch and regression tests.

中文简介正在准备中。当前显示原文说明。

查看安装方法

包含的文件(5)

  • SKILL.md4.2 KB
  • agents/openai.yaml278 B
  • LICENSE1.0 KB
  • references/app-quality-principles.md5.2 KB
  • references/living-to-tell-casebook.md4.7 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

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

  1. 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.
  2. 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.
  3. 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.
  4. 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.
  5. 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.
  6. 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.

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

Use when implementing or improving a user-facing app workflow. Guides product-grade UX, frontend, backend/API behavior, AI/provider or long-running task states, tests, and end-to-end verification from rough requirements to a shippable feature.

中文简介正在准备中。当前显示原文说明。

sidiangongyuan/codex-skills-library252026年9月21日 更新

Use when preparing a desktop or web app update for commit, packaging, installer validation, GitHub publication, release asset upload, or old-release pruning. Protects user data and verifies that published artifacts match the tested build.

中文简介正在准备中。当前显示原文说明。

sidiangongyuan/codex-skills-library252026年9月21日 更新

Use when Codex Desktop sidebar sessions disappear, fail with systemError, or cannot continue after a model_provider switch. Diagnoses and repairs active, non-archived sessions without changing authentication or provider configuration.

中文简介正在准备中。当前显示原文说明。

sidiangongyuan/codex-skills-library252026年9月21日 更新

Anti-slop frontend skill for landing pages, portfolios, and redesigns. The agent reads the brief, infers the right design direction, and ships interfaces that do not look templated. Real design systems when applicable, audit-first on redesigns, strict pre-flight check.

中文简介正在准备中。当前显示原文说明。

sidiangongyuan/codex-skills-library252026年9月21日 更新

Describe what this skill does and the concrete situations in which an agent should use it.

中文简介正在准备中。当前显示原文说明。

sidiangongyuan/codex-skills-library252026年9月21日 更新

Use when exploring, continuing, or accepting a deep-learning or computer-science research idea. Converts claims into pilot-first experiment matrices covering diagnostics, failure analysis, authorized execution, evaluation, and paper-story viability.

中文简介正在准备中。当前显示原文说明。

sidiangongyuan/codex-skills-library252026年9月21日 更新

查看 sidiangongyuan 的全部技能

报告此技能的问题