Skip to main content

git-proxy

Perform Git operations with branch protections and verification checks.

来源信息

仓库
codejunkie99/agentic-stack-desktop
最近来源活动
2026年9月10日 07:18
检测到的 SKILL.md 语言
英语
星标
74
Forks
9

安装方式

默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。

检查来源文件

决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。

文件资源管理器
2 个文件

正在显示 SKILL.md

SKILL.md
来源说明 · 只读预览
name
git-proxy
description
Perform Git operations with branch protections and verification checks.
version
2026-01-01T00:00:00.000Z
triggers
["commit","push","branch","merge","rebase","pull request","PR"]
tools
["bash"]
preconditions
[".git exists"]
constraints
["never force push to main","never force push to protected branches","run tests before push"]
# Git Proxy — all git operations with a safety net Handle git operations consistently. The fences (`constraints` above) are enforced by the `pre_tool_call` hook; this file tells the agent what good behavior looks like within those fences. ## Commit - Stage specific files, not `git add -A` (avoids capturing secrets). - Write messages that explain *why*, not *what*. - Reference the task or issue if one exists. ## Push - Run tests first. If tests aren't present, say so explicitly. - Never force-push to a protected branch. The pre-call hook will block this even if you try. - Prefer `--force-with-lease` over `--force` on feature branches. ## Branch / merge / rebase - Rebase feature branches on `main` before opening a PR. - Resolve conflicts manually; do not `-X theirs` or `-X ours` without thinking. - Merge via PR with review, not directly on the command line. ## Self-rewrite hook After every 5 uses, re-read `KNOWLEDGE.md` and the last 10 git-proxy episodic entries. If a new failure mode has appeared, append a heuristic to `KNOWLEDGE.md`. If a constraint was violated, escalate to `LESSONS.md`.
在 GitHub 查看