create-github-issues
Acerca de
Esta habilidad crea automáticamente incidencias estructuradas en GitHub a partir de hallazgos de revisión de código o listas de tareas. Agrupa elementos relacionados, aplica etiquetas y formatea las incidencias con resúmenes, hallazgos y criterios de aceptación. Está diseñada para procesar la salida de habilidades de revisión como `review-codebase` con el fin de agilizar el seguimiento de incidencias.
Instalación rápida
Claude Code
Recomendadonpx skills add pjt222/agent-almanac -a claude-code/plugin add https://github.com/pjt222/agent-almanacgit clone https://github.com/pjt222/agent-almanac.git ~/.claude/skills/create-github-issuesCopia y pega este comando en Claude Code para instalar esta habilidad
Documentación
Create GitHub Issues
Structured GitHub issue creation from review findings or task breakdowns. Converts a list of findings (from review-codebase, security-audit-codebase, or manual analysis) into well-formed GitHub issues with labels, acceptance criteria, and cross-references.
When to Use
- After a codebase review produces a findings table that needs tracking
- After a planning session identifies work items that should become issues
- When converting a TODO list or backlog into trackable GitHub issues
- When batch-creating related issues that need consistent formatting and labeling
Inputs
- Required:
findings— a list of items, each with at minimum a title and description. Ideally also includes: severity, affected files, and suggested labels - Optional:
group_by— how to batch findings into issues:severity,file,theme(default:theme)label_prefix— prefix for auto-created labels (default: none)create_labels— whether to create missing labels (default:true)dry_run— preview issues without creating them (default:false)
Procedure
Step 1: Prepare Labels
Ensure all needed labels exist in the repository.
- List existing labels:
gh label list --limit 100 - Identify labels needed by the findings (from severity, phase, or explicit label fields)
- Map severities to labels if not already mapped:
critical,high-priority,medium-priority,low-priority - Map phases/themes to labels:
security,architecture,code-quality,accessibility,testing,performance - If
create_labelsis true, create missing labels:gh label create "name" --color "hex" --description "desc" - Use consistent colors: red for critical/security, orange for high, yellow for medium, blue for architecture, green for testing
Got: All labels referenced by findings exist in the repository. No duplicate labels created.
If fail: If gh CLI is not authenticated, instruct the user to run gh auth login. If label creation is denied (insufficient permissions), proceed without creating labels and note which labels are missing.
Step 2: Group Findings
Batch related findings into logical issues to avoid issue sprawl.
- If
group_byistheme: group findings by their phase or category (all security findings → 1-2 issues, all a11y → 1 issue) - If
group_byisseverity: group findings by severity level (all CRITICAL → 1 issue, all HIGH → 1 issue) - If
group_byisfile: group findings by primary affected file - Within each group, order findings by severity (CRITICAL first)
- If a group has more than 8 findings, split into sub-groups by sub-theme
- Each group becomes one GitHub issue
Got: A set of issue groups, each containing 1-8 related findings. The total number of issues should be manageable (typically 5-15 for a full codebase review).
If fail: If findings have no grouping metadata, fall back to one issue per finding. This is acceptable for small finding sets (< 10) but produces too many issues for larger sets.
Step 3: Compose Issues
Build each issue using a standard template.
- Title:
[Severity] Theme: Brief description— e.g.,[HIGH] Security: Eliminate innerHTML injection in panel.js - Body structure:
## Summary One-paragraph overview of what this issue addresses and why it matters. ## Findings 1. **[SEVERITY]** Finding description (`file.js:line`) — brief explanation 2. **[SEVERITY]** Finding description (`file.js:line`) — brief explanation ## Acceptance Criteria - [ ] Criterion derived from finding 1 - [ ] Criterion derived from finding 2 - [ ] All changes pass existing tests ## Context Generated from codebase review on YYYY-MM-DD. Related: #issue_numbers (if applicable) - Apply labels: severity label + theme label + any custom labels
- If findings reference specific files, mention them in the body (not as assignees)
Got: Each issue has a clear title, numbered findings with severity badges, checkbox acceptance criteria, and appropriate labels.
If fail: If the body exceeds GitHub's issue size limit (65536 chars), split the issue into parts and cross-reference them.
Step 4: Create Issues
Create the issues using gh CLI and report results.
- If
dry_runis true, print each issue title and body without creating, then stop - For each composed issue, create it:
gh issue create --title "title" --body "$(cat <<'EOF' body content EOF )" --label "label1,label2" - Record the URL of each created issue
- After all issues are created, print a summary table:
#number | Title | Labels | Findings count - If issues should be sequenced, add cross-references: edit the first issue to mention "Blocked by #X" or "See also #Y"
Got: All issues created successfully. A summary table with issue numbers and URLs is printed.
If fail: If an individual issue fails to create, log the error and continue with remaining issues. Report failures at the end. Common failures: authentication expired, label not found (if create_labels was false), network timeout.
Validation
- All findings are represented in at least one issue
- Each issue has at least one label
- Each issue has checkbox acceptance criteria
- No duplicate issues were created (check titles against existing open issues)
- Issue count is reasonable for the finding count (not 1:1 for large sets)
- Summary table was printed with all issue URLs
Pitfalls
- Issue sprawl: Creating one issue per finding produces 20+ issues that are hard to manage. Group aggressively — 5-10 issues from a full review is ideal
- Missing acceptance criteria: Issues without checkboxes cannot be verified as complete. Every finding should map to at least one checkbox
- Label chaos: Creating too many labels makes filtering useless. Stick to severity + theme, not per-finding labels
- Stale references: If creating issues from an old review, verify findings still apply before creating issues. Code may have changed
- Forgetting dry run: For large finding sets, always preview with
dry_run: truefirst. It is much easier to edit a plan than to close 15 incorrect issues
Related Skills
review-codebase— produces the findings table this skill consumesreview-pull-request— produces PR-scoped findings that can also be converted to issuesmanage-backlog— organizes issues into sprints and priorities after creationcreate-pull-request— creates PRs that reference and close the issuescommit-changes— commits the fixes that resolve the issues
Repositorio GitHub
Habilidades relacionadas
content-collections
MetaEsta habilidad proporciona una configuración probada en producción para Content Collections, una herramienta centrada en TypeScript que transforma archivos Markdown/MDX en colecciones de datos con tipado seguro mediante validación Zod. Úsala al construir blogs, sitios de documentación o aplicaciones Vite + React con mucho contenido para garantizar seguridad de tipos y validación automática de contenido. Abarca todo, desde la configuración del plugin de Vite y compilación MDX hasta la optimización de despliegue y validación de esquemas.
polymarket
MetaEsta habilidad permite a los desarrolladores crear aplicaciones con la plataforma de mercados de predicción Polymarket, incluyendo la integración de API para operaciones y datos de mercado. También proporciona transmisión de datos en tiempo real a través de WebSocket para monitorear operaciones en vivo y actividad del mercado. Úsela para implementar estrategias de trading o crear herramientas que procesen actualizaciones de mercado en tiempo real.
creating-opencode-plugins
MetaEsta habilidad ayuda a los desarrolladores a crear complementos de OpenCode que se conectan a más de 25 tipos de eventos, como comandos, archivos y operaciones LSP. Proporciona la estructura del complemento, las especificaciones de la API de eventos y los patrones de implementación para módulos en JavaScript/TypeScript. Úsala cuando necesites interceptar, monitorear o extender el ciclo de vida del asistente de IA de OpenCode con lógica personalizada basada en eventos.
sglang
MetaSGLang es un framework de alto rendimiento para el servicio de LLM que se especializa en generación rápida y estructurada para JSON, expresiones regulares y flujos de trabajo de agentes utilizando su caché de prefijos RadixAttention. Ofrece una inferencia significativamente más rápida, especialmente para tareas con prefijos repetidos, lo que lo hace ideal para salidas complejas y estructuradas, y conversaciones multiturno. Elige SGLang sobre alternativas como vLLM cuando necesites decodificación restringida o estés construyendo aplicaciones con uso extensivo de prefijos compartidos.
