Claude Code · Comandos slashGit
/fix-github-issue
Analiza y corrige un issue de GitHub.
por davila7/claude-code-templates
githubissues
Licencia: MITVer original
Instalación
npx claude-code-templates@latest --command git-workflow/fix-github-issueContenido
Dónde va: .claude/commands/fix-github-issue.md
---
description: "Analyze and fix a GitHub issue by number, with tests and a commit"
---
Please analyze and fix the GitHub issue: $ARGUMENTS.
Follow these steps:
1. Use `gh issue view` to get the issue details
2. Understand the problem described in the issue
3. Search the codebase for relevant files
4. Implement the necessary changes to fix the issue
5. Write and run tests to verify the fix
6. Ensure code passes linting and type checking
7. Create a descriptive commit message
Remember to use the GitHub CLI (`gh`) for all GitHub-related tasks.
Más en Comandos slash
/commit
Redacta un commit con Conventional Commits a partir de los cambios en stage.
/review
Revisa el diff actual buscando bugs, casos borde y problemas de seguridad.
/tests
Escribe tests para el archivo o función que indiques.
/changelog
Genera las notas de versión desde el último tag.
/explain
Explica cómo funciona un archivo o módulo, con un diagrama del flujo.
/cleanup
Elimina imports, variables y código muerto sin cambiar el comportamiento.