Skip to content

NocodeMrLi/mini-program-engineering-skill-suite / skills/mini-program-debugging-skill

mini-program-debugging-skill

Unverified

Diagnose and fix mini-program failures through reproducible, evidence-driven root-cause analysis across source, state, asynchronous timing, caches, mock data, build versions, platform behavior, devices, cloud calls, and external services. Use when users report white screens, crashes, stale or jumping values, missing data, intermittent behavior, permission failures, performance stalls, device-only defects, API or cloud-function errors, source-versus-build mismatches, or regressions whose cause is not yet established. Freezes the observation environment, ranks competing hypotheses, runs discriminating checks, creates a failing regression test before repair, covers analogous states, and never hides a known failure with longer waits, swallowed errors, forced success, or cosmetic patches.

assets/debugging-report.md

View on GitHub
# 小程序问题调试报告模板

## 结论

- 当前状态:症状已记录 / 可复现 / 根因假设 / 根因已证实 / 已修复 / 已本地验证。
- 影响范围:
- 仍不可推出:真机、云端、正式验收、上传、发布。

## 观察基线与最小复现

- 源码/构建版本:
- 环境、工具或设备:
- 账号/数据/网络状态:
- 最小步骤:
- 预期 / 实际 / 频率:

## 时间线与证据链

| 时点/阶段 | 输入与状态 | 可观察证据 | 说明 |
| --- | --- | --- | --- |
|  |  |  |  |

### 外部服务有效结果(未触发时标 N/A)

| 请求到达 | 服务返回 | 结果有效 | 持久化/扣减 | 用户反馈 |
| --- | --- | --- | --- | --- |
|  |  |  |  |  |

- 失败是否保持未扣减且可重试:
- 重复操作/旧回调的 attempt 证据:

## 竞争假设

| 假设 | 支持证据 | 反对证据 | 判别实验 | 结论 |
| --- | --- | --- | --- | --- |
|  |  |  |  |  |

## 根因与修复

- 根因及置信度:
- 能解释的现象与反例:
- 失败回归测试:
- 最小修复:
- 同类状态与共享契约覆盖:

## 验证边界

- 已执行:
- 未执行:
- 无法排除的假设:
- 残余风险:
- 下一项判别实验或验证入口:
finishing-a-development-branchobra/superpowersUse when implementation is complete, all tests pass, and you need to decide how to integrate the workStars: 318kUpdated Claude CodeCodexUnverifiedInstall
systematic-debuggingobra/superpowersUse when encountering any bug, test failure, or unexpected behavior, before proposing fixesStars: 318kUpdated Claude CodeCodexUnverifiedInstall
test-driven-developmentobra/superpowersUse when implementing any feature or bugfix, before writing implementation codeStars: 318kUpdated Claude CodeCodexUnverifiedInstall
skill-creatoranthropics/skillsCreate new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an existing skill, run evals to test a skill, benchmark skill performance with variance analysis, or optimize a skill's description for better triggering accuracy.Stars: 196kUpdated Claude CodeCodexVerifiedInstall