一键导入
refine-idea
Refine a rough idea into actionable engineering ticket(s) with user story, functional acceptance criteria, non-functional acceptance criteria.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Refine a rough idea into actionable engineering ticket(s) with user story, functional acceptance criteria, non-functional acceptance criteria.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | refine-idea |
| description | Refine a rough idea into actionable engineering ticket(s) with user story, functional acceptance criteria, non-functional acceptance criteria. |
Use this skill when you receive an idea that is incomplete, vague, or not implementation-ready.
The skill supports feature requests, tasks, bugs, and other technical improvements.
Transform a rough idea into a clear, buildable ticket(s) and create GitHub issues for them.
The idea will be given in the form of either an existing GitHub issue or a free-form description.
Follow these steps in order.
feature, bug, task or investigation.Minimum output from this step:
What exists todayWhere it likely changesKnown constraintsBefore continuing with the refinement, use the question/vscode_askQuestions tool to ask clarifying questions. Do a thorough interview with me to extract all necessary details before moving on to the next step. Continue asking clarifying questions until everything can be answered without guessing. Then explicitly state: "I have enough information to proceed" before moving to the next step.
Question quality rules:
Assessment checklist:
Split the idea into one or more actionable GitHub issues (common splits: backend vs frontend). Create separate issues when: (a) the work can be assigned to different teams/disciplines independently, (b) one part could ship without the other, or (c) the combined scope exceeds roughly 3-5 days of work. Otherwise keep as one issue. Add the label "AI-candidate" to each new issue. Each new issue should link to each other. Add an implementation order if applicable. Also, they should link to the original parent idea/issue if applicable. The links should be added to the "Context" section of the ticket template (see below). You can update the issue description later on if you don't have created the other issues yet.
Add a comment to the original issue with links to the new refined issue(s) and close it afterwards. If the input is a free-form description with no associated GitHub issue number, skip the comment and close steps.
For each ticket, prepare a refined ticket body using the template below.
Use this format and adapt sections to issue type.
## Goal
<Describe in one concise sentence what you want to achieve with the task or the improvement. Make sure not to describe a solution already but the outcome.>
## Problem
<Share the context and describe the problem in more detail.>
## Solution
<This section can outline a proposal.>
## Context
- Notes from codebase: <relevant findings>
- Parent issue: <link to original issue if applicable>
- Links to related issues incl. implementation order: <links to other new issues created from the same idea>
## Scope
- In scope:
- <item>
- Out of scope:
- <item>
## Acceptance Criteria (Functional)
- [ ] <observable behavior 1>
- [ ] <observable behavior 2>
- [ ] <error/edge case behavior>
## Acceptance Criteria (Non-Functional)
- [ ] Performance: <latency/throughput target or no regression statement>
- [ ] Security/Privacy: <constraints>
- [ ] Reliability: <retry/failure behavior>
- [ ] Observability: <logs/metrics/traces/alerts>
- [ ] Accessibility (if UI): <a11y expectations>
## Technical Notes
- Likely areas to change: <files/modules/services>
- Dependencies: <internal/external dependencies>
- Data/migration impact: <yes/no + details>
## Risks and Mitigations
- Risk: <risk>
- Mitigation: <mitigation>
MUST use method: GitHub CLI
Examples:
# View issue details (incl. comments):
gh issue view <issue-number> --repo <owner/repo> --json title,body,labels,number,url,comments
# Post comment:
gh issue comment <issue-number> --repo <owner/repo> --body-file <refined-ticket.md>
gh is not available or returns an authentication error, stop and notify the user rather than falling back to another method.gh command, confirm the target repo by running gh repo view --json nameWithOwner in the current directory. If the result is ambiguous or the working directory is not a git repo, ask the user to specify <owner/repo> explicitly.Only return the link(s) to the created GitHub issue(s).