一键导入
analyze-issue
Analyze GitHub issues, assess complexity, and suggest an implementation approach
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Analyze GitHub issues, assess complexity, and suggest an implementation approach
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Review pull requests with conversational, actionable feedback
Security review of code changes focusing on OWASP top 10 and Tekton-specific risks
Find good issues to work on by scanning repos for approachable tasks
Generate daily standup notes from TekAgent activity, git history, and pending PRs
| name | analyze-issue |
| description | Analyze GitHub issues, assess complexity, and suggest an implementation approach |
| user_invocable | true |
| always_enabled | true |
When asked to analyze a GitHub issue, follow these steps:
Use gh_cli to retrieve the issue and its context:
gh issue view <number> --repo <repo> --json title,body,author,labels,comments,assignees,milestone,url
Read through the issue description, any linked discussions, and all comments to understand the full scope.
Search for related work that may overlap or provide context:
gh issue list --repo <repo> --search "<keywords from issue>" --json number,title,state,labels
gh pr list --repo <repo> --search "<keywords from issue>" --json number,title,state,labels
Note any duplicates, dependencies, or prior attempts to solve the same problem. If a PR was previously attempted and abandoned, summarize why it stalled.
Assess the issue and assign a size with effort score:
Base complexity on:
Trace the impact of the proposed change:
Use repo search to verify:
gh api search/code -f q="<function_or_type> repo:<owner>/<repo>" --jq '.items[].path'
Identify the specific files or directories most likely to require modification. Use the repo structure and any stack traces, error messages, or code references in the issue to narrow down the scope.
List files grouped by:
If the issue touches input handling, auth, or data storage:
Provide a brief, actionable plan:
Structure the analysis as:
Issue: # -
Complexity: S / M / L / XL (effort: N/5, estimated: ~X hours)
Related:
Impact Analysis:
Files to Change:
path/to/file.go - reason for changepath/to/file_test.go - add test coverage for XSuggested Approach:
Alternative Approaches (if applicable):
Open Questions:
Risks:
Keep the analysis focused and actionable. The goal is to give someone enough context to start working on the issue immediately.