Claude Skills
CollectionsCompareWorkflowsNominate
Sign inSign up
© 2026 Curated Agent Skills·Learn more about Agent Skills
Back to repository

create-gh-issue

verified

Create a GitHub issue with title, body, and labels

View on GitHub

Marketplace

clauding

e-stpierre/clauding

Plugin

interactive-sdlc

sdlc

Repository

e-stpierre/clauding

plugins/interactive-sdlc/skills/create-gh-issue/SKILL.md

Last Verified

February 1, 2026

Install Skill

Select agents to install to:

Scope:
npx add-skill https://github.com/e-stpierre/clauding/blob/main/plugins/interactive-sdlc/skills/create-gh-issue/SKILL.md -a claude-code --skill create-gh-issue

Installation paths:

Claude
.claude/skills/create-gh-issue/
Powered by add-skill CLI

Instructions

# Create GitHub Issue

## Overview

Create a well-formed GitHub issue using the `gh` CLI tool, returning the issue URL for reference. Supports title, body, labels, milestone, and assignee options.

## Arguments

### Definitions

- **`<title>`** (required): The issue title.
- **`[body]`** (optional): The issue body/description.
- **`[labels]`** (optional): Comma-separated list of labels to apply.
- **`[milestone]`** (optional): Milestone to assign the issue to.
- **`[assignee]`** (optional): GitHub username to assign (use `@me` for self).

### Values

$ARGUMENTS

## Core Principles

- Verify `gh` CLI is available and authenticated before attempting creation
- Validate required parameters before executing
- Use proper escaping for special characters in title and body
- Return the created issue URL for use in workflows

## Instructions

1. Verify the `gh` CLI is available by running `gh --version`

2. Parse the title and optional parameters from the command input

3. Build the `gh issue create` command with provided parameters:

   ```
   gh issue create --title "<title>" [--body "<body>"] [--label "<labels>"] [--milestone "<milestone>"] [--assignee "<assignee>"]
   ```

4. Execute the command and capture the output

5. If successful, extract and return the issue URL from the output

6. If creation fails, report the error and suggest fixes (authentication, permissions, etc.)

## Output Guidance

Provide a brief confirmation message:

**On success:**

```
Issue created: https://github.com/owner/repo/issues/123
Title: Add authentication
Labels: enhancement, priority-high
```

**On failure:**

```
Failed to create issue: <error message from gh CLI>
Suggestion: Check that gh is authenticated with 'gh auth status'
```

Validation Details

Front Matter
Required Fields
Valid Name Format
Valid Description
Has Sections
Allowed Tools
Instruction Length:
1707 chars