Get the FREE Ultimate OpenClaw Setup Guide →

create

npx machina-cli add skill remenoscodes/claude-git-native-issue/create --openclaw
Files (1)
SKILL.md
1.6 KB

git-native-issue — Create

Create a new issue in the current repository using git-native-issue.

Arguments

Parse $ARGUMENTS as the issue creation parameters:

  • First positional argument or quoted string: issue title (required)
  • -m "description": issue body/description
  • -l label: label (can be repeated for multiple labels)
  • -p priority: priority level (low, medium, high, critical)
  • -a email: assignee email

If $ARGUMENTS is empty, ask the user for at least a title.

Steps

  1. Verify prerequisites:

    • Run git rev-parse --git-dir 2>/dev/null to confirm we are in a git repo
    • Run which git-issue 2>/dev/null to confirm git-issue is installed
    • If git-issue is not initialized (git config --get issue.remote fails and there is a remote), run git issue init first
  2. Construct the command from parsed arguments. Pass the title as the first positional argument, flags after.

  3. Execute git issue create and capture the output.

  4. Report the created issue ID and suggest next actions:

    • git issue show <id> to see details
    • git issue edit <id> --add-label in-progress to start working on it

Examples

/claude-git-native-issue:create "Fix auth bug" -l bug -p high
/claude-git-native-issue:create "Add dark mode" -m "Users requested dark theme support" -l feature
/claude-git-native-issue:create "Refactor database layer" -l refactor -l elixir -p medium

Source

git clone https://github.com/remenoscodes/claude-git-native-issue/blob/main/skills/create/SKILL.mdView on GitHub

Overview

This skill creates a new issue in the current repository using git-native-issue. It parses an ARGUMENTS string to extract a title, optional description, labels, priority, and assignee, then runs git issue create and reports the new issue ID.

How This Skill Works

It first verifies the environment (in-repo and git-issue installed), then builds the git issue create command from parsed arguments (title as the first positional argument, followed by -m, -l, -p, -a). It executes the command and returns the created issue ID along with suggested next commands to view or edit the issue.

When to Use It

  • When you want to open a new issue directly from the repo context without leaving the terminal
  • When you need to attach a description, multiple labels, and a priority level
  • When you want to assign the issue to a teammate via email using -a
  • When the repo has git-issue configured and you want to initialize it if needed
  • When you want to quickly verify or adjust the created issue with git issue show or git issue edit

Quick Start

  1. Step 1: Verify prerequisites with git rev-parse --git-dir and which git-issue
  2. Step 2: Provide a title and optional -m/-l/-p/-a arguments in the ARGUMENTS string
  3. Step 3: Claude runs git issue create and returns the new issue ID; view with git issue show <id>

Best Practices

  • Start with a clear, concise title as the first argument
  • Use -m to provide a focused description for context
  • Attach relevant labels with -l; repeat -l for multiple labels
  • Set a meaningful priority with -p (low/medium/high/critical)
  • After creation, run git issue show <id> to confirm details and adjust as needed

Example Use Cases

  • /claude-git-native-issue:create "Fix auth bug" -l bug -p high
  • /claude-git-native-issue:create "Add dark mode" -m "Users requested dark theme support" -l feature
  • /claude-git-native-issue:create "Refactor database layer" -l refactor -l elixir -p medium
  • /claude-git-native-issue:create "Improve logging for CI" -l enhancement -p low
  • /claude-git-native-issue:create "Add unit tests for payment flow" -l test -p medium -a dev@example.com

Frequently Asked Questions

Add this skill to your agents
Sponsor this space

Reach thousands of developers