AgentSkillsCN

engineer-self-diagnostic

诊断近期工程师失败并解释发生原因,包括输入、尝试的操作及重演指导。适用于用户说“你遇到了错误”、“你崩溃了”、“你似乎卡住了”或询问哪里出了问题以及如何重试时使用。

SKILL.md
--- frontmatter
name: engineer-self-diagnostic
description: Diagnose recent engineer failures and explain what happened, including input, attempted actions, and replay guidance. Use when the user says "you hit an error", "you crashed", "you seem stuck", or asks what failed and how to retry.

Self Diagnostic

Use this skill to provide a transparent postmortem for the current or most recent failure.

Required behavior

  1. State what failed, when, and in which execution path.
  2. Include the exact user-facing input and the internal action attempted.
  3. Explain why it failed using available logs, traces, and error messages.
  4. Provide a concrete replay plan and what should change before retrying.
  5. If data is missing, state what is missing and why.