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 Knowledge Capture
openai/plugins
会話や決定事項を構造化された Notion ページにキャプチャします。チャットやメモを、適切なリンクを含む Wiki エントリ、ハウツー、決定事項、または FAQ に変換する際に使用します。
Notion Research Documentation
openai/plugins
Notion内をリサーチし、構造化されたドキュメントにまとめます。複数のNotionソースから情報を収集し、引用付きの概要、比較、レポートを作成する際に使用します。
Notion Meeting Intelligence
openai/plugins
Notionのコンテキストと補足リサーチを活用して会議資料を準備します。コンテキストの収集、アジェンダや事前資料の作成、出席者に合わせた資料の調整に使用します。
Find Skills
mxyhi/ok-skills
ユーザーが「Xをするにはどうすればいいか」「Xのためのスキルを探して」「...ができるスキルはあるか」といった質問をしたり、機能拡張に興味を示したりした際に、エージェントスキルの発見とインストールを支援します。このスキルは、ユーザーがインストール可能なスキルとして存在する可能性のある機能を探している場合に使用されます。