New to Claude Skills? Learn how to install them β†’

Ggoogle-gemini on GitHub

GitHub Issue Creator

OfficialFree

Streamline your GitHub issue creation process.

Get this skill

Free Β· Opens the source repo

What GitHub Issue Creator does

The GitHub Issue Creator skill is designed to assist developers in efficiently creating issues on GitHub while adhering to repository standards. By guiding users through the process of identifying the type of issueβ€”whether it’s a bug report, feature request, or another categoryβ€”this skill ensures that the correct templates are utilized. It searches for relevant templates in the .github/ISSUE_TEMPLATE/ directory, which can include YAML or Markdown formats, and helps draft the issue content accordingly.

Once the appropriate template is located, the skill emphasizes the importance of clarity and completeness in issue creation. Users are instructed to draft titles and bodies that are descriptive and follow project conventions. The skill also enforces a defensive approach to formatting by recommending the use of temporary files when creating issues. This is crucial for preventing shell escaping and formatting issues, especially with multi-line Markdown or complex text.

The workflow culminates in the use of the gh CLI to create the issue, with specific instructions for both YAML and Markdown templates. By default, issues are labeled with πŸ”’ maintainer only, ensuring that the backlog remains organized and manageable. The skill also includes a verification step to confirm the successful creation of the issue, providing users with a direct link for easy access.

This skill is particularly useful for teams that rely heavily on GitHub for project management and issue tracking. It streamlines the process, reduces errors, and ensures that all necessary information is captured in a structured format, ultimately improving team productivity and communication.

When to use it

Use this skill when you need to create issues on GitHub consistently and according to repository standards.

When not to use it

This skill may not be suitable for projects that do not use GitHub or for users who prefer a completely manual issue creation process.

What you can build with it

Creating a Bug Report

Use this skill to draft and submit a bug report quickly, ensuring all necessary information is included.

Feature Request Submission

Easily create a feature request by following the structured template process, making it clear for maintainers.

Organizing Issues for Maintainers

Automatically label issues for maintainers to keep the project backlog organized and prioritized.

How to install GitHub Issue Creator

View source

1. Install with the skills CLI

npx skills add google-gemini/gemini-cli/github-issue-creator --agent claude-code

2. Or install it manually

Download the skill folder and drop it into ~/.claude/skills/ for all projects, or .claude/skills/ to scope it to one repo. Restart Claude Code so it picks up the new skill.

Anthropic's agentic coding CLI, and the reference implementation of Agent Skills. Drop a skill folder into ~/.claude/skills and Claude Code loads it automatically whenever a task matches the skill's description. Claude Code docs

Inside SKILL.md

Written by google-gemini

GitHub Issue Creator

This skill guides the creation of high-quality GitHub issues that adhere to the repository's standards and use the appropriate templates.

Workflow

Follow these steps to create a GitHub issue:

  1. Identify Issue Type: Determine if the request is a bug report, feature request, or other category.

  2. Locate Template: Search for issue templates in .github/ISSUE_TEMPLATE/.

    • bug_report.yml
    • feature_request.yml
    • website_issue.yml
    • If no relevant YAML template is found, look for .md templates in the same directory.
  3. Read Template: Read the content of the identified template file to understand the required fields.

  4. Draft Content: Draft the issue title and body/fields.

    • If using a YAML template (form), prepare values for each id defined in the template.
    • If using a Markdown template, follow its structure exactly.
    • Default Label: Always include the πŸ”’ maintainer only label unless the user explicitly requests otherwise.
  5. Create Issue: Use the gh CLI to create the issue.

    • CRITICAL: To avoid shell escaping and formatting issues with multi-line Markdown or complex text, ALWAYS write the description/body to a temporary file first.

    For Markdown Templates or Simple Body:

    # 1. Write the drafted content to a temporary file
    # 2. Create the issue using the --body-file flag
    gh issue create --title "Succinct title" --body-file <temp_file_path> --label "πŸ”’ maintainer only"
    # 3. Remove the temporary file
    rm <temp_file_path>
    

    For YAML Templates (Forms): While gh issue create supports --body-file, YAML forms usually expect key-value pairs via flags if you want to bypass the interactive prompt. However, the most reliable non-interactive way to ensure formatting is preserved for long text fields is to use the --body or --body-file if the form has been converted to a standard body, OR to use the --field flags for YAML forms.

    Note: For the gemini-cli repository which uses YAML forms, you can often submit the content as a single body if a specific field-based submission is not required by the automation.

  6. Verify: Confirm the issue was created successfully and provide the link to the user.

Principles

  • Clarity: Titles should be descriptive and follow project conventions.
  • Defensive Formatting: Always use temporary files with --body-file to prevent newline and special character issues.
  • Maintainer Priority: Default to internal/maintainer labels to keep the backlog organized.
  • Completeness: Provide all requested information (e.g., version info, reproduction steps).

Frequently asked questions about GitHub Issue Creator

Similar skills