Setup
Verify repo-hygiene prerequisites (git, node, optional ghq) and effective destructive-guard toggle/scope. Check-only; installs and writes nothing.
от melodic-software★ 34 звезды на GitHub
Установить Setup в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Setup
Pre-computed context
check's ghq probe ran at load time. Read this row instead of re-issuing it; it shows
the tool's path when present, or absent when missing:
ghq: !command -v ghq 2>/dev/null || echo absent
A row reading [shell command execution disabled by policy] carries no result: run that tool'scommand -v probe via Bash instead.
- Pointer: for the placeholder a skipped load-time command leaves, fetch
skills § Inject dynamic context
live. - As of: 2026-11-11
- Recheck trigger: the placeholder text changes.
git is probed in the body, not here (gather-block convention,
"The pre-compute block runs as one shell invocation").
Purpose
Check-only setup under the Check-only carve-out (docs/plugin-philosophy.md "Setup is explicit
and repeatable" in the marketplace repository): this plugin's configuration contains no
writable artifact, so check inspects, reports, and points at each remediation, and no apply is
offered because there is nothing it could conformingly write. The warrant is the carve-out's
external-prerequisites class: git, which every git-touching tier of /repo-hygiene:clean and
the tracked-file safety guarantee depend on, node, which launches the destructive guard, and the
optional ghq the fleet batch actions
enumerate repositories from. None is visible to a native configuration prompt; each is
verifiable only. The clean_destructive_guard_enabled option is a native userConfig toggle whose only
stored home is the pluginConfigs this contract forbids setup to write.
Action routing: no argument or check runs the check. Non-interactive, never prompts.
check (read-only)
The clean skill and its bundled scripts are the single source of truth for what each tier requires.
Read it first, with the Read tool, by the paths the steps below name: ${CLAUDE_PLUGIN_ROOT}/skills/clean/SKILL.md first, then each script a step names. Probe what it actually does, don't recite this file.
Never search the plugin directory: no Glob, Grep, find, ls or cd in ${CLAUDE_PLUGIN_ROOT}, and no shell head or cat of its files. The files below are all it needs. Then read the
pre-computed ghq row, run each remaining probe as its own Bash call with nothing chained to it, and report a PASS/FAIL/INFO
table with one remediation line per FAIL. Do not modify anything.
Install nothing, and run no mutating tier.
gitonPATH.command -v git, and report the resolved path and version. FAIL when
absent, and state what is lost rather than a blanket "the plugin is broken":scanresolves the repository through git and reportsnot a git repositorywhen it cannot;
thegit,stash,tree, andtree-batchtiers are git operations outright.- The any git-tracked file is off-limits guarantee is enforced against the index by the
shared${CLAUDE_PLUGIN_ROOT}/skills/clean/scripts/lib/clean-common.sh(Read that file to confirm it)
(git ls-files --error-unmatch), so even thecachesandbuildtiers reach git through it, as does restoring a tracked file deleted by reparse-point
traversal during atreeclean. No tier is safe to run without git.
ghq(optional). The pre-computedghqrow. Present: INFO,ghq list -pcan feedtree-batchand the other*-batchactions. Absent: INFO, not a defect, the batch actions still
take--repo(repeatable, glob-expanded) and--repos-from FILE|-; only theghq-derived
enumeration is unavailable. Report this rather than letting an empty repo list look like a bug.A POSIX shell for the bundled scripts. Every tier script and the destructive guard are
bash. On Windows that means Git Bash must be present. The guard is exec form:commandisnode, and${CLAUDE_PLUGIN_ROOT}/hooks/exec-bash.mjs(Read it to confirm) finds bash (on WindowsCLAUDE_CODE_GIT_BASH_PATH, thenGit\bin\bash.exe, thenPATH, neverSystem32\bash.exe;
elsewherePATH, then/bin/bashand/usr/bin/bash).- Pointer: for how an exec-form hook launches its command, fetch
https://code.claude.com/docs/en/hooks#exec-form-and-shell-form live.
Report the shell as INFO on Unix; FAIL on Windows when no Git Bash resolves, since the
scripts and the guard alike cannot launch.- Pointer: for how an exec-form hook launches its command, fetch
nodeonPATH.command -v node, and report the resolved path and version. Probe it
through Bash, so it works without the launcher. FAIL when absent: every hook row runsnode hooks/exec-bash.mjs, so without it the guard does not launch and is not enforced.- Pointer: for whether Claude Code's install uses Node at runtime, fetch
<https://cod
- Pointer: for whether Claude Code's install uses Node at runtime, fetch
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
- 01
Bash(command -v ghq*)
FAQ
Что делает скилл Setup?
Verify repo-hygiene prerequisites (git, node, optional ghq) and effective destructive-guard toggle/scope. Check-only; installs and writes nothing.
Как установить скилл Setup?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл Setup запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
AnthropicToolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
access
AnthropicManage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
configure
AnthropicSet up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
access
AnthropicManage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…