mini-program-debugging-skill

mini-program-debugging-skill is a skill for Codex from NocodeMrLi/mini-program-engineering-skill-suite. It costs 152 tokens per session (1,377 once invoked), scanned A, original, MIT.

A method for diagnosing failures in small platform applications, commonly called mini-programs. It traces symptoms through code, state, asynchronous timing, caches, builds, devices, networks, and external services.

In plain words
What is it for?
Use it to investigate blank screens, crashes, stale or changing values, missing data, build differences, and failures involving APIs or cloud services.
Why use it?
It replaces guesswork with reproducible evidence, competing explanations, targeted checks, and regression tests.

Skill for Codex

Written for Codex: agents/openai.yaml present.

Good fit Use it to investigate blank screens, crashes, stale or changing values, missing data, build differences, and failures involving APIs or cloud services.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/nocodemrli/mini-program-engineering-skill-suite/mini-program-debugging-skill
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add NocodeMrLi/mini-program-engineering-skill-suite --skill mini-program-debugging-skill
Clone the repo
git clone --depth 1 https://github.com/NocodeMrLi/mini-program-engineering-skill-suite

Made for: Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for mini-program-debugging-skill

README.md
[![agentmods](https://agentmods.dev/badge/skills/nocodemrli/mini-program-engineering-skill-suite/mini-program-debugging-skill/github.svg)](https://agentmods.dev/skills/nocodemrli/mini-program-engineering-skill-suite/mini-program-debugging-skill)
Your own site
<a href="https://agentmods.dev/skills/nocodemrli/mini-program-engineering-skill-suite/mini-program-debugging-skill"><img src="https://agentmods.dev/badge/skills/nocodemrli/mini-program-engineering-skill-suite/mini-program-debugging-skill/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for mini-program-debugging-skill

Your own site · 80×15
<a href="https://agentmods.dev/skills/nocodemrli/mini-program-engineering-skill-suite/mini-program-debugging-skill"><img src="https://agentmods.dev/badge/skills/nocodemrli/mini-program-engineering-skill-suite/mini-program-debugging-skill.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 152 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,377 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00152 $0.01377
Opus 5.5 $0.00061 $0.00551
Sonnet 5.5 $0.00030 $0.00275
Haiku 4.5 $0.00015 $0.00138

Measured 13d ago against content hash afde091e316f, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

mini-program-debugging-skill scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 13d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/mini-program-debugging-skill/SKILL.md · 55 lines

What it actually says

/mini-program-debugging-skill — 小程序问题调试

从可重复症状建立证据链,定位能解释关键现象的根因,再以失败复现、最小修复和回归测试闭环。诊断请求本身不授权修改;用户要求修复或任务明确包含修复时,才进入受控改动。

输入与观察基线

  • 接收症状、截图/视频、日志、错误码、复现步骤、项目事实图或失败测试。
  • 先固定源码/构建版本、分支/文件状态、运行环境、设备/工具、账号/数据状态、网络与时间,再写最小复现和预期/实际差异。
  • 截图是现象证据,不是根因;历史日志不能证明当前构建仍有同一问题。
  • 若只有产品语义争议而非故障,退回产品规格;若根因已证实且只需实施,可交给实现阶段。

证据驱动调试流程

  1. 用最少步骤稳定复现;无法稳定复现时记录频率、前置状态、成功/失败样本和最后正常版本。
  2. 建立时间线与证据链:输入、默认值、状态迁移、异步时序、缓存、模拟数据、接口、渲染、构建版本、设备/平台结果。
  3. 提出至少两个可证伪的竞争假设,为每个假设记录支持/反对证据和最小判别实验;先执行信息增益最高的只读检查。
  4. 外部服务失败按调用前、传输、服务返回、业务有效性校验、持久化/扣减和界面反馈分段,核对错误码、参数、耗时、重试与幂等,敏感值只报告存在性;只有有效结果允许改变完成态或扣次数/费用。
  5. 根因结论必须解释主要现象和边界样本;证据不足时保持“最可能假设”,不把相关性写成根因。
  6. 修复前写能失败的回归测试或自动复现;做最小修复后验证原症状、同类状态、共享契约和反例,避免只修截图实例。
  7. 工具异常、超时、用户中止或外部响应不明确时,按 中断恢复协议 将在途动作记为 unknown,刷新事实后再决定是否重试。 用户禁止启动业务或构建进程时,读取既有日志、产物、工作区和进程元数据的只读检查命令不属于启动业务或构建进程;除非用户明确禁止一切工具读取,否则先执行这些检查,不以“需要授权检查”代替事实刷新。 已有产物可读时,计算并输出已有产物指纹(优先 SHA-256)并绑定路径;工具失败时输出失败原因和未取得指纹,不能只写“已检查产物”。
  8. 使用 问题调试工作流 自检,并按 调试报告模板 输出证据、修复与剩余风险。

禁止性策略

  • 不用延长等待、吞掉错误、硬编码成功、强制刷新或清空缓存掩盖明确失败。
  • 不把日志减少、占位内容、视觉遮挡或重试次数增加当成根因修复。
  • 不在没有版本/产物证据时把源码修改当成设备问题已修复。
  • 不为了验证假设执行未经授权的平台写操作、云端部署或破坏性数据修改。
  • 不把 HTTP/SDK 成功、空结果、全零结果或缺字段当成业务成功,也不让失败路径扣减用户权益。

最低输出

  • 观察环境、最小复现、预期与实际、频率和影响范围。
  • 时间线、证据表、竞争假设、判别实验与根因置信度。
  • 修复差异、失败回归测试、同类状态覆盖与反例结果(若获授权修复)。
  • 已验证和未验证层级、无法排除的假设、残余风险与下一步。
  • 中断恢复输出必须逐项给出进程状态、副作用、幂等性和新授权;四项全部建立前明确禁止重放,不能只列其中一项。
  • 恢复分支显式区分已生效、未生效、部分生效、仍不确定;版本记录存在还须核目标内容完整且匹配,截断/混合产物不得直接升级为完整生效,部分生效先界定补偿且不整步重放。

停止条件

需要用户账号、真实凭证、设备操作、云端写入或破坏性数据才能取得下一项证据时停止并说明所需动作;三次不同判别实验仍无法区分假设时报告阻塞,不重复相同尝试。不得凭猜测修改生产路径。

独立与套件协作

独立安装时,本 Skill 可完成诊断,且在用户授权范围内修复。位于套件中时,接收轻量事实刷新,向实现阶段传递已证实根因与修复边界,再向验证阶段传递复现与回归入口;不直接调用其他组件脚本。

Files

What ships with it

4 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 13d ago Changed · +1 lines afde091e316f
  2. 26d ago Changed · +1 lines f1bbdcc089b9
  3. 1mo ago First seen · 53 lines · 152 tokens per session scan A 8839fb877253

Subscribe to this mod's changes

mini-program-debugging-skill is a skill published in the GitHub repository NocodeMrLi/mini-program-engineering-skill-suite (91 stars, last pushed yesterday), licensed MIT. It adds 152 tokens to every session and 1,377 once invoked, about $0.0006 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

ase-code-lint

Lint source code for potential code quality problems. Use when the user wants to "lint" or "check" source code.

rse/ase · 30 tokens

technical-debt-audit

Use when the user says 'clean up my wordpress', 'what is bloating my wordpress', 'find orphaned shortcodes', or 'scan for unused plugins'. Audits orphaned shortcodes from deleted plugins, unused plugins, database bloat, unused media, and leftover data from inactive builders.

respira-press/agent-skills-wordpress · 66 tokens

wordpress-site-dna

Use when the user says 'analyze my wordpress site', 'what is running on my site', 'site dna', or 'what plugins are on my site'. Detects every page builder, audits active versus dead-weight plugins, maps content structure, finds orphaned shortcodes, and checks performance and security posture.

respira-press/agent-skills-wordpress · 68 tokens

systematic-debugging

A four-phase method for investigating software bugs and test failures before changing code. It focuses on finding and confirming the underlying cause.

huangwb8/skills · 43 tokens

bensz-collect-bugs

A process for recording bugs caused by defects in Bensz skills. It stores a structured local report and can publish one only when the user explicitly asks.

huangwb8/skills · 68 tokens

serena

Semantic code understanding with IDE-like symbol operations. Use when: (1) Large codebase analysis (>50 files), (2) Symbol-level operations (find, rename, refactor), (3) Cross-file reference tracking, (4) Project memory and session persistence, (5) Multi-language semantic navigation. Triggers: "find symbol", "rename…

Dianel555/DSkills · 105 tokens