Claude Code · Comandos slashDocs
/initref
Genera documentación de referencia en /ref sobre la implementación.
por davila7/claude-code-templates
utilities
Licencia: MITVer original
Instalación
npx claude-code-templates@latest --command utilities/initrefContenido
Dónde va: .claude/commands/initref.md
---
description: "Build reference docs in /ref summarizing the implementation details of this project"
---
Build a reference for the implementation details of this project. Use provided summarize tool to get summary of the files. Avoid reading the content of many files yourself, as we might hit usage limits. Do read the content of important files though. Use the returned summaries to create reference files in /ref directory. Use markdown format for writing the documentation files.
Update CLAUDE.md file with the pointers to important documentation files.
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.