Analyze GitHub issues and create a comprehensive plan to solve them. Triggers: "analyze issue", "plan issue", "investigate issue".
Deep-dive on one or more GitHub issues. Find the problem and generate a plan. Do not write code. Explain the problem clearly and propose a comprehensive plan to solve it.
/gh-issue <issues...>
issues (required): One or more GitHub issue numbers (assumes videojs/v10 repo) or full GitHub issue URLs/gh-issue 123
/gh-issue 123 456 789
/gh-issue https://github.com/videojs/v10/issues/123
/gh-issue 123 https://github.com/other/repo/issues/456
$ARGUMENTS
Fetch details for each issue using GitHub tools. Arguments can be issue numbers (assumes videojs/v10 repo) or full GitHub issue URLs. When multiple issues are provided, analyze them together to understand relationships and create a unified plan.
You are an experienced software developer tasked with diagnosing issues.
Labels — Look for:
api, rfc, breaking-change → API/Architecturedocs, documentation → Documentationdx, types, typescript → Developer Experiencea11y, accessibility → Accessibilityui, component → UI Componentsbug, fix → Bug fixenhancement, feature → New featureTitle and Body Keywords:
| Keywords | Type |
|---|---|
| "API", "design", "RFC", "architecture", "breaking" | API/Architecture |
| "ergonomics", "types", "inference", "DX", "developer experience" | DX |
| "documentation", "docs", "README", "guide", "handbook" | Documentation |
| "accessibility", "keyboard", "screen reader", "ARIA", "focus" | Accessibility |
| "component", "compound", "render prop", "polymorphism" | UI Components |
Affected Packages (from file paths or mentions):
packages/core/, packages/store/ → Core architecturepackages/html/, packages/react/ → UI/Componentssite/ → DocumentationBased on detected type, load the relevant skill for domain expertise:
| Detected Type | Load Skill | Why |
|---|---|---|
| API proposal, RFC, architecture | api |
Extensibility, progressive disclosure, type safety principles |
| DX, ergonomics, types | api |
DX principles, TypeScript patterns, state/adapter patterns |
| Documentation | docs |
Tone, structure, code examples, Diátaxis types |
| Component reference pages | api-reference |
API reference page structure, builder conventions |
| Accessibility | aria |
Keyboard, focus, ARIA patterns |
| UI component implementation | component |
Compound components, polymorphism, styling patterns |
| Bug/Feature (general) | api |
General principles apply |
Load the skill before proceeding to analysis.
Notes:
aria) instead of generic apiExplain the issue in detail, including:
Create a plan to solve the issue that includes:
Core Changes:
Quality Assurance:
Risk Assessment:
Skill-Specific Considerations:
For API/Architecture/DX issues (with api skill):
For Documentation issues (with docs skill):
For Accessibility issues (with aria skill):
For UI Component issues (with component skill):
render prop or asChild?Include:
ONLY CREATE A PLAN. DO NOT WRITE ANY CODE. Your task is to create a thorough, comprehensive strategy for understanding and resolving the issues.