Git Guardrails Claude Code
vinvcn/mattpocock-skills-zh-CN
设置 Claude Code hooks,在危险 git commands(push、reset --hard、clean、branch -D 等)执行前阻止它们。适用于用户想防止破坏性 git 操作、添加 git safety hooks,或在 Claude Code 中阻止 git push/reset 时。
“在这个工作区中,就我想构建的工作流规格访谈我。”
$ npx skills add vinvcn/mattpocock-skills-zh-CN --skill loop-me -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install vinvcn/mattpocock-skills-zh-CN loop-me --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/vinvcn/mattpocock-skills-zh-CN.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/in-progress/loop-me .claude/skills/loop-me && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "loop-me" agent skill from https://github.com/vinvcn/mattpocock-skills-zh-CN/tree/main/skills/in-progress/loop-me into .claude/skills/loop-me/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "loop-me", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/vinvcn/mattpocock-skills-zh-CN/tree/main/skills/in-progress/loop-meType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add vinvcn/mattpocock-skills-zh-CN --skill loop-me -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install vinvcn/mattpocock-skills-zh-CN loop-me --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/vinvcn/mattpocock-skills-zh-CN.git skills-src && mkdir -p .agents/skills && cp -r skills-src/skills/in-progress/loop-me .agents/skills/loop-me && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "loop-me" agent skill from https://github.com/vinvcn/mattpocock-skills-zh-CN/tree/main/skills/in-progress/loop-me into .agents/skills/loop-me/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "loop-me", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add vinvcn/mattpocock-skills-zh-CN --skill loop-me -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install vinvcn/mattpocock-skills-zh-CN loop-me --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/vinvcn/mattpocock-skills-zh-CN.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/skills/in-progress/loop-me .cursor/skills/loop-me && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "loop-me" agent skill from https://github.com/vinvcn/mattpocock-skills-zh-CN/tree/main/skills/in-progress/loop-me into .cursor/skills/loop-me/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "loop-me", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/vinvcn/mattpocock-skills-zh-CN.git --path skills/in-progress/loop-me--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add vinvcn/mattpocock-skills-zh-CN --skill loop-me -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install vinvcn/mattpocock-skills-zh-CN loop-me --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/vinvcn/mattpocock-skills-zh-CN.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/skills/in-progress/loop-me .gemini/skills/loop-me && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "loop-me" agent skill from https://github.com/vinvcn/mattpocock-skills-zh-CN/tree/main/skills/in-progress/loop-me into .gemini/skills/loop-me/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "loop-me", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install vinvcn/mattpocock-skills-zh-CN loop-meInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add vinvcn/mattpocock-skills-zh-CN --skill loop-me -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/vinvcn/mattpocock-skills-zh-CN.git skills-src && mkdir -p .github/skills && cp -r skills-src/skills/in-progress/loop-me .github/skills/loop-me && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "loop-me" agent skill from https://github.com/vinvcn/mattpocock-skills-zh-CN/tree/main/skills/in-progress/loop-me into .github/skills/loop-me/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "loop-me", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add vinvcn/mattpocock-skills-zh-CN --skill loop-me -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install vinvcn/mattpocock-skills-zh-CN loop-me --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/vinvcn/mattpocock-skills-zh-CN.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/skills/in-progress/loop-me .opencode/skills/loop-me && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "loop-me" agent skill from https://github.com/vinvcn/mattpocock-skills-zh-CN/tree/main/skills/in-progress/loop-me into .opencode/skills/loop-me/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "loop-me", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
loop-meLoop Me is a skill in vinvcn/mattpocock-skills-zh-CN (4.7k stars). Its SKILL.md is about 375 tokens, with 1 other file in the folder. Licence: MIT.
Read from SKILL.md and the folder at commit 3f92a83. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
No scripts in the folder and no shell commands in SKILL.md.
From the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Loop Me loads about 375 tokens when it runs. Until then it costs about 8 tokens; SKILL.md has 122 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from vinvcn/mattpocock-skills-zh-CN at commit 3f92a83, republished under its MIT licence (© vinvcn). 122 words, ~375 tokens.
.claude/skills/loop-me/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.调用 Skill 工具并指定 grilling,运行一个 stateful session,唯一输出是 workflow specs。使用 grilling discipline:持续追问、一次一个问题、每个问题都附推荐答案。围绕下面的 vocabulary 和 goal 来访谈。随着 grilling 解决问题,创建、编辑、删除 specs。
Loop 是用户生活中的重复模式:career、week、morning,或单个重复活动。把生活看成 loops within loops,会揭示活动到底有多 predictable,也因此揭示哪些值得 delegating。用这个 lens 找到值得写 spec 的 loops,并提出用户尚未注意到的 loops。
Workflow 是一个 loop 的 spec,并让它变得可执行。你在 loop 上运行 workflow;loop 是它的运行实例。Workflows 存在 workflows/*.md 中,并作为 source of truth。
只有当 workflow 需要时才使用 shared language;它不是 checklist。不要强制任何结构:除非 grilling 表明需要,否则 workflow 不需要 AI、不需要 checkpoint,也不需要 schedule。
当 implementer agent 能在不问任何问题的情况下构建它时,workflow spec 才算 done。持续 grilling 到那时;只要还有问题,就不算完成。
workflows/*.md - 每个 workflow 一个 spec。NOTES.md - 关于用户世界的 raw notes:他们使用的 tools、处理的 channels,以及他们对两者的自有术语。当它为空或很薄时,先访谈用户的世界,再写任何 spec。随着 fuzzy terms 浮现,把它们打磨成 canonical terms,并记录在这里。© vinvcn, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 1 other file in skills/in-progress/loop-me of vinvcn/mattpocock-skills-zh-CN.
Open the folder on GitHubat commit 3f92a83
vinvcn/mattpocock-skills-zh-CN
设置 Claude Code hooks,在危险 git commands(push、reset --hard、clean、branch -D 等)执行前阻止它们。适用于用户想防止破坏性 git 操作、添加 git safety hooks,或在 Claude Code 中阻止 git push/reset 时。
vinvcn/mattpocock-skills-zh-CN
用于设计深模块的共享词汇。适用于用户想设计或改进模块接口、寻找深化机会、决定 seam 放在哪里、让代码更容易测试或更适合 AI 导航,或其他技能需要深模块词汇时。
vinvcn/mattpocock-skills-zh-CN
面向棘手缺陷和性能回退的诊断循环。适用于用户说 “diagnose” / “debug this”,或报告某些东西 broken、throwing、failing、slow 时。
vinvcn/mattpocock-skills-zh-CN
构建并打磨项目的领域模型。适用于讨论 codebase 术语、编写或编辑 CONTEXT.md,或记录或编辑 ADR. An agent skill from vinvcn/mattpocock-skills-zh-CN.
vinvcn/mattpocock-skills-zh-CN
将测试文件从 as 类型断言迁移到 @total-typescript/shoehorn。适用于用户提到 shoehorn、想替换测试中的 as,或需要局部测试数据时。
vinvcn/mattpocock-skills-zh-CN
用于撰写 PR 正文。适用于用户要求起草、改写或改进 PR 正文,或希望 PR 更便于审阅时. An agent skill from vinvcn/mattpocock-skills-zh-CN.
Run `npx skills add vinvcn/mattpocock-skills-zh-CN --skill loop-me -a claude-code`. Or copy the skill folder (skills/in-progress/loop-me in vinvcn/mattpocock-skills-zh-CN) into .claude/skills/loop-me in your project. Claude Code loads it when a task matches its description.
Run `npx skills add vinvcn/mattpocock-skills-zh-CN --skill loop-me -a codex`. Or copy the skill folder (skills/in-progress/loop-me in vinvcn/mattpocock-skills-zh-CN) into .agents/skills/loop-me in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add vinvcn/mattpocock-skills-zh-CN --skill loop-me -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/loop-me, .gemini/skills/loop-me, .github/skills/loop-me and .opencode/skills/loop-me in your project.
SKILL.md names no scripts, command-line tools or credentials: Loop Me is instructions for the agent only.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Loop Me is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 375 tokens (SKILL.md is roughly 1.5k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
vinvcn (a GitHub user) maintains it in vinvcn/mattpocock-skills-zh-CN, which has 4,657 GitHub stars. The repository holds 33 skills in this directory. The repository was last updated on September 28, 2026.
Source: vinvcn/mattpocock-skills-zh-CN on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.