一键导入
create-github-issue
Load this skill when creating a GitHub project backlog issue or drafting an issue title, body, type, or labels.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Load this skill when creating a GitHub project backlog issue or drafting an issue title, body, type, or labels.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Backlog and project-management instructions using GitHub Issues. Load this skill when reading, listing, searching, understanding, or modifying project backlog issues.
Load this skill if you need to work with the backlog or meeting minutes
Load this skill if you need to review meeting minutes with the user
Load this skill if you need to prepare or review meeting minutes.
Load this skill if you need to create meeting minutes from transcript files.
Load this skill if you need to create raw transcripts from audio recordings or from raw text.
| name | Create Github Issue |
| description | Load this skill when creating a GitHub project backlog issue or drafting an issue title, body, type, or labels. |
Create project backlog items as GitHub Issues and add them to the Bean Lab GitHub Project.
Created issues must be added to the Bean Lab GitHub Project:
https://github.com/orgs/beanlab/projects/13/views/1beanlab13The token must include the project scope. Check with
gh auth status; add it with gh auth refresh -s project if needed.
If gh auth status reports an invalid environment token, verify that
the specific gh command fails before stopping. Some environments have
an invalid GITHUB_TOKEN while another authenticated path still lets
the necessary command complete.
Every issue must have a GitHub issue type:
Touch Code - any work that involves the codeTask - something that needs doing, but doesn't involve changing codeFor labels, add needs-clarification only when the input is ambiguous
or incomplete.
Use this issue body template:
Created on: <YYYY-MM-DD>
Created by: <user>
## Details
<Overview of the item. Capture the problem, intent, and details
currently known.>
## Out-of-scope
<Changes or features left for other backlog items. Reference related
issues when known.>
## Dependencies
<Other backlog issues this item depends on. Reference related issues
when known.>
needs-clarification, and fill the body using
best-effort inference.--body-file for multi-line bodies.13.gh issue create or gh issue edit commands cannot
set the issue type directly, use the GitHub UI or an appropriate
GitHub API call to set the issue type. Do not consider issue creation
complete until the GitHub issue type is set.Create the issue with the correct GitHub issue type, then add it to the project:
issue_url="$(gh issue create \
--title "<title>" \
--body-file <body-file>)"
# Set the GitHub issue type to `Task` or `Touch Code`, then add it.
gh project item-add 13 --owner beanlab --url "$issue_url"
For unclear input, add the clarification label:
issue_url="$(gh issue create \
--title "<title>" \
--label "needs-clarification" \
--body-file <body-file>)"
# Set the GitHub issue type to `Task` or `Touch Code`, then add it.
gh project item-add 13 --owner beanlab --url "$issue_url"
If gh issue create and gh issue edit cannot set the GitHub issue
type directly, use the GraphQL API.
Find the repository issue type ID:
gh api graphql \
-f query='query {
repository(owner:"beanlab", name:"myteam") {
issueTypes(first:20) {
nodes { id name }
}
}
}'
Find the issue node ID:
gh issue view <issue-number-or-url> \
--json id,number,url
Set the issue type:
gh api graphql \
-f query='mutation($id:ID!, $type:ID!) {
updateIssue(input:{id:$id, issueTypeId:$type}) {
issue { number issueType { name } }
}
}' \
-f id=<issue-node-id> \
-f type=<issue-type-id>
Use the target repository in the issue-type query when creating issues
outside beanlab/myteam.
Backlog priority is a GitHub Project field, not an issue label. When the user asks for a priority during issue creation, add the issue to the project first, then update the project item.
Use these current IDs for the Bean Lab backlog project:
PVT_kwDOCA0Mqs4BW0OoPVTSSF_lADOCA0Mqs4BW0OozhSFeN8P0 option ID: 79628723P1 option ID: 0a877460P2 option ID: da944a9cFind the project item, then set the requested priority:
gh project item-list 13 \
--owner beanlab \
--format json \
--jq '.items[] | select(.content.number == <issue-number>)'
gh project item-edit \
--id <project-item-id> \
--project-id PVT_kwDOCA0Mqs4BW0Oo \
--field-id PVTSSF_lADOCA0Mqs4BW0OozhSFeN8 \
--single-select-option-id <priority-option-id>
If the fixed IDs stop working, refresh them with
gh project field-list 13 --owner beanlab --format json --limit 100.
After successful issue creation and project insertion, output only the GitHub issue URL or issue number/ID. Do not return the issue body or metadata after creation.
If issue creation succeeds but adding the issue to the project fails, report the issue URL and the project-add error.