trombonet12/Rally-Copilot / .claude/skills/git-check
git-check
Verifiedgit-check
Revisión de solo lectura del estado del repo. No modifica archivos ni el índice. Argumento: $ARGUMENTS (por defecto working-tree; all ejecuta los tres).
Cuándo usarla
- Antes de un commit o PR, o al retomar una sesión, para saber qué hay sin commitear o mal rastreado.
Cuándo NO usarla
- Crear el commit → usa
git-commit. - Buscar secretos en profundidad → usa
security-secret-scan. - Limpiar o borrar archivos: esta skill solo propone la acción.
Precondiciones
- Estar en la raíz del repo. Si
$ARGUMENTSno es válido, usarworking-treey avisarlo.
Pasos
working-tree:git status --shortygit diff --stat.- Cambios sin commitear y archivos no rastreados.
- Marcar los no rastreados que deberían ignorarse (
git check-ignore -v) y los que parecen secretos (.env*, keystores,local.properties) sin leer su contenido.
generated:git ls-filesfiltrandobuild/,.gradle/,.idea/,.kotlin/,*.log,*.mbtiles,*.pmtiles,*.onnx,*.apk,*.aab,*.jks,*.keystore,local.properties.- Toda coincidencia rastreada es hallazgo; comprobar si
.gitignorela cubre.
- Toda coincidencia rastreada es hallazgo; comprobar si
large-files: tamaño de lo rastreado (git cat-file -s :<ruta>) y de lo no rastreado (tamaño en disco).- Hallazgo si > 1 MB o binario inesperado (
.jar,.so,.zip,.onnx, teselas, audios, imágenes pesadas).
- Hallazgo si > 1 MB o binario inesperado (
- Informar findings por severidad (CRITICO > ALTO > MEDIO > BAJO):
SEVERIDAD | archivo:línea | problema | corrección propuesta- Secreto rastreado: CRITICO (
git rm --cached, rotar la clave y pasarsecurity-secret-scan). - Generado rastreado: ALTO (
git rm -r --cached <ruta>y añadir a.gitignore). - Grande o binario: MEDIO (justificar o ignorar).
- Sin commitear: BAJO (commitear con
git-commit; descartar solo con permiso del usuario).
- Secreto rastreado: CRITICO (
- Sin hallazgos: decir "sin hallazgos" y qué se comprobó.
Validaciones / tests
git status --shortqueda idéntico antes y después.- Cada hallazgo incluye ruta y acción propuesta; ningún valor de secreto mostrado.
Definition of Done
- Revisado el ámbito pedido (o los tres con
all). - Findings en formato
SEVERIDAD | archivo:línea | problema | corrección propuesta. - Ningún archivo ni el índice modificados.
Docs a actualizar
- Ninguno; si falta una regla en
.gitignore, proponerla al agente principal.
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| receiving-code-reviewobra/superpowersUse when receiving code review feedback, before implementing suggestions, especially if feedback seems unclear or technically questionable - requires technical rigor and verification, not performative agreement or blind implementation | Stars: 319k | Updated | Claude CodeCodex | Verified | Install |
| requesting-code-reviewobra/superpowersUse when completing tasks, implementing major features, or before merging to verify work meets requirements | Stars: 319k | Updated | Claude CodeCodex | Verified | Install |
| using-git-worktreesobra/superpowersUse when starting feature work that needs isolation from current workspace or before executing implementation plans - ensures an isolated workspace exists via native tools or git worktree fallback | Stars: 319k | Updated | Claude CodeCodex | Verified | Install |
| verification-before-completionobra/superpowersUse when about to claim work is complete, fixed, or passing, before committing or creating PRs - requires running verification commands and confirming output before making any success claims; evidence before assertions always | Stars: 319k | Updated | Claude CodeCodex | Verified | Install |