一键导入
uui-github-issue-workflow
// Fetches GitHub issues from URLs and creates implementation plans for UUI. Use when the user provides a GitHub issue link (github.com/.../issues/N), asks to plan work from an issue, or implement/fix an issue by URL.
// Fetches GitHub issues from URLs and creates implementation plans for UUI. Use when the user provides a GitHub issue link (github.com/.../issues/N), asks to plan work from an issue, or implement/fix an issue by URL.
Helps create and modify UUI (EPAM Unified UI) components following established patterns. Use when creating new components, modifying existing components, working with withMods, component props, styling, or component architecture in the UUI library.
Helps work with UUI DataSources (ArrayDataSource, LazyDataSource, AsyncDataSource) powering PickerInput, DataTable, FiltersPanel, and other data-driven components. Use when implementing or fixing features that load, filter, sort, or display lists of data.
Helps update UUI documentation, add doc examples, configure Property Explorer, and manage component API documentation. Use when adding documentation examples, updating Property Explorer configs, generating API references, working with UUI documentation site, or when adding/removing/modifying public props on component interfaces.
Helps create and maintain E2E and screenshot tests for UUI components using Playwright. Use when adding E2E tests, creating screenshot tests, updating preview configurations, or working with Property Explorer previews for testing.
Guides the UUI pull request process including branch naming, pre-PR checklist, changelog updates, and quality requirements. Use when preparing a pull request, writing commit messages, or following UUI PR requirements.
Guides the UUI package release process including stable and beta releases, changelog updates, and handling failed releases. Use when releasing UUI packages, updating changelog, or troubleshooting release issues. For maintainers only.
| name | uui-github-issue-workflow |
| description | Fetches GitHub issues from URLs and creates implementation plans for UUI. Use when the user provides a GitHub issue link (github.com/.../issues/N), asks to plan work from an issue, or implement/fix an issue by URL. |
When the user provides a GitHub issue URL or asks to plan work from an issue, follow this two-phase workflow. Always run Phase 1 first; only proceed to Phase 2 after the user confirms.
Apply this skill when the user:
https://github.com/epam/UUI/issues/123)github.com/.../issues/N or .../pull/N URLRun Phase 1 to analyze scope before implementation. Do not implement yet. Limit exploration; produce a short analysis and stop.
Extract from the URL:
epam from github.com/epam/UUI/issues/123UUI123Supported patterns:
https://github.com/{owner}/{repo}/issues/{number}https://github.com/{owner}/{repo}/pull/{number} (PRs are issues; use issue_number from URL)If the URL is invalid or cannot be parsed, ask the user to provide a valid github.com/.../issues/N URL.
Always try GitHub MCP first. Only fall back to WebFetch if MCP is unavailable.
Step 1: Check for GitHub MCP server
Browse the MCP tool descriptors folder to find a GitHub MCP server. Look for server folders that contain GitHub-related tools (e.g. get_issue, issue_read, get-issue). Common server names: github, github-mcp, github-mcp-server.
If a GitHub MCP server is found, read its tool descriptor to get the exact tool name and parameters, then call it:
CallMcpTool
server: <discovered GitHub MCP server name>
toolName: <issue read tool from descriptor>
arguments: { owner, repo, issue_number }
Step 2: Fall back to WebFetch (only if MCP is not available or fails)
If no GitHub MCP server is configured, or the MCP call fails:
WebFetch with the full issue URLBased on the issue content, produce a concise analysis:
| Section | Content |
|---|---|
| Summary | Title, type (bug/feature/refactor/docs), 2–4 key points from description |
| Affected Areas | Package(s), likely files or components (high-level; no deep codebase exploration yet) |
| Complexity Estimate | small / medium / large — based on description scope |
| Proposed Approach | 1–2 sentences on how to fix or implement |
Do not create a full implementation plan or make any code changes.
Present the analysis and ask:
"Here's my analysis. Proceed with full implementation? Any changes to scope or approach?"
Wait for the user to confirm or request changes. Only after explicit confirmation (e.g. "yes", "proceed", "go ahead") move to Phase 2.
Run Phase 2 only when the user has approved the analysis or provided adjustments.
Produce a structured plan with these sections:
| Section | Content |
|---|---|
| Issue Summary | Title, type (bug/feature/refactor/docs), key points from description |
| Branch Name | Follow pr-contributing: fix/123-description for bugs, feature/456-description for features. Use kebab-case for the description part. |
| Affected Areas | Package(s) (e.g. uui, uui-components), likely files, components |
| Implementation Steps | Ordered tasks. For component work, follow components patterns (wrapping vs new, withMods, file paths). |
| Testing | Unit tests (unit-testing), E2E/screenshot tests if UI changes (e2e-testing) |
| Documentation | If API changes: examples, Property Explorer (documentation) |
| Pre-PR Checklist | From pr-contributing: tests, lint, bundle size, changelog |
Use this template:
## Implementation Plan: #[issue_number] [Title]
### Summary
- **Type:** [bug|feature|refactor|docs]
- **Key points:** [bullet points from description]
### Branch
`fix/123-description` / `feature/456-description`
### Affected Areas
- Package: ...
- Files: ...
### Steps
1. ...
2. ...
### Testing
- Unit: ...
- E2E: (if UI changes)
### Documentation
- (if API changes)
### Checklist
- [ ] yarn test
- [ ] yarn test-update (if UI)
- [ ] yarn test-e2e (if UI)
- [ ] yarn eslint, yarn stylelint
- [ ] yarn track-bundle-size
- [ ] changelog.md
After presenting the plan, proceed with implementation steps as approved by the user.
| Case | Action |
|---|---|
| Invalid URL | Ask for a valid github.com/.../issues/N URL |
PR URL (/pull/N)** | Extract issue_number from URL; MCP issue_read works for PRs in many setups. Otherwise use web fetch. |
| MCP call fails | Proceed immediately with web fetch (WebFetch tool); do not retry MCP. |