Diagnose
Disciplined diagnosis loop for hard bugs and performance regressions. Reproduce → minimise → hypothesise → instrument → fix → regression-test. Use when user says "diagnose this" / "debug this", reports a bug, says something is broken/throwing/failing, or describes a performance regression.
概览
The Diagnose skill, hosted in the mxyhi/ok-skills repository, provides a systematic framework for resolving complex software defects and performance bottlenecks. Designed for use with agents like Claude, Codex, and OpenClaw, it implements a disciplined six-step diagnostic loop. This process guides the agent through reproduction, minimization of the issue, hypothesis generation, instrumentation, fixing, and final regression testing. By following this structured methodology, the skill helps maintain code quality when users report broken functionality or unexpected system failures. The mxyhi/ok-skills repository, which maintains a popularity of over 400 stars, offers this tool to streamline the troubleshooting process across diverse environments including browser-based applications and ROS-integrated systems, ensuring a rigorous approach to software maintenance.
使用场景
安装说明
# Review source first
open https://github.com/mxyhi/ok-skills/blob/main/diagnose/SKILL.mdCopy or clone the skill folder into your agent skills directory after reviewing its instructions and scripts.
安全提示
Users should ensure the AI agent has appropriate permissions to access the local environment for instrumentation and testing. Since this skill involves executing code to reproduce and fix bugs, it is recommended to run the diagnostic loop within isolated or development environments to prevent unintended side effects on production systems.
相关 Skills
Notion Research Documentation
openai/plugins
在 Notion 中进行研究并将其综合为结构化文档;当从多个 Notion 来源收集信息以生成带有引用的简报、对比或报告时使用。
Notion Meeting Intelligence
openai/plugins
利用 Notion 上下文和补充研究准备会议材料;适用于收集背景信息、起草议程/预读材料以及为参会者定制材料。
Notion Knowledge Capture
openai/plugins
将对话和决策捕获到结构化的 Notion 页面中;适用于将聊天/笔记转换为带有适当链接的维基条目、操作指南、决策或常见问题解答(FAQ)。
Find Skills
mxyhi/ok-skills
当用户询问“我该如何做 X”、“寻找一个用于 X 的技能”、“是否有可以……的技能”或表达对扩展能力的兴趣时,帮助用户发现并安装 agent skills。当用户寻找可能作为可安装技能存在的功能时,应使用此技能。