crew-approve
Approve the commit or push Claude just showed you (auto and dontAsk modes).
от crewforth★ 26 звёзд на GitHub
Установить crew-approve в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
/crew-approve
Argument: $ARGUMENTS
The user typed this command. Typing it is the approval: hooks/prompt-approval.sh read the message itself and
recorded it, tied to what is staged, to HEAD and to this session, for 30 minutes or until the user's next
message. Nothing in this text records anything, and you cannot give this approval for the user.
Read the line Crewforth added to this turn and do what it says:
- "approval recorded": run exactly what it names, each command alone in its call. A commit is
git commit -m '…'with the message you showed (single-quoted, or from a here-document with a quoted delimiter); a push isgit push <remote> <branch>. The review record of §4.6 is still required. - "approval NOT recorded": tell the user the reason it gives, and run nothing.
- With no argument the command approves what the gate last refused in this session (the line says which: "approved: commit+push"); when nothing was refused, or it was more than 30 minutes ago, nothing is recorded and the line says so.
- No such line: the session is in a mode where the gate asks the user itself (
default,acceptEdits), or the argument was notcommit,pushorcommit+push. Say which, and in the first case run the command and let the gate's own prompt ask.
In auto the same approval can be given with one click: the gate's refusal prints a fixed AskUserQuestion, and
the user's answer is recorded exactly like this command. Where a PermissionRequest hook may be wired (in the
user's, the project's or a plugin's settings, or in a skill's or an agent's front matter), that question is closed,
and so is the gate's own prompt in default / acceptEdits, because such a hook answers a prompt before the user
does. This command is then the one approval left, in those modes too. Settings passed with --settings and
managed settings delivered by a server cannot be read, so a hook there is past the check.
Force-push and the rest of §4.5 are not opened by this.
A hedged reply ("looks reasonable", "probably fine", "I guess") is not approval either: when that is all the user said, ask again with the question, and run nothing.
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл crew-approve?
Approve the commit or push Claude just showed you (auto and dontAsk modes).
Как установить скилл crew-approve?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл crew-approve запускает скрипты?
Нет, скилл состоит только из инструкций (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…