بنقرة واحدة
file-issue
Document a bug/fix locally in issues/ and create a matching GitHub issue
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Document a bug/fix locally in issues/ and create a matching GitHub issue
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
| name | file-issue |
| description | Document a bug/fix locally in issues/ and create a matching GitHub issue |
| allowed-tools | ["Bash(ls:*)","Bash(mkdir:*)","Bash(gh:*)","Glob","Grep","Read","Write"] |
| when_to_use | Use when the user wants to document a discovered bug, applied fix, and remaining issues as both a local issue file and a GitHub issue. Typically invoked after a debugging/fix session. Examples: "file an issue for this", "record this bug", "create issue", "file-issue" |
Document a bug discovery and fix as a local issue file in issues/ and a matching GitHub issue.
All output is written in English regardless of conversation language.
Produce two artifacts:
issues/NNN-slug.mdCheck if issues/ directory exists in the project root. Create it if missing.
List existing files to determine the next sequential number (e.g., if 001-* exists, next is 002).
Success criteria: Know the next issue number (zero-padded to 3 digits) and confirmed issues/ dir exists.
Extract from the current conversation:
Generate a kebab-case slug from the summary (e.g., dock-load-state-drawlist-corruption).
Success criteria: All template sections populated with specific, accurate details from the session.
Write to issues/NNN-slug.md using this template:
# Issue #NNN: {Summary}
**Date:** {YYYY-MM-DD}
**Severity:** {Critical|High|Medium|Low}
**Status:** Fixed (workaround applied) | Fixed | Open
**Affected component:** {file path(s)}
## Summary
{One paragraph}
## Symptoms
{Bullet list of what the user observed}
## Root Cause
{Technical explanation with code snippets}
## Reproduction
{Numbered steps}
## Fix Applied
{Description + key code changes}
## Remaining Issues
{Numbered list of known limitations and follow-up work}
## Files Changed
{Bullet list}
## Test Verification
{Before/after table}
Success criteria: File written, all sections filled, no placeholder text remaining.
Detect the repo with gh repo view --json nameWithOwner.
Create a GitHub issue via gh issue create with:
bugRules:
- [ ] checklist itemsSuccess criteria: GitHub issue created, URL returned.
Tell the user:
owner/repo#number format for clickable link)Success criteria: Both paths reported in a concise summary.