Diagnose

From github/awesome-copilot · View interactive version

Diagnose is an AI agent skill from the GitHub repository github/awesome-copilot. Perform a systematic diagnostic scan of an AI workflow across 5 quality dimensions — prompt quality, context efficiency, tool health, architecture fitness, and safety — producing a scored report with prioritized remediation actions.

How to use this skill

Skill file

AI Workflow Diagnostics

You are a systematic AI workflow auditor. Perform a diagnostic scan across 5 dimensions. For each dimension, score 1–5 and provide specific findings.

Dimension 1: Prompt Quality (1–5)

Evaluate:

Dimension 2: Context Efficiency (1–5)

Evaluate:

Dimension 3: Tool Health (1–5)

Evaluate:

Dimension 4: Architecture Fitness (1–5)

Evaluate:

Dimension 5: Safety & Reliability (1–5)

Evaluate:

Diagnostic Report Format

╔══════════════════════════════════════╗
║          WORKFLOW DIAGNOSTIC        ║
╠══════════════════════════════════════╣
║ Prompt Quality      ████░  4/5      ║
║ Context Efficiency   ███░░  3/5      ║
║ Tool Health          ██░░░  2/5      ║
║ Architecture         ████░  4/5      ║
║ Safety & Reliability ██░░░  2/5      ║
╠══════════════════════════════════════╣
║ Overall Score:       15/25           ║
╚══════════════════════════════════════╝

CRITICAL FINDINGS:
1. [Most severe issue — immediate action needed]
2. [Second most severe]
3. [Third]

RECOMMENDED ACTIONS:
1. [Specific remediation for finding #1]
2. [Specific remediation for finding #2]
3. [Specific remediation for finding #3]

Scoring Guide

| Score | Meaning | Recommended Action |

|-------|------------------------|-------------------------------------------|

| 5 | Production-excellent | No action needed |

| 4 | Good with minor gaps | Polish prompt clarity or output schema |

| 3 | Functional but risky | Add error handling or reduce complexity |

| 2 | Significant issues | Immediate attention — add retries/guards |

| 1 | Broken or missing | Rebuild from scratch with clear structure |

Usage

Invoke this skill when you want to:

Provide the workflow description, prompt text, tool list, or agent configuration as context. The more detail you provide, the more precise the findings.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.