一键导入
issue
Use when creating structured GitHub issues with explicit labels for criticality and implementation effort.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Use when creating structured GitHub issues with explicit labels for criticality and implementation effort.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | issue |
| description | Use when creating structured GitHub issues with explicit labels for criticality and implementation effort. |
| user_invocable | true |
Automates the creation of structured GitHub issues, ensuring required metadata labels for prioritization and implementation complexity are generated and applied.
Step 1: Detect repo info
REPO_NAME=$(git remote get-url origin | sed -E 's/.*[:\/]([^\/]+\/[^\/.]+)(\.git)?$/\1/')
Step 2: Define and Initialize Labels
The skill requires two taxonomies: Criticality (Impact) and Easiness (Effort).
| Label Category | Name | Color | Description |
|---|---|---|---|
| Criticality | criticality:high | b60205 | Blockers, severe regressions, or critical path items. |
criticality:medium | e99695 | Important features or bugs with valid workarounds. | |
criticality:low | fef2c0 | Nice-to-haves, minor tweaks, or non-blocking debt. | |
| Easiness | easiness:easy | 0e8a16 | Straightforward implementation, low risk, < 1 day. |
easiness:medium | fbca04 | Moderate complexity, requires architecture review. | |
easiness:hard | d93f0b | High risk, complex dependencies, multi-day effort. |
Execute setup checks:
for label in "criticality:high" "criticality:medium" "criticality:low" "easiness:easy" "easiness:medium" "easiness:hard"; do
# Check if label exists, create if missing via gh api or gh label create
done
Step 3: Gather Issue Metadata via AskUserQuestion
Question: "What is the urgency of this issue?" Header: "Urgency" Options:
Question 2 — Easiness of Implementation:
Question: "How easy is this to implement?" Header: "Easiness" Options:
**Step 4: Input Title and Body**
* Prompt for issue title.
* Prompt for issue body (or use a predefined repository template).
**Step 5: Execute Issue Creation**
```bash
gh issue create \
--repo "$REPO_NAME" \
--title "$ISSUE_TITLE" \
--body "$ISSUE_BODY" \
--label "criticality:$CRITICALITY_SELECTION,easiness:$EASINESS_SELECTION"
Step 6: Confirm
Report execution metrics to the user: