gh-issue-creation-full-repo-and-batch-setup

Create multiple related GitHub issues safely by resolving full OWNER/REPO, checking duplicates and labels first, and verifying each created issue.

5 stars

Best use case

gh-issue-creation-full-repo-and-batch-setup is best used when you need a repeatable AI agent workflow instead of a one-off prompt.

Create multiple related GitHub issues safely by resolving full OWNER/REPO, checking duplicates and labels first, and verifying each created issue.

Teams using gh-issue-creation-full-repo-and-batch-setup should expect a more consistent output, faster repeated execution, less prompt rewriting.

When to use this skill

  • You want a reusable workflow that can be run more than once with consistent structure.

When not to use this skill

  • You only need a quick one-off answer and do not need a reusable workflow.
  • You cannot install or maintain the underlying files, dependencies, or repository context.

Installation

Claude Code / Cursor / Codex

$curl -o ~/.claude/skills/gh-issue-creation-full-repo-and-batch-setup/SKILL.md --create-dirs "https://raw.githubusercontent.com/vamseeachanta/workspace-hub/main/.agents/skills/development/gh-issue-creation-full-repo-and-batch-setup/SKILL.md"

Manual Installation

  1. Download SKILL.md from GitHub
  2. Place it in .claude/skills/gh-issue-creation-full-repo-and-batch-setup/SKILL.md inside your project
  3. Restart your AI agent — it will auto-discover the skill

How gh-issue-creation-full-repo-and-batch-setup Compares

Feature / Agentgh-issue-creation-full-repo-and-batch-setupStandard Approach
Platform SupportNot specifiedLimited / Varies
Context Awareness High Baseline
Installation ComplexityUnknownN/A

Frequently Asked Questions

What does this skill do?

Create multiple related GitHub issues safely by resolving full OWNER/REPO, checking duplicates and labels first, and verifying each created issue.

Where can I find the source code?

You can find the source code on GitHub using the link provided at the top of the page.

SKILL.md Source

# GitHub issue creation: full repo resolution + batch setup

Use when asked to add one or more issues to a GitHub repo, especially when the user gives only a short repo name and wants several related issues created quickly.

## Why this exists

Two practical gotchas came up in live use:
1. `gh ... --repo` requires the full `OWNER/REPO` form, not just the repo name.
2. For multi-issue requests, it is safer to draft structured body files, create the issues, then immediately verify titles, URLs, labels, and body content rather than assuming creation succeeded exactly as intended.

## Workflow

1. Resolve the repository identity first.
   - If the user gives only `repo-name`, run:
     - `gh repo view repo-name --json nameWithOwner,url,description`
   - Then use the returned `OWNER/REPO` string for all subsequent commands.

2. Check for likely duplicates before creating anything.
   - Search issue titles/bodies with key terms from the request.
   - Example:
     - `gh issue list --repo OWNER/REPO --state all --limit 100 --search 'keyword1 OR keyword2 OR keyword3'`

3. Inspect available labels.
   - Example:
     - `gh label list --repo OWNER/REPO --limit 200`
   - Reuse the closest existing labels instead of inventing new ones unless explicitly asked.

4. Draft each issue body in a separate temp markdown file.
   - Include:
     - objective
     - scope / questions to answer
     - deliverables
     - constraints / framing
   - This avoids shell quoting problems and makes edits easy.

5. Create the issues.
   - Example:
     - `gh issue create --repo OWNER/REPO --title '...' --body-file /tmp/file.md --label enhancement`

6. If one issue is the umbrella/meta issue, edit it after creation to link the child issue numbers.
   - This is often easier than guessing future issue numbers ahead of time.

7. If you need to post a follow-up comment linking the newly created issues back to a parent/umbrella issue, resolve the issue numbers first and only then write/post the comment body.
   - Safe pattern:
     1. create the issues and capture their numeric IDs
     2. write the comment/body file with the real issue numbers already substituted
     3. post with `--body-file`
   - Do not leave literal placeholders like `#${NEW_NUM}` in the file you send to `gh issue comment`.
   - If a placeholder leaks into a posted comment, immediately add a correction comment with the real issue numbers.

