一键导入
git-workflow
Branch, commit, rebase, and resolve conflicts. Use for PR prep, conventional commit messages, and history cleanup.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Branch, commit, rebase, and resolve conflicts. Use for PR prep, conventional commit messages, and history cleanup.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Navigate large codebases and make surgical edits while following project conventions. Use for refactors, feature work, and bug fixes spanning multiple files.
Inspect, filter, and summarize JSON, CSV, and log data using jq, awk, and pandas.
Read and edit Microsoft Word documents (.docx). Use for document editing and content extraction.
Author and edit README, CHANGELOG, and other markdown documentation, following the project's existing style.
Extract text, merge, split, and search PDF documents. Use whenever the user mentions a PDF file.
Read, write, and transform CSV and XLSX files. Use for Excel, tabular data, bulk row edits, and column transforms.
| name | git-workflow |
| description | Branch, commit, rebase, and resolve conflicts. Use for PR prep, conventional commit messages, and history cleanup. |
git_tool directlygit_tool(operation="status") before any mutating operation.git_tool for safe read operations: status, diff, log, branch.execute_shell for advanced operations not covered by git_tool: rebase, push, pull, merge.--force push without explicit user confirmation. Always explain the risk.Check status and staged changes:
git_tool(operation="status")
git_tool(operation="diff", args="--staged")
Create and switch to a branch:
git checkout -b feature/my-feature
Commit with Conventional Commits message:
git commit -m "feat: add user authentication endpoint"
git commit -m "fix: handle empty input in CSV parser"
git commit -m "chore: update dependencies"
Amend last commit message (unpushed only):
git commit --amend -m "better message"
Interactive rebase (squash last 3 commits):
git rebase -i HEAD~3
# In editor: change "pick" to "squash" for commits to merge
View commit history:
git_tool(operation="log", args="-10 --oneline")
Stash uncommitted work:
git_tool(operation="stash", args="push")
git_tool(operation="stash", args="pop")
Resolve merge conflicts:
git_tool(operation="status")git add <file>git rebase --continue or git merge --continuePush to remote:
git push origin feature/my-feature
git push --set-upstream origin feature/my-feature # first push
git push --force without explaining the rewrite-history risk to the user.--amend, --author=, --date= flags in git_tool for safety — use execute_shell if truly needed.git add . to avoid accidentally committing secrets.<<<<<<<, =======, >>>>>>>) must all be removed before committing.references/conventional-commits.md — commit message format and examples