github-issue-label-audit-and-command-bundles
Safely turn drafted issue bodies into reusable gh issue create commands by auditing repo labels, exact duplicates, and auth first.
Best use case
github-issue-label-audit-and-command-bundles is best used when you need a repeatable AI agent workflow instead of a one-off prompt.
Safely turn drafted issue bodies into reusable gh issue create commands by auditing repo labels, exact duplicates, and auth first.
Teams using github-issue-label-audit-and-command-bundles 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
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/github-issue-label-audit-and-command-bundles/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How github-issue-label-audit-and-command-bundles Compares
| Feature / Agent | github-issue-label-audit-and-command-bundles | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/A |
Frequently Asked Questions
What does this skill do?
Safely turn drafted issue bodies into reusable gh issue create commands by auditing repo labels, exact duplicates, and auth first.
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 label audit and command bundles
Use when you already have draft issue bodies/titles and want to produce reliable `gh issue create` commands or operator scripts without failing on missing labels or duplicate issues.
## Why this exists
A common failure mode is generating polished `gh issue create` commands that reference labels not present in the target repo. Another is using only broad keyword search and missing an exact-title duplicate check. This skill front-loads those checks before side effects.
## Workflow
1. Confirm target repo and auth
- `git remote -v`
- `gh auth status`
- verify the intended `owner/repo` explicitly instead of assuming the current checkout or script default is correct.
2. Audit live labels before generating commands
- `gh label list --repo <owner/repo>`
- compare proposed labels against actual repo taxonomy.
- if a drafted label does not exist, replace it with an existing repo label rather than leaving a broken command in a reusable script.
- add an inline note in the generated script documenting which labels were verified and which drafted labels were removed/replaced.
3. Search for duplicates twice
- broad keyword search for nearby issues:
- `gh issue list --repo <owner/repo> --state all --search '<keyword1> OR <keyword2>'`
- exact-title or exact-phrase search for each planned issue title:
- `gh issue list --repo <owner/repo> --state all --search '"<exact title or distinctive phrase>"'`
- broad search finds nearby work; exact search catches low-noise duplicates.
4. Generate body files and commands only after the audit
- prefer `--body-file` over inline body strings.
- emit copy/paste commands or a shell script only after repo/auth/label/duplicate checks are complete.
5. Re-render and verify the final command bundle
- execute the script in print mode if possible.
- confirm printed commands reference only existing labels and the correct repo.
6. If label audit forces changes, patch all related artifacts consistently
- update the standalone `gh issue create` helper script
- update any broader operator bundle that embeds those commands
- re-run the rendered output check afterward
## Good fit examples
- turning review findings into 3-10 follow-up GitHub issues
- preparing operator handoff scripts for issue creation
- building repeatable triage or issue-seeding bundles for a repo with a custom taxonomy
## Pitfalls
- Do not assume labels like `area:*`, `parsing`, or `releases` exist just because they look reasonable.
- Do not rely only on broad keyword search when avoiding duplicates.
- Do not update one script and forget a second operator bundle that embeds the same commands.
## Minimal command checklist
```bash
gh auth status
gh label list --repo <owner/repo>
gh issue list --repo <owner/repo> --state all --search '"<exact title>"'
```
Then generate or patch the reusable `gh issue create` commands.Related Skills
llm-wiki-audit-feedback-loop
Durable feedback loop for correcting llm-wiki pages without losing the correction to chat history. Use when (1) a human notices a wiki page is wrong, outdated, or contradicts a source, (2) processing the `audit/` inbox of a domain wiki, (3) reviewing what feedback has been resolved vs deferred, (4) needing to leave a comment on a specific text range that survives line- number drift. Implements the anchored-text audit file pattern from lewislulu/llm-wiki-skill, adapted for workspace-hub's domain-wiki layout under /mnt/local-analysis/llm-wiki/wikis/<domain>/. Extends the 5-op model (compile/ingest/query/lint) from research/llm-wiki with the missing `audit` op. Never silently delete feedback — rejected audits stay archived with rejection rationale.
pre-completion-cleanup-audit
Audit and dispose of session residue (orphan files, scratch dirs, sibling-repo state, locks, trash-stages) BEFORE claiming a task complete. Required gate before any agent says "all done", "task complete", or hands work back to user/orchestrator.
repo-mission-portfolio-audit
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.
provider-session-ecosystem-audit-and-exporters
Build and maintain cross-provider session-log audits for Codex, Codex, Hermes, and Gemini, including exporter design, normalization, and behavioral verification.
plan-gated-issue-execution-wave
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.
orcawave-orcaflex-readiness-audit
Audit the real readiness of digitalmodel OrcaWave/OrcaFlex spec-driven workflows by reconciling workspace-hub issues, source/tests, semantic-equivalence boundaries, and wiki synthesis gaps.
tax-filing-session-setup-with-github-tracking
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
Structured workflow for setting up a multi-file tax filing session with GitHub issue tracking and prepared-file validation
staged-issue-tree-creation-with-deduplication
Pattern for creating hierarchical GitHub issue trees from phased project plans while checking for duplicate/overlapping issues
read-only-pre-implementation-audit
Systematic cross-check workflow to validate assumptions before TDD coding begins
plan-gated-issue-validation-workflow
Systematic validation pattern for plan-approved GitHub issues with pre-existing deliverables
plan-gated-issue-implementation
Workflow for executing pre-approved GitHub issues with mandatory validation checkpoints