7. Verify every created issue immediately.
   - Use:
     - `gh issue view N --repo OWNER/REPO --json number,title,url,labels,body`
   - Confirm:
     - title matches intent
     - correct labels applied
     - body rendered correctly
     - URLs/issue numbers recorded

8. When posting follow-up comments that mention newly created issue numbers, render placeholders before posting.
   - Do NOT leave shell placeholders like `#${NEW_NUM}` inside a heredoc/body file and assume later interpolation will happen automatically.
   - Safe pattern:
     - create the new issue
     - capture the numeric id
     - write the final body file with the concrete number already substituted
     - then post with `gh issue comment --body-file ...`
   - If a placeholder accidentally lands in a comment, immediately post a correction comment with the exact issue numbers.

## Critical gotcha


`gh --repo` does NOT accept a bare repo name.

Incorrect:
```bash
gh issue list --repo achantas-data
```

Typical failure:
```text
expected the "[HOST/]OWNER/REPO" format
```

Correct:
```bash
gh issue list --repo vamseeachanta/achantas-data
```

## Good fit

- user says "add issues to repo X"
- repo may not be cloned locally
- need to create multiple related research/planning issues
- want fast, low-risk GitHub issue setup with verification

## Verification checklist

- repo resolved to full `OWNER/REPO`
- duplicate search run
- labels inspected
- issue bodies stored in files
- all issue URLs captured
- umbrella issue updated with child references if applicable
- final `gh issue view` verification performed

Related Skills

interactive-report-generator

5
from vamseeachanta/workspace-hub

Generate interactive HTML reports with Plotly visualizations from data analysis results. Supports dashboards, charts, and professional styling.

data-validation-reporter

5
from vamseeachanta/workspace-hub

Generate interactive validation reports with quality scoring, missing data analysis, and type checking. Combines Pandas validation, Plotly visualization, and YAML configuration for comprehensive data quality reporting.

repo-ecosystem-hygiene

5
from vamseeachanta/workspace-hub

Interpret the daily read-only repo ecosystem hygiene audit and route remediation through approved workflows.

orcaflex-reporting-fixture-proof-pattern

5
from vamseeachanta/workspace-hub

Build and extend fixture-backed OrcaFlex reporting proof paths in digitalmodel using stable metadata baselines, normalized HTML snapshots, and reusable reporting test helpers.

repo-sync

5
from vamseeachanta/workspace-hub

Smart repository synchronization across workspace-hub ecosystem — diagnoses and fixes pull failures (detached HEAD, diverged branches, uncommitted changes)

repo-structure

5
from vamseeachanta/workspace-hub

Canonical source layout, test mirroring, root cleanliness, gitignore, docs classification, and committed artifact rules for all workspace-hub tier-1 repos. Consult before creating directories or files in any submodule.

repo-portfolio-steering

5
from vamseeachanta/workspace-hub

Generate a one-page portfolio steering report for workspace-hub. Use when the user invokes /repo-portfolio-steering, asks about harness vs engineering balance, wants a portfolio health check, or asks which repos to fund next. Reports on portfolio steering, GTM readiness, and provider activity balance.

repo-mission-portfolio-audit

5
from vamseeachanta/workspace-hub

Audit the workspace-hub repo portfolio to extract each repo's mission, identify documentation gaps, and prioritize a plan/approval sequence with explicit LLM-wiki weighting for future issue triage.

plan-gated-issue-execution-wave

5
from vamseeachanta/workspace-hub

Execute a multi-issue architecture/planning wave in a plan-gated repo, then safely transition approved issues into implementation with file-based Codex prompts, local approval markers, subprocess monitoring, and cleanup handling for sandbox/hook edge cases.

mixed-ops-vs-repo-fix-plan-boundary

5
from vamseeachanta/workspace-hub

Plan mixed operational-vs-repo remediation issues by proving live-state classification first, then only proposing code changes for confirmed repo-owned failure paths.

tax-filing-session-setup-with-github-tracking

5
from vamseeachanta/workspace-hub

Structured workflow for preparing and tracking a tax filing session using prepared documents, task checklist, and GitHub issue cross-referencing

tax-filing-session-setup-with-github-traceability

5
from vamseeachanta/workspace-hub

Structured workflow for setting up a multi-file tax filing session with GitHub issue tracking and prepared-file validation