.forge/skills/create-github-issue/SKILL.md
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.
npx skillsauth add antinomyhq/forgecode create-github-issueInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
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>.yml
Gather 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 10
MANDATORY: 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.tools
Generate and create pull request descriptions automatically using GitHub CLI. Use when the user asks to create a PR, generate a PR description, make a pull request, or submit changes for review. Analyzes git diff and commit history to create comprehensive, meaningful PR descriptions that explain what changed, why it matters, and how to test it.
development
Execute structured task plans with status tracking. Use when the user provides a plan file path in the format `plans/{current-date}-{task-name}-{version}.md` or explicitly asks you to execute a plan file.
tools
Guide for creating effective skills. This skill should be used when users want to create a new skill (or update an existing skill) that extends your capabilities with specialized knowledge, workflows, or tool integrations.
testing
A test skill with resources