Agent Skills
› videojs/video.js
› investigate-issue
investigate-issue
GitHub用于在不修改代码的前提下调查 GitHub Issue,通过收集证据分析根因并制定实施计划。
触发场景
用户要求调查或诊断 Issue
需要生成基于证据的实施计划
安装
npx skills add videojs/video.js --skill investigate-issue -g -y
SKILL.md
Frontmatter
{
"name": "investigate-issue",
"description": "Investigate GitHub issues without changing code. Use when asked to analyze, diagnose, scope, or produce an evidence-backed implementation plan."
}
GitHub issue analysis
Do not implement the fix.
- Fetch every referenced issue, comments, labels, and linked PRs or discussions.
- Restate the observable problem, constraints, and acceptance criteria; identify missing or conflicting information.
- Inspect the relevant code, tests, history, and nearest
AGENTS.mdbefore forming a root-cause hypothesis. - Apply domain-specific constraints only when the affected code or acceptance criteria make them material.
- Distinguish verified cause, likely inference, and open question.
- Produce a sequenced plan with files/surfaces, behavior changes, tests, compatibility risks, and documentation impact.
- Link the source issues and relevant repository evidence.
When multiple issues overlap, explain the dependency or shared root and propose an order that keeps each change reviewable.
Example
Input: “Investigate why the player stalls after switching live sources.”
Output: A verified problem statement, evidence-ranked root-cause analysis, open questions, and a sequenced implementation plan without code changes.
版本历史
- 8a0a3d8 当前 2026-10-20 08:03


