create-github-issue
What it does
This skill creates a GitHub issue using the GitHub command line tool. It reads the repository's issue template and fills in each section. It is for people who want to report a bug or request a feature.
When to use it
- ✓When you want to file a bug report in a GitHub repository.
- ✓When you want to request a feature using the project's own template.
- ✓When you want to check for existing issues before creating a new one.
Skill link
https://github.com/tailcallhq/forgecode/blob/main/.forge/skills/create-github-issue/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agent’s skills folder.
Example of what to ask your AI
“Can you file a bug report on this project's GitHub, using their issue template?”
5 new skills a week. 1 minute to read.
How it works
The agent lists the repository's issue templates, picks the right one, reads its required fields, and creates the issue with the GitHub command line tool.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
Create GitHub Issue
Create comprehensive GitHub issues using gh issue create by dynamically discovering and adhering to the repository's official issue templates.
Workflow
1. Discover and Select Template
CRITICAL: You must use the repository's official templates. Do not assume the structure.
- List available templates:
ls .github/ISSUE_TEMPLATE/ - Select the most appropriate template based on the issue type (e.g.,
bug_report.yml,feature_request.yml). - Read the selected template to understand its required fields, structure, and any title prefixes or default labels.
cat .github/ISSUE_TEMPLATE/<selected_template>.yml
2. Gather Context
Gather relevant information to fulfill the template requirements:
# Check current git status for context
git status
# View recent commits if related to codebase changes
git log --oneline -10
# Check if related issues exist
gh issue list --search "keyword" --limit 10
3. Generate Markdown Body
MANDATORY: Structure the issue body exactly as defined in the selected YAML template without exception.
- Map YAML fields to Markdown: Convert each field in the template (typically found under
body:) into a Markdown section. - Use Headers: Use the
labeloridfrom the YAML field as an H2 header (e.g.,## Bug Description). - Respect Validation: Ensure all fields marked as
required: truein the YAML are populated with meaningful content. - Format Correctly: Use code blocks (e.g.,
```shell,```yaml) for logs and configurations as suggested by the template'srenderattribute.
4. Choose Labels
Select labels by inspecting .github/labels.json.
- Primary Label: Always include a
type:label that matches the issue type. - Additional Labels: Add relevant
state:,work:, orpriority:labels if they exist in the configuration. - Constraint: Only use labels defined in
.github/labels.json.
5. Create Title
Follow the template's title field if it provides a prefix (e.g., "[Bug]: ").
- Be concise: Keep under 70 characters.
- Use imperative mood: "Fix authentication timeout" instead of "Authentication is timing out".
- Start with action verb: Fix, Add, Improve, Update, Refactor.
6. Execute Issue Creation
Step 1: Write body to temp file
Use the write tool to create .forge/FORGE_ISSUE_BODY.md with the structured Markdown content.
Step 2: Create issue
gh issue create \
--title "[Prefix]: Descriptive Title" \
--body-file .forge/FORGE_ISSUE_BODY.md \
--label "type: <type>, work: <complexity>"
Optional flags:
--assignee "username"--milestone "name"--draft(For proposals or research)
7. Finalize
Provide the user with the generated issue URL and a brief summary of the created issue.
Guidelines
- No Exceptions: You must follow the discovered template's structure exactly. If a template asks for "Steps to Reproduce", you must provide them.
- Dynamic Discovery: Always read the files in
.github/ISSUE_TEMPLATE/and.github/labels.jsonfirst. Never rely on hardcoded knowledge of templates or labels as they change frequently. - Cleanliness: Ensure no placeholder text (like "Describe the bug...") remains in the final body.
- Contextual Awareness: If the user provides logs or code snippets, ensure they are placed in the correct sections of the template.
Notes
- Single Source of Truth: The files in
.github/are the authoritative reference for issue structure and categorization. - Tooling: Use
ghCLI directly. It is pre-authenticated and ready for use. - Automation: Do not ask for confirmation before creating the issue if the user's intent is clear.
FAQ
Do I need the GitHub CLI installed?
Yes. The skill uses the gh command line tool to create the issue.
Does it follow the project's template?
Yes. It must use the repository's official template and keep its section structure.
Does it check for duplicates?
It can search for related issues before creating a new one.
Details
Original description by the author
Create GitHub issues using GitHub CLI with support for templates, labels, assignees, milestones, and draft issues. Use when the user asks to create a GitHub issue, file a bug report, submit a feature request, or open an issue in a GitHub repository.
repo: tailcallhq/forgecode
Popularity
- GitHub stars
- 7.6k
- Ranking position
- #13110
- License
- Apache-2.0
- Updated
- 11/1/2026
Comments
- …
More skills from this repository
create-agent
7.6kTeaches your agent to create or change custom agents for the Forge coding app, stored as markdown files with settings at the top.
create-command
7.6kTeaches your agent to create reusable commands for the Forge coding app, written as markdown steps that run in order.
create-plan
7.6kHelps your agent write a detailed implementation plan for a complex task, with steps, risks and alternatives, before any code changes.
github-pr-comments
7.6kHelps your agent work through every inline comment on a GitHub pull request, making each requested change one at a time.
Similar skills
diffs
394kLets your agent produce a real, shareable diff of edits as a viewer link or image file, instead of a hand-written summary.
coding-agent
394kHelps your agent hand a larger coding job to Codex, Claude Code, or OpenCode as a background worker, then check on its progress.
gh-issues
394kHelps your agent find GitHub issues, pick the ones to work on, and open pull requests with fixes, including follow-up on review comments.