Create GitHub issues using GitHub CLI with support for templates, labels, assignees, milestones, and draft issues. Use when the user asks to create a GitHub issue, file a bug report, submit a feature request, or open an issue in a GitHub repository.
70
86%
Does it follow best practices?
Run evals on this skill
Adds up to 20 points to the overall score
View guide
Passed
No findings from the security scan
Create comprehensive GitHub issues using gh issue create by dynamically discovering and adhering to the repository's official issue templates.
CRITICAL: You must use the repository's official templates. Do not assume the structure.
ls .github/ISSUE_TEMPLATE/bug_report.yml, feature_request.yml).cat .github/ISSUE_TEMPLATE/<selected_template>.ymlGather relevant information to fulfill the template requirements:
# Check current git status for context
git status
# View recent commits if related to codebase changes
git log --oneline -10
# Check if related issues exist
gh issue list --search "keyword" --limit 10MANDATORY: Structure the issue body exactly as defined in the selected YAML template without exception.
body:) into a Markdown section.label or id from the YAML field as an H2 header (e.g., ## Bug Description).required: true in the YAML are populated with meaningful content.```shell, ```yaml) for logs and configurations as suggested by the template's render attribute.Select labels by inspecting .github/labels.json.
type: label that matches the issue type.state:, work:, or priority: labels if they exist in the configuration..github/labels.json.Follow the template's title field if it provides a prefix (e.g., "[Bug]: ").
Step 1: Write body to temp file
Use the write tool to create .forge/FORGE_ISSUE_BODY.md with the structured Markdown content.
Step 2: Create issue
gh issue create \
--title "[Prefix]: Descriptive Title" \
--body-file .forge/FORGE_ISSUE_BODY.md \
--label "type: <type>, work: <complexity>"Optional flags:
--assignee "username"--milestone "name"--draft (For proposals or research)Provide the user with the generated issue URL and a brief summary of the created issue.
.github/ISSUE_TEMPLATE/ and .github/labels.json first. Never rely on hardcoded knowledge of templates or labels as they change frequently..github/ are the authoritative reference for issue structure and categorization.gh CLI directly. It is pre-authenticated and ready for use.1ca089a
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.