git-stack
Skill2 starsChanged 5 months agoApache-2.0View on GitHub
用于git代码提交、推送,合并冲突解决,创建worktree、工作区场景使用。
- Reads credentials
1 other project uses a version of this.
Adopted by
Most recently taken up by
- gspencergoog/skillstheir own version, first seen Sep 8, 2026
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 1
- gspencergoog/skills★ 2same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository11 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- drizzle-migration-conflictSkill
- grillSkill
- hugo-to-markdownSkill
- postgresql-cliSkill
- prdSkill
- prd-to-specSkill
- pre-release-reviewSkill
- rclone-cliSkill
- redis-cliSkill
The file
Files
git stack
解决代码提交,推送,合并冲突操作。
注意 : 在开始之前需读取项目中得AGENTS.md,CLAUDE.md,README.md中得提交规范。如存在则规则优先级为: 用户提示词 > AGENTS.md > 本技能
使用场景
- 用户说:提交代码,推送代码,push代码。
- 解决代码合并冲突问题。
- 创建工作树worktree
门禁
- 相关git操作必须在有
.git/管理的目录下操作,否则退出并引导用户创建工作区或切换到对应工作区目录。 - 宿主机需要提前安装好git CLI,否则退出并引导用户安装git CLI 以及授权等.
功能列表
| 功能 | 链接 | 说明 |
| 代码提交 | ./commit | 代码提交 |
| 代码合并冲突 | ./conflict | 代码冲突解决。 |
| 工作区worktree | ./worktree | 工作区,worktree创建 |
| PR、Issues、github相关操作 | 优先使用gh操作相关技能,没有则直接使用gh命令 |
危险操作
- 永远不要更新 Git 配置
- 未经明确请求,切勿运行破坏性命令(例如 --force、硬重置)。
- 除非用户要求,否则绝不跳过钩子(--no-verify)。
- 切勿强行推送至主目录/主分支
- 如果由于钩子导致提交失败,请修复并创建新的提交(不要修改现有提交)。
- 不经请示申请,私自读取用户私钥内容如
~/.ssh/*、/root/.ssh/*、%USERPROFILE%\\.ssh、C:\\Users\\{用户名}\\.ssh\\等
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

