Skip to content
Back to skills

Gh Creating Issues

ASecurity

Creates a new GitHub issue. Use when a new task, bug, or feature request needs to be tracked.

  • 666 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added February 8, 2026
toolsbashgitapi

Works with

  • api

Security analysis

A100/100

Scanned February 12, 2026

npx -y skills add majiayu000/claude-skill-registry --skill gh-creating-issues --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Gh Creating Issues?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Gh Creating Issues
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/majiayu000-gh-creating-issues/badge)](https://www.skillsdirectory.com/skills/majiayu000-gh-creating-issues)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: gh-creating-issues
description: Creates a new GitHub issue. Use when a new task, bug, or feature request needs to be tracked.
---

# Creating GitHub Issues

## Purpose

Enables the creation of new issues using the `gh issue create` command.

## 1. Safety & Verification

- **Mandatory Context**: Ensure `gh-verifying-context` has been run and confirmed by the user.
- **Human-in-the-Loop**: You MUST present the full command and the issue content (Title, Body) to the user before execution.
- **Repository Check**: Confirm the target repository name and owner with the user.
- **Sensitivity Check**: Do not include internal credentials, server IPs, or proprietary snippets in the issue body.

## 2. Common Workflows

### Workflow: Create Basic Issue

Creates an issue with a title and body.

**Command**:

```bash
gh issue create --title "My Title" --body "My Description"
```

### Workflow: Create with Labels, Assignees, and Projects

Sets metadata and links to a project board at creation time.

**Command**:

```bash
gh issue create --title "Bug Report" --body "Steps to repro..." --label "bug" --assignee "@me" --project "Roadmap"
```

### Workflow: Create and Link as Sub-issue

Creates a new issue and immediately links it as a sub-issue to an existing parent.

**Command**:

```bash
# 1. Create the issue and get its numeric ID
NEW_ISSUE_ID=$(gh issue create --title "Sub-task" --body "Details..." --json id -q .id)

# 2. Link it to the parent
gh api --method POST /repos/{owner}/{repo}/issues/{parent_number}/sub_issues \
  -F sub_issue_id=$NEW_ISSUE_ID
```

## 3. Output Handling

Returns the URL of the created issue.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.