بنقرة واحدة
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: