gh-create-issue

Solid

Use when user wants to create a GitHub issue for the current repository. Must read and follow the repository's issue template format.

Code & Development 46,699 stars 4433 forks Updated today AGPL-3.0

Install

View on GitHub

Quality Score: 90/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# GitHub Create Issue Use this skill when the user requests to create an issue. Must follow the repository's issue template format. ## Workflow ### Step 1: Determine Template Type Analyze the user's request to determine the issue type: - If the user describes a problem, error, crash, or something not working -> Bug Report - If the user requests a new feature, enhancement, or additional support -> Feature Request - If the user is asking a question or needs help with something -> Questions & Discussion - Otherwise -> Others **If unclear**, ask the user which template to use. Do not default to "Others" on your own. ### Step 2: Read the Selected Template 1. Read the corresponding template file from `.github/ISSUE_TEMPLATE/` directory. 2. Identify required fields (`validations.required: true`), title prefix (`title`), and labels (`labels`, if present). ### Step 3: Collect Information Based on the selected template, ask the user for required information only. Follow the template's required fields and option constraints (for example, Platform and Priority choices). ### Step 4: Build and Preview Issue Content Create a temp file and write the issue content: - Use `issue_body_file="$(mktemp /tmp/gh-issue-body-XXXXXX).md"` - Use the exact title prefix from the selected template. - Fill content following the template body structure and section order. - Apply labels exactly as defined by the template. - Keep all labels when there are multiple labels. - If template has no labels...

Details

Author
CherryHQ
Repository
CherryHQ/cherry-studio
Created
2 years ago
Last Updated
today
Language
TypeScript
License
AGPL-3.0

Similar Skills

Semantically similar based on skill content — not just same category