gh-issue-creator

Create GitHub issues with templates and labels via gh CLI.

13|1|Updated Mar 12, 2026
One-click install
npx skills add https://github.com/danchamorro/pi-agent-toolkit --skill gh-issue-creator-danchamorro
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gh-issue-creator
Source: https://github.com/danchamorro/pi-agent-toolkit/tree/main/dotfiles/global-skills/gh-issue-creator
Command: npx skills add https://github.com/danchamorro/pi-agent-toolkit --skill gh-issue-creator-danchamorro

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Creating GitHub issues manually can be error-prone and inconsistent; this Skill helps automate the process with gh CLI by enforcing templates, labels, and formatting rules.

Core Features & Use Cases

  • Auto-detect repository context from git to determine the target repo
  • Enforce an issue workflow with type mapping (Bug, Feature, Task) and label assignment
  • Generate well-structured bodies with sections like Summary, Details, and Acceptance Criteria
  • Encourage using body-files for complex content to avoid shell escaping issues
  • Use case: maintainers create consistent bug reports and feature requests across projects

Quick Start

Create a GitHub issue using gh with a title and a structured body file.

Frequently Asked Questions about gh-issue-creator

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create consistent GitHub issues using the gh CLI?

Creating well-structured GitHub issues with gh CLI involves auto-detecting your repository context, mapping issue types to labels, and generating structured bodies from standard templates to enforce formatting rules.

How do I automatically apply labels and templates when creating GitHub issues?

Automating GitHub issue labeling and formatting uses an issue workflow that maps issue types to specific labels and assembles bodies with sections like Summary, Details, and Acceptance Criteria automatically.

Can I use a body file for complex GitHub issue content to avoid shell escaping issues?

Yes, using a body file for complex GitHub issue content avoids shell escaping issues with gh CLI by allowing you to pass a structured file directly instead of typing lengthy markdown text.

Does gh CLI issue creation require manual repository detection for project maintenance?

No, gh CLI issue creation does not require manual repository detection for project maintenance because the system automatically identifies the target repository directly from your current git context.

What is the best way to generate well-structured bug reports and feature requests across repositories?

The best way to generate well-structured bug reports and feature requests across repositories is enforcing an automated gh CLI workflow that applies consistent formatting, standard templates, and type-based label assignment.

Why does my GitHub issue workflow need multi-account safety checks during gh CLI automation?

Multi-account safety checks are needed during GitHub issue automation to prevent creating issues in the wrong repository context when your local environment is authenticated with multiple GitHub accounts.