What problem does it solve?
This skill converts an ongoing chat into a well-structured GitHub issue in the target repository by classifying the conversation, drafting a detailed, template-backed body, and creating it via gh without requiring confirmation.
Core Features & Use Cases
- Detects and validates the git repo context and resolves the target owner/repo from the chosen remote.
- Classifies the conversation into feature / bug / misc to determine the issue title and structure.
- Drafts a structured issue body using templates from references, preserving decisions and dialogue for future PRs or posts.
- Creates the issue with gh issue create using a temporary file to prevent shell escaping issues.
- Prints only the resulting issue number and URL.
- Supports an optional remote argument (e.g., /gh-issue-create upstream) to target a non-origin repository.
Quick Start
Run /gh-issue-create to generate the issue in the current repo using the default origin remote, or specify a remote like /gh-issue-create upstream to target another repo.