斜杠命令(Slash Commands)是快速调用特定功能的快捷方式,以 / 开头。
/
You: /commit Claude: Creating commit with staged changes... ✓ Commit created
You: /review-pr 123 Claude: Reviewing PR #123... [Review results]
You: /feature-dev "comment system" Claude: Starting feature development workflow...
You: /help Available commands: ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ /commit - Create Git commit /review-pr - Review pull request /feature-dev - Feature development /code-review - Review code quality /help - Show help /clear - Clear context /save - Save session /load - Load session /history - Show history /quit - Exit ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
# 开发 → 测试 → 提交 You: /feature-dev "login feature" You: 运行测试 You: /commit
在本章中,我们学习了: