Files
affaan-m--everything-claude…/docs/es/commands/checkpoint.md
T
wehub-resource-sync d48cda4081
CI / Test (ubuntu-latest, Node 18.x, bun) (push) Failing after 15m1s
CI / Test (ubuntu-latest, Node 18.x, npm) (push) Failing after 15m1s
CI / Test (ubuntu-latest, Node 18.x, pnpm) (push) Failing after 15m1s
CI / Test (ubuntu-latest, Node 18.x, yarn) (push) Failing after 15m1s
CI / Test (ubuntu-latest, Node 20.x, bun) (push) Failing after 17m13s
CI / Test (ubuntu-latest, Node 20.x, npm) (push) Failing after 18m42s
CI / Test (ubuntu-latest, Node 20.x, pnpm) (push) Failing after 15m0s
CI / Test (ubuntu-latest, Node 20.x, yarn) (push) Failing after 49m44s
CI / Test (ubuntu-latest, Node 22.x, bun) (push) Failing after 51m55s
CI / Test (ubuntu-latest, Node 22.x, pnpm) (push) Failing after 21m57s
CI / Test (ubuntu-latest, Node 22.x, npm) (push) Failing after 37m39s
CI / Test (ubuntu-latest, Node 22.x, yarn) (push) Failing after 34m7s
CI / Validate Components (push) Failing after 37m15s
CI / Python Tests (push) Failing after 10m1s
CI / Security Scan (push) Failing after 10m1s
CI / Lint (push) Failing after 17m12s
CI / Coverage (push) Failing after 20m19s
CI / Test (macos-latest, Node 18.x, bun) (push) Has been cancelled
CI / Test (macos-latest, Node 18.x, npm) (push) Has been cancelled
CI / Test (macos-latest, Node 18.x, pnpm) (push) Has been cancelled
CI / Test (macos-latest, Node 18.x, yarn) (push) Has been cancelled
CI / Test (windows-latest, Node 18.x, npm) (push) Has been cancelled
CI / Test (windows-latest, Node 18.x, pnpm) (push) Has been cancelled
CI / Test (windows-latest, Node 18.x, yarn) (push) Has been cancelled
CI / Test (macos-latest, Node 20.x, bun) (push) Has been cancelled
CI / Test (macos-latest, Node 20.x, npm) (push) Has been cancelled
CI / Test (macos-latest, Node 20.x, pnpm) (push) Has been cancelled
CI / Test (macos-latest, Node 20.x, yarn) (push) Has been cancelled
CI / Test (windows-latest, Node 20.x, npm) (push) Has been cancelled
CI / Test (windows-latest, Node 20.x, pnpm) (push) Has been cancelled
CI / Test (windows-latest, Node 20.x, yarn) (push) Has been cancelled
CI / Test (macos-latest, Node 22.x, bun) (push) Has been cancelled
CI / Test (macos-latest, Node 22.x, npm) (push) Has been cancelled
CI / Test (macos-latest, Node 22.x, pnpm) (push) Has been cancelled
CI / Test (macos-latest, Node 22.x, yarn) (push) Has been cancelled
CI / Test (windows-latest, Node 22.x, npm) (push) Has been cancelled
CI / Test (windows-latest, Node 22.x, pnpm) (push) Has been cancelled
CI / Test (windows-latest, Node 22.x, yarn) (push) Has been cancelled
chore: import upstream snapshot with attribution
2026-07-13 11:55:55 +08:00

79 lines
1.8 KiB
Markdown

---
description: Crear, verificar o listar puntos de control del flujo de trabajo después de ejecutar verificaciones.
---
# Comando Checkpoint
Crear o verificar un punto de control en tu flujo de trabajo.
## Uso
`/checkpoint [create|verify|list] [nombre]`
## Crear Checkpoint
Al crear un checkpoint:
1. Ejecutar `/verify quick` para asegurarse de que el estado actual está limpio
2. Crear un git stash o commit con el nombre del checkpoint
3. Registrar el checkpoint en `.claude/checkpoints.log`:
```bash
echo "$(date +%Y-%m-%d-%H:%M) | $CHECKPOINT_NAME | $(git rev-parse --short HEAD)" >> .claude/checkpoints.log
```
4. Reportar que el checkpoint fue creado
## Verificar Checkpoint
Al verificar contra un checkpoint:
1. Leer el checkpoint desde el log
2. Comparar el estado actual con el checkpoint:
- Archivos añadidos desde el checkpoint
- Archivos modificados desde el checkpoint
- Tasa de pruebas pasadas ahora vs entonces
- Cobertura ahora vs entonces
3. Reportar:
```
COMPARACIÓN DE CHECKPOINT: $NAME
============================
Archivos cambiados: X
Pruebas: +Y pasaron / -Z fallaron
Cobertura: +X% / -Y%
Build: [PASS/FAIL]
```
## Listar Checkpoints
Mostrar todos los checkpoints con:
- Nombre
- Marca de tiempo
- SHA de git
- Estado (actual, detrás, adelante)
## Flujo de Trabajo
Flujo típico de checkpoints:
```
[Inicio] --> /checkpoint create "feature-start"
|
[Implementar] --> /checkpoint create "core-done"
|
[Probar] --> /checkpoint verify "core-done"
|
[Refactorizar] --> /checkpoint create "refactor-done"
|
[PR] --> /checkpoint verify "feature-start"
```
## Argumentos
$ARGUMENTS:
- `create <nombre>` - Crear checkpoint con nombre
- `verify <nombre>` - Verificar contra checkpoint con nombre
- `list` - Mostrar todos los checkpoints
- `clear` - Eliminar checkpoints antiguos (conserva los últimos 5)