zob-commit
Use when planning, reviewing, or executing governed ZOB commit/autocommit/autopush behavior through explicit /zcommit commands or the agent-executable…
от cgarrot★ 32 звезды на GitHub
Установить zob-commit в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
ZOB Commit Skill
Purpose
This skill defines the easy governed commit workflow for ZOB agents. The /zcommit runtime command and zob_zcommit_run tool prioritize quick, beautiful Conventional Commits over strict per-session ownership tracking: when the user explicitly asks for commit/push, the assistant should use zob_zcommit_run instead of asking the user to paste slash commands. Direct git commit/push/tag remains forbidden.
Baseline safety remains: do not commit, tag, or push unless the user explicitly asks or /zcommit autocommit on / /zcommit autopush on authorizes it for the current repo/session scope.
Allowed command surface
Use only these explicit commands/tools. Do not invent aliases, shortcuts, shell fallbacks, or alternate command names.
/zcommit status [paths/globs...]/zcommit plan [paths/globs...]/zcommit adopt <paths...>/zcommit commit [paths/globs...]/zcommit push/zcommit autocommit on/zcommit autocommit off/zcommit autopush on/zcommit autopush offzob_zcommit_runtool withaction=plan|commit|push|commit_and_push
Hard stops
- Do not run direct
git commit,git push,git tag, force push,git add ., orgit add -A. - Do not commit secrets, credentials, generated runtime artifacts, local ledgers, sessions, logs, temporary files, vendor folders, or build outputs.
- Do not use
/zcommit adoptfor root/global/broad directory/wildcard adoption; it is an advanced metadata-only ownership hint and should not be needed in normal easy mode. - Do not treat autocommit or autopush as enabled unless the corresponding
/zcommit ... ontoggle is active for the current repo/session scope. - Do not push if autopush is off, the work is no-ship, the target branch/remote is not allowed, or the last commit was not created by
/zcommit commit.
Governed workflow
- Load
.pi/git-policy.jsonand this skill before any governed commit/push work. - If the user asks the assistant to commit and/or push, call
zob_zcommit_run; do not answer with instructions for the user to run/zcommitmanually. - Run
/zcommit status [paths/globs...]or/zcommit plan [paths/globs...]when the human wants an interactive command, orzob_zcommit_run action=planwhen the agent needs a plan without staging. - Normal easy mode does not require
/zcommit adopt:/zcommit planandzob_zcommit_runselect all dirty workspace files that pass forbidden-path filtering. When you need “only these session files”, usezob_zcommit_run scope=session_modified, or pass explicit repo-relative files, directories, or globs directly to/zcommit planand/zcommit commit. - Optionally run
/zcommit adopt <paths...>only as an advanced metadata hint for strict/legacy flows; it remains metadata-only and does not stage. /zcommit plan [paths/globs...]/zob_zcommit_run action=planproduces:- safe workspace dirty files selected for commit, optionally limited by the pathspecs;
- forbidden paths excluded from commit;
- advisory validation command/status;
- Conventional Commit type/scope/subject/body plan;
- push target if and only if push is requested or authorized.
/zcommit commit [paths/globs...]andzob_zcommit_run action=commit|commit_and_pushstage only the selected safe paths withgit add -- <paths>, nevergit add .orgit add -A, then create the Conventional Commit. Advisory validation failures are recorded in the commit body instead of blocking easy-mode commit.- Run
/zcommit pushorzob_zcommit_run action=push|commit_and_pushwhen push is explicitly requested, the branch/remote are allowed, the commit was created by the zcommit engine, HEAD still equals that commit, and there are no no-ship blockers. Push is not blocked by advisory validation by default.
Commit message standard
Use Conventional Commits:
<type>(<scope>): <imperative summary>
<body with validation evidence and risk notes when useful>
Allowed default types: feat, fix, docs, test, refactor, chore, ci, build, perf, revert.
Examples:
docs(commit): add governed zcommit policyfix(coms): preserve live delivery guard
Autocommit/autopush defaults
autocommitdefaults tooff.autopushdefaults tooff.- Turning autocommit on with
/zcommit autocommit onauthorizes the assistant to create an easy Conventional Commit automatically at assistant message end when safe workspace changes exist. - Turning autopush on with
/zcommit autopush onremains separate and requires autocommit to be on first. - Autopush never implies force push, tag creation, or bypassing branch/remote/no-ship gates.
Easy workspace file rule
A governed easy commit may include all dirty workspace files that pass forbidden-path filtering, or a narrower explicit subset when pathspecs are passed to /zcommit plan / /zcommit commit. Pathspecs can be repo-relative files, directories, or globs such as `.pi/skills/zob-*/SK
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл zob-commit?
Use when planning, reviewing, or executing governed ZOB commit/autocommit/autopush behavior through explicit /zcommit commands or the agent-executable zob_zcommit_run tool.
Как установить скилл zob-commit?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл zob-commit запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
AnthropicGuide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
claude-api
AnthropicReference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
algorithmic-art
AnthropicCreating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
mcp-integration
AnthropicThis skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…