create-github-issue

Generate GitHub issues from user intent using official repository templates and gh CLI.

7.5k|1.4k|Updated Dec 8, 2024
One-click install
npx skills add https://github.com/tailcallhq/forgecode --skill create-github-issue-tailcallhq
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: create-github-issue
Source: https://github.com/tailcallhq/forgecode/tree/main/.forge/skills/create-github-issue
Command: npx skills add https://github.com/tailcallhq/forgecode --skill create-github-issue-tailcallhq

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill automates the creation of GitHub issues by leveraging repository templates and the GitHub CLI to ensure consistency and accuracy.

Core Features & Use Cases

  • Template-driven issue creation using the repository's official templates
  • Automatic template selection from .github/ISSUE_TEMPLATE and template reading
  • Labeling, assignees, milestones, and draft-issues support
  • Compatibility with gh issue create and contextual prompts

Quick Start

Instruct Forge to create a GitHub issue in the target repository using the repository’s official template.

Frequently Asked Questions about create-github-issue

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

FAQPage Schema
How do I automate GitHub issue creation using repository templates?

You can create GitHub issues from templates by instructing the assistant to generate an issue in the target repository. The Skill reads .github/ISSUE_TEMPLATE configurations, selects the appropriate template, and uses the gh CLI to apply labels, assignees, and milestones.

Can I assign labels and milestones when creating GitHub issues from templates?

Yes, you can assign labels, milestones, and assignees when creating GitHub issues from templates. The Skill reads your repository's label configurations and applies these attributes automatically to ensure the generated issues follow your project's tracking standards.

Does this work with gh issue create across multiple repositories?

Yes, the Skill works across multiple repositories using the gh CLI. It automatically detects and selects the appropriate issue template for bugs, features, or tasks from the specific repository you target, ensuring consistent structure regardless of the project.

What is the best way to enforce required fields in GitHub issue templates?

The best way to enforce required fields in GitHub issues is to use a template-driven automation Skill. It reads your .github/ISSUE_TEMPLATE configurations, validates the user intent against required fields, and ensures the generated issue maintains structural consistency before creation.

Do I need the gh CLI installed to create GitHub issues from templates?

Yes, you need the gh CLI installed and configured because the Skill utilizes it to interact with GitHub. It relies on the gh CLI to read repository configurations, apply templates, and execute the issue creation process with the correct labels and assignees.

Why are my GitHub issues missing labels when using templates?

GitHub issues might miss labels if the template or label configurations are not properly defined in your repository. This Skill resolves that by reading the .github/ISSUE_TEMPLATE and labels config directly, enforcing consistent labeling and structure during the automated creation process.