/checkpoint
在工作流(Workflow)中创建或验证检查点。
> /plugin marketplace add xu-xiang/everything-claude-code-zh > /plugin install everything-claude-code@everything-claude-code
How it fires
How this command gets triggered: by you, by Claude, or both.
- Fires itselfClaude auto-loads it when your prompt matches the work.
- You can call itInvoke it directly when you want it.
- Slash command
/checkpoint
Context preview
What this command does when you run it.
在工作流(Workflow)中创建或验证检查点。
Command definition
checkpoint.md检查点(Checkpoint)指令
在工作流(Workflow)中创建或验证检查点。
用法
`/checkpoint [create|verify|list] [name]`
创建检查点(Create Checkpoint)
创建检查点时:
1. 运行 `/verify quick` 以确保当前状态干净 2. 使用检查点名称创建一个 git stash 或提交(Commit) 3. 将检查点记录到 `.claude/checkpoints.log`:
echo "$(date +%Y-%m-%d-%H:%M) | $CHECKPOINT_NAME | $(git rev-parse --short HEAD)" >> .claude/checkpoints.log
4. 报告检查点已创建
验证检查点(Verify Checkpoint)
对比检查点进行验证时:
1. 从日志中读取检查点 2. 将当前状态与检查点进行对比:
- 自检查点以来新增的文件
- 自检查点以来修改的文件
- 当前与当时的测试通过率对比
- 当前与当时的代码覆盖率对比
3. 报告:
CHECKPOINT COMPARISON: $NAME ============================ Files changed: X Tests: +Y passed / -Z failed Coverage: +X% / -Y% Build: [PASS/FAIL]
列出检查点(List Checkpoints)
显示所有检查点,包括:
- 名称
- 时间戳
- Git SHA
- 状态(当前、落后、超前)
工作流(Workflow)
典型的检查点工作流:
[Start] --> /checkpoint create "feature-start" | [Implement] --> /checkpoint create "core-done" | [Test] --> /checkpoint verify "core-done" | [Refactor] --> /checkpoint create "refactor-done" | [PR] --> /checkpoint verify "feature-start"
参数(Arguments)
$ARGUMENTS:
- `create <name>` - 创建具名检查点
- `verify <name>` - 对比指定的检查点进行验证
- `list` - 显示所有检查点
- `clear` - 移除旧检查点(保留最后 5 个)
🌐 Language / 语言 / 語言 为 AI 智能体(Agent)框架打造的性能优化系统。源自 Anthropic 黑客松获胜作品。 这不仅仅是配置文件。它是一个完整的系统:包含技能(Skills)、本能(Instincts)、内存优化、持续学习、安全扫描以及研究优先的开发模式。这些生产级的智能体(Agents)、钩子(Hooks)、命令(Commands)、规则(Rules)以及 MCP 配置,是在构建真实产品的 10 个多月高强度日常使用中演化而来的。 适用于 Claude Code, Codex,
Repo: xu-xiang/everything-claude-code-zh
Other commands on everything-claude-code.
- /build-fix
通过最小化、安全的改动,逐步修复构建(Build)和类型(Type)错误。
Open command - /claw
启动 NanoClaw 智能体 (Agent) REPL — 一个由 claude CLI 驱动的持久化、会话感知 (session-aware) 的 AI 助手。
Open command - /code-review
对未提交的更改进行全面的安全和质量审查:
Open command - /e2e
使用 Playwright 生成并运行端到端测试。创建测试旅程、运行测试、捕获截图/视频/追踪,并上传产物。
Open command - /eval
管理评测驱动开发(eval-driven development)工作流。
Open command - /evolve
分析直觉(Instincts)并建议或生成进化的结构
Open command

