AgentSkillsCN

repo-triage

针对构建中断、命令失败或项目状态不明的情况,快速展开仓库诊断流程。当用户希望调试项目健康状况、识别阻碍因素,或定位故障根源时使用。

SKILL.md
--- frontmatter
name: repo-triage
description: Rapid repository diagnosis workflow for broken builds, failing commands, or unclear project state. Use when the user asks to debug project health, identify blockers, or isolate failure layers.
metadata: {"keygate":{"requires":{"bins":["git"]}}}

Inspect repository state before proposing changes.

  1. Capture baseline quickly: git status, branch, recent commits, and workspace layout.
  2. Reproduce reported failure with the smallest command that surfaces the issue.
  3. Classify failure layer: environment, dependency, compile, test, runtime, or integration.
  4. Isolate one root cause at a time and keep hypotheses explicit.
  5. Prefer deterministic checks and summarize findings with direct next actions.