---
title: GitHub Issue Creator Skill for Claude Code
canonical: https://skillselion.com/skills/google-gemini/gemini-cli/github-issue-creator
content_type: text/markdown
description: github-issue-creator is a gemini-cli skill that creates GitHub issues from repository templates using gh CLI and safe body-file formatting.
---

# GitHub Issue Creator Skill

Title: GitHub Issue Creator Skill for Claude Code

> github-issue-creator is a gemini-cli skill that creates GitHub issues from repository templates using gh CLI and safe body-file formatting.

Canonical: https://skillselion.com/skills/google-gemini/gemini-cli/github-issue-creator

github-issue-creator is a gemini-cli skill that creates GitHub issues from repository templates using gh CLI and safe body-file formatting.

The github-issue-creator skill guides creation of GitHub issues that follow repository standards. The workflow starts by identifying issue type as bug, feature, or other category, then locates templates under .github/ISSUE_TEMPLATE/ including bug_report.yml, feature_request.yml, and website_issue.yml with Markdown fallbacks. It reads the chosen template to capture required fields, drafts title and body matching template structure, and defaults to the maintainer-only label unless the user opts out. Creation uses gh issue create with content written to a temporary file and --body-file to prevent newline and special character breakage. YAML form templates may use --field flags when needed. The final step verifies creation and returns the issue link. Principles emphasize clarity, defensive formatting, maintainer priority labeling, and completeness for reproduction steps and version info.

## Key facts

- Installs: 867
- GitHub stars: 109,201
- Author: google-gemini
- Repository: google-gemini/gemini-cli
- Install command: `npx skills add https://github.com/google-gemini/gemini-cli --skill github-issue-creator`
- Last updated: November 27, 2026

## What Github Issue Creator does

Create high-quality GitHub issues using repository templates, proper labels, and gh CLI with body-file to avoid shell escaping problems.

How do I file a properly formatted GitHub issue that matches this repo's templates and labels?

A created GitHub issue with template-compliant body, default maintainer label, and a verified issue URL.

Best for: Developers using gemini-cli who need non-interactive, template-aligned GitHub issue creation.

Not for: Skip when you need PR creation, issue editing, or repos without .github/ISSUE_TEMPLATE files.

- Locates .github/ISSUE_TEMPLATE YAML and Markdown templates.
- Defaults to maintainer-only label on new issues.
- Uses --body-file via temp file to avoid shell escaping.
- Supports YAML form fields and Markdown body templates.
- Verifies issue creation and returns the link.

## SKILL.md

## 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:**
    ```bash
    # 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).

## Github Issue Creator FAQ

### How does github-issue-creator avoid formatting bugs?

It always writes the body to a temporary file and passes it with gh issue create --body-file.

### What label does it add by default?

The maintainer-only label unless the user explicitly requests otherwise.

### Where does it find issue templates?

In .github/ISSUE_TEMPLATE/ as YAML forms like bug_report.yml or Markdown templates.

### Is Github Issue Creator safe to install?

skills.sh reports 3 of 3 security scanners passed. Review the Security Audits panel on this page before installing in production.

## Machine access

- [Sitemap](https://skillselion.com/sitemap.xml)
- [llms.txt](https://skillselion.com/llms.txt)
- [llms-full.txt](https://skillselion.com/llms-full.txt)
- [Developer resources](https://skillselion.com/developers)
- [OpenAPI spec](https://skillselion.com/openapi.json)
- [MCP handshake](https://skillselion.com/.well-known/mcp)
- [API catalog](https://skillselion.com/.well-known/api-catalog)
- [AI catalog](https://skillselion.com/.well-known/ai-catalog.json)
- [Pricing](https://skillselion.com/pricing.md)
- [Auth](https://skillselion.com/auth.md)
- [AGENTS.md](https://skillselion.com/AGENTS.md)
- [Contact](https://skillselion.com/contact)
- [Home](https://skillselion.com/)
