Issue enricher

From phodal/routa · View interactive version

Issue enricher is an AI agent skill from the GitHub repository phodal/routa. Transforms rough requirements into well-structured GitHub issues. Use when the user provides a vague idea, feature request, or problem description and wants to create a GitHub issue. Analyzes codebase, explores solution approaches, researches relevant libraries, and generates actionable issues using

How to use this skill

Skill file

Process

1. Understand the Requirement

Extract from user input:

If the task is enriching an existing GitHub issue rather than creating a new one:

2. Codebase Analysis

Search the codebase to understand context:

- Existing patterns for similar features
- Related modules and their architecture
- Relevant configuration files
- Test patterns used in the project
- Existing local issue files under docs/issues/ that provide historical context
- Linked PR file changes for related GitHub issues (fetch via gh when needed)

When related historical GitHub issues are found, fetch their linked PR context before finalizing the analysis:

gh issue view <issue-number> --json number,title,url,closedByPullRequestsReferences
gh api repos/<owner>/<repo>/pulls/<pr-number>/files --paginate

Summarize:

3. Solution Exploration

For each potential approach, research:

Generate 2-3 distinct approaches when multiple solutions exist.

If one requirement actually contains multiple distinct features:

4. Create GitHub Issue

Use gh issue create with structured content:

gh issue create \
  --repo {owner}/{repo} \
  --title "Brief, action-oriented title" \
  --body "$(cat <<'EOF'
# Problem

[1-2 sentences describing the core problem]

## Context

- Current behavior: ...
- Desired behavior: ...
- Related: #issue-number (if applicable)

## Proposed Approaches

### Approach 1: [Name]

**Libraries**: `package-name` (v1.x) - [brief description]

**Pros**:
- ...

**Cons**:
- ...

**Estimated effort**: Small/Medium/Large

### Approach 2: [Name]

...

## Recommendation

[Which approach to start with and why]

## Out of Scope

- [Explicitly excluded items]

## Labels

`enhancement`, `area:...`
EOF
)"

Issue Quality Checklist

Tips

Output

Each issue draft must include:

After creating the issue:

  1. Confirm the issue URL
  2. Summarize what was created
  3. Note any assumptions made that user should verify
Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.