# gh issues

> Decompose complex feature requests into atomic, dependency-mapped GitHub issues via the GitHub CLI.

gh issues is a free AI agent skill on Agensi by David Tsao, in Workflow Automation. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: Free
- Creator: [David Tsao](https://www.agensi.io/creators/david-tsao)
- Category: [Workflow Automation](https://www.agensi.io/skills/workflow-automation)
- Uses: 1
- Version: 1.0
- Last updated: 2026-10-18
- Security: scan passed (2026-10-18); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/gh-issues
- Tags: automation, github-cli, project-management, devops

## About this skill

Managing complex feature requests requires breaking them down into manageable chunks before a single line of code is written. This skill converts high-level goals into a structured graph of atomic, independently mergeable GitHub issues. It prevents scope creep and avoids the noise of poorly defined tickets by enforcing a strict decomposition process.

### What it does
- **Goal decomposition** identifies vertical slices of work that provide value and can be merged independently.
- **Dependency mapping** builds an acyclic graph to ensure blockers are identified and resolved in the correct topological order.
- **Environment auditing** checks current repo labels, existing issues, and issue templates to maintain consistency with project standards.
- **Codebase survey** reads existing data models and architecture to ensure proposed issues do not conflict with the current system.
- **Bulk issue creation** automates the generation of tickets in the correct order, linking dependencies via GitHub blocked-by relationships.

### How it works
1. **Context gathering** uses the GitHub CLI to verify the repo, check for duplicate issues, and fetch active labels.
2. **Strategy proposal** generates a table showing the proposed titles, dependencies, and one-line scopes for user approval.
3. **Sequence execution** creates the blocker issues first to ensure every dependency link points to a valid, existing ticket.
4. **Relationship management** groups large feature sets under a parent issue and records sub-issue relationships without overwriting bodies.

### Frameworks & tools
This skill uses the GitHub CLI (`gh`) for authentication, repository inspection, and issue management. It integrates with project files like `.github/ISSUE_TEMPLATE/` and `AI_MEMORY.md`.

### Why this beats prompting it yourself
Writing clear acceptance criteria and manual dependency tracking is tedious and prone to logical errors like circular blockers. This skill automates the repo discovery and CLI commands required to keep tickets in sync with the actual state of the codebase.

### Use cases
- Split a large "Add SSO" request into specific auth, UI, and backend tasks.
- Map out the migration of a legacy data importer to a resumable architecture.
- Generate a sequence of PR-ready tasks for a new microservice implementation.
- Audit a messy feature request and organize it into a parent-child issue hierarchy.

### Known limitations
Requires a functional GitHub CLI installation and active authentication. It cannot create labels that do not exist without explicit user permission.

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the gh issues skill from Agensi" and describe your task.
3. Your agent loads the skill from Agensi when it needs it. Nothing is downloaded.

## Frequently asked questions

### How does this skill ensure the generated issues match my project's specific coding standards and styles?

The skill uses the GitHub CLI (`gh`) to analyze your repository's existing labels, templates, and architecture, ensuring that every new issue it generates is consistent with your project's current standards.

### What are the technical prerequisites for using the gh issues skill?

This skill requires a functional GitHub CLI installation and active authentication on your local machine to perform repository audits and bulk issue creation.

### Can I review and edit the proposed issue structure before it is published to GitHub?

Yes, the skill includes a 'strategy proposal' phase where it presents a table of proposed titles, scopes, and dependencies for your review and approval before any tickets are created in your repo.

### How does this skill handle dependency mapping differently than just asking a standard LLM to write issues?

Unlike a basic prompt, this skill performs active environment auditing and codebase surveys to identify circular dependencies and prevent the creation of duplicate issues based on real-time repo data.

### What exactly is included in the purchase of this skill?

You receive the complete skill configuration and logic required to integrate with your AI agent, enabling it to execute GitHub CLI commands for structured project decomposition.

### What is the maximum complexity this skill can handle for a single feature request?

The skill is designed to handle complex feature requests by breaking them into 'vertical slices'—atomic units of work that can be developed, tested, and merged independently to avoid massive, unmanageable PRs.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
