create-github-issue

Create GitHub issues from file bodies and validate them with gh.

2|1|Updated Mar 15, 2026
One-click install
npx skills add https://github.com/brandonavant/harness-engineering-guide --skill create-github-issue-brandonavant
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: create-github-issue
Source: https://github.com/brandonavant/harness-engineering-guide/tree/main/.claude/skills/create-github-issue
Command: npx skills add https://github.com/brandonavant/harness-engineering-guide --skill create-github-issue-brandonavant

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

Creating GitHub issues consistently and accurately can be error-prone when manually composing bodies, especially across multiple issues. This Skill ensures the final issue body on GitHub matches the intended content by using a temporary file as the source of truth and performing post-creation validation.

Core Features & Use Cases

  • Deterministic body creation: write the complete issue body to a file and create the issue from that file.
  • Validation and recovery: verify the live issue matches the source, retry on transient failures, and repair when necessary.
  • Batch-safe workflow: process multiple issues in sequence with per-issue validation to maintain integrity.

Quick Start

Use the create-github-issue skill to generate an issue by writing the body to a temp file, creating the issue with gh --body-file, and validating the result with the provided script.

Frequently Asked Questions about create-github-issue

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

FAQPage Schema
How do I create GitHub issues with consistent body content across multiple entries?▼

Creating GitHub issues consistently involves writing the intended body to a temporary file and using the gh CLI with the --body-file flag to ensure the live issue matches your exact source content.

What is the best way to validate that a created GitHub issue matches the intended text?▼

Issue validation verifies the live GitHub issue against a local source file using a Python script, ensuring the body content matches deterministically and repairing or retrying when transient API failures occur.

Can I use the gh CLI to generate issues in a batch workflow without losing data?▼

Yes, you can process multiple issues in sequence using a batch-safe workflow that applies per-issue validation to maintain integrity and recover from transient API failures during generation.

Why does my GitHub issue body not match the content I submitted through the API?▼

Mismatched issue bodies often result from manual composition errors or transient API failures, which you can prevent by using a file-first body workflow with post-creation validation.

Do I need to install Python to validate GitHub issues created with the gh CLI?▼

Yes, validating GitHub issues requires Python to execute the provided validation script that compares the live issue body against the source file and handles retry logic.