一键导入
issue
Start working on a GitHub issue
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Start working on a GitHub issue
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Work planning through GitHub issues, including creating and refining them. Invoke when: starting new work, drafting or editing an issue, or when asked 'let's plan X'. Each issue covers one coherent thing.
GitHub CLI patterns for issues, projects, and PRs. Invoke when: creating issues, linking PRs to issues, updating project status, or any GitHub project operations.
When the user wants to plan, design, or implement an A/B test or experiment, or build a growth experimentation program. Also use when the user mentions "A/B test," "split test," "experiment," "test this change," "variant copy," "multivariate test," "hypothesis," "should I test this," "which version is better," "test two versions," "statistical significance," "how long should I run this test," "growth experiments," "experiment velocity," "experiment backlog," "ICE score," "experimentation program," or "experiment playbook." Use this whenever someone is comparing two approaches and wants to measure which performs better, or when they want to build a systematic experimentation practice. For tracking implementation, see analytics. For page-level conversion optimization, see cro.
When the user wants to generate, iterate, or scale ad creative — headlines, descriptions, primary text, or full ad variations — for any paid advertising platform. Also use when the user mentions 'ad copy variations,' 'ad creative,' 'generate headlines,' 'RSA headlines,' 'bulk ad copy,' 'ad iterations,' 'creative testing,' 'ad performance optimization,' 'write me some ads,' 'Facebook ad copy,' 'Google ad headlines,' 'LinkedIn ad text,' or 'I need more ad variations.' Use this whenever someone needs to produce ad copy at scale or iterate on existing ads. For campaign strategy and targeting, see ads. For landing page copy, see copywriting.
When the user wants help with paid advertising campaigns on Google Ads, Meta (Facebook/Instagram), LinkedIn, Twitter/X, or other ad platforms. Also use when the user mentions 'PPC,' 'paid media,' 'ROAS,' 'CPA,' 'ad campaign,' 'retargeting,' 'audience targeting,' 'Google Ads,' 'Facebook ads,' 'LinkedIn ads,' 'ad budget,' 'cost per click,' 'ad spend,' or 'should I run ads.' Use this for campaign strategy, audience targeting, bidding, and optimization. For bulk ad creative generation and iteration, see ad-creative. For landing page optimization, see cro.
When the user wants to optimize content for AI search engines, get cited by LLMs, or appear in AI-generated answers. Also use when the user mentions 'AI SEO,' 'AEO,' 'GEO,' 'LLMO,' 'answer engine optimization,' 'generative engine optimization,' 'LLM optimization,' 'AI Overviews,' 'optimize for ChatGPT,' 'optimize for Perplexity,' 'AI citations,' 'AI visibility,' 'zero-click search,' 'how do I show up in AI answers,' 'LLM mentions,' or 'optimize for Claude/Gemini.' Use this whenever someone wants their content to be cited or surfaced by AI assistants and AI search engines. For traditional technical and on-page SEO audits, see seo-audit. For structured data implementation, see schema.
| name | issue |
| description | Start working on a GitHub issue |
| argument-hint | <issue-ref> [note] |
| disable-model-invocation | true |
Pull the specified GitHub issue, gather its full context, create a working branch, and start.
$ARGUMENTS is the issue ref optionally followed by a note. The first token is the issue ref, everything after is a note providing additional context.
Example: /issue 123 focus on the api endpoint, ignore the frontend for now → issue ref: 123, note: focus on the api endpoint, ignore the frontend for now
If a note is present, treat it as guidance throughout planning and execution — it may narrow scope, set priorities, or provide context not in the issue itself.
Parse the issue ref to determine the repo and issue number:
| Format | Example | Meaning |
|---|---|---|
| Number only | 123 | Current repo, issue 123 |
owner/repo#number | foo/bar#123 | Repo foo/bar, issue 123 |
repo#number | bar#123 | Current owner + repo bar, issue 123 |
To get the current repo's owner:
gh repo view --json owner -q '.owner.login'
Gather everything the issue has attached. Any of it may carry relevant context; interpretation isn't this skill's job — pull it all first, then read.
gh issue view returns names but not label/milestone descriptions or type/parent/sub-issue/project data. Reach further for the rest:
# The issue itself
gh issue view <number> --repo <owner/repo> \
--json number,title,body,state,assignees,labels,milestone,comments
# Label descriptions (issue view returns only names)
gh label list --repo <owner/repo> --limit 200 --json name,description
# Milestone description (issue view returns only title)
gh api repos/<owner/repo>/milestones/<milestone-number>
# Issue type, parent, sub-issues, linked PRs, project fields
gh api graphql -f query='
query($url: URI!) {
resource(url: $url) {
... on Issue {
issueType { name description }
parent { number title url state }
subIssues(first: 50) { nodes { number title state url } }
closedByPullRequestsReferences(first: 20, includeClosedPrs: true) {
nodes { number title state url }
}
projectItems(first: 10) {
nodes {
project { title number }
fieldValues(first: 20) {
nodes {
... on ProjectV2ItemFieldSingleSelectValue {
field { ... on ProjectV2SingleSelectField { name } }
name
}
... on ProjectV2ItemFieldTextValue {
field { ... on ProjectV2Field { name } }
text
}
... on ProjectV2ItemFieldNumberValue {
field { ... on ProjectV2Field { name } }
number
}
}
}
}
}
}
}
}' -f url="https://github.com/<owner/repo>/issues/<number>"
Ensure you're on the base branch (usually master or main), then:
git issue <number>
Track the issue as active session context: Active Issue: #<number> - <title>.
Read the fetched context and assess.
If any signal suggests this is a bug — issue type set to a bug variant, a label indicating a defect, body or comments describing broken or regressed behavior, a linked PR that reverted something, or the note frames it as an investigation:
systematic-debugging skill.Otherwise, assess complexity:
Straightforward — requirements clear, approach obvious, no architectural decisions needed:
Complex — ambiguous requirements, multiple approaches possible, architectural decisions needed, or the note asks to plan first:
planning skill to draft a plan.Default to just starting. Only plan when the work genuinely needs it.