github-issue-create

Creates GitHub issues via GitHub CLI after checking for duplicates.

Updated Jun 11, 2026
One-click install
npx skills add https://github.com/marcocpt/trae_skills --skill github-issue-create-marcocpt
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: github-issue-create
Source: https://github.com/marcocpt/trae_skills/tree/main/github-issue-create
Command: npx skills add https://github.com/marcocpt/trae_skills --skill github-issue-create-marcocpt

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Manually creating GitHub issues risks duplicates and loses important context like which branch and commit the issue relates to. This Skill automates issue creation with built-in duplicate detection and automatic inclusion of branch and commit metadata. ## Core Features & Use Cases - Duplicate Detection: Checks existing issues on the repository before creating a new one and reports any matches. - Context-Rich Issues: Automatically embeds the current branch name (git branch --show-current) and commit SHA (git rev-parse HEAD) in every issue body. - Use Case: While debugging a feature branch, you discover a bug. Ask the assistant to file an issue, and it verifies no duplicate exists, then creates one tagged with your exact branch and commit for full traceability. ## Quick Start Create a GitHub issue for the login timeout bug on the current repository, including the current branch and commit information.

Frequently Asked Questions about github-issue-create

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

FAQPage Schema
How do I create a GitHub issue from the command line?

Use the GitHub CLI with `gh issue create` to open an issue directly from your terminal. This Skill wraps that command, first checking for duplicates and automatically adding your current branch name and commit SHA to the issue body.

How to avoid creating duplicate GitHub issues?

Search existing issues with `gh issue list` or `gh search issues` before creating a new one. This Skill performs that duplicate check automatically and reports any matching issues instead of creating a redundant entry.

Does gh issue create require authentication?

Yes, the GitHub CLI must be authenticated via `gh auth login` with access to the target repository. Without valid credentials, issue listing and creation commands will fail.

Why include branch name and commit SHA in a GitHub issue?

Including the branch name and commit SHA pins the issue to the exact code state where the problem was found. This makes reproduction and debugging far easier for anyone picking up the issue later.

Can I create GitHub issues without the GitHub CLI?

Yes, you can use the GitHub web interface or the REST API directly. However, this Skill specifically relies on the gh CLI, so it must be installed and authenticated for the workflow to function.