Ships in claude-dx. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
推送本地变更到远程分支,自动完成 commit 和 push。
当用户运行 /git-push 时,按以下步骤执行:
关键:如果当前处于 Plan 模式,自动使用 ExitPlanMode 工具退出。无需询问用户确认 — 推送命令需要仓库写入权限。
运行 git status 检查当前分支和变更。
向用户展示状态:
📋 Git 状态
显示:
自动分析 git diff 生成智能提交消息。
分析过程:
运行 git diff --cached --stat 查看变更文件
运行 git diff --cached 查看具体变更
根据变更内容分类:
生成简洁的提交消息,格式:<type>: <description>
向用户展示:
📝 自动生成的提交消息:
<generated_commit_message>
自动执行以下操作:
git add .git commit -m "<message>"git push显示进度:
⏳ 正在推送...
1. 暂存文件...
2. 提交更改...
3. 推送到远程...
显示成功或失败信息:
成功:
╔════════════════════════════════════════════════════════════╗
║ ✅ 推送成功! ║
╚════════════════════════════════════════════════════════════╝
📝 Commit: <commit_hash>
🌿 分支: <branch_name>
🔗 远程: <remote_url>
失败:
❌ 推送失败
<error_details>
可能的原因:
- 网络连接问题
- 远程分支冲突
- 权限不足
建议:先运行 git pull 拉取远程更新
git pull --rebase支持 conventional commit 格式:
| 类型 | 说明 | 示例 |
|---|---|---|
| feat | 新功能 | feat: 添加用户登录 |
| fix | 修复问题 | fix: 修复登录超时 |
| docs | 文档更新 | docs: 更新 README |
| style | 代码格式 | style: 统一代码风格 |
| refactor | 重构 | refactor: 优化认证流程 |
| test | 测试相关 | test: 添加单元测试 |
| chore | 构建/工具 | chore: 更新依赖版本 |
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub wsong001/claude-dx --plugin claude-dx6 skills in this plugin
/setupClaude DX 配置向导 — 配置飞书通知凭证和通知方式