Command Palette

Search for a command to run...

Назад к скиллам
скилл № 17256

Setup

Verify guardrails prerequisites, toggles, and hooks (check [inspect]), or apply fixes, git hooks, read-deny rules, and identity-domains.

БесплатноЗапускает вложенные скрипты
melodic-softwareот melodic-software★ 34 звезды на GitHub

Установить Setup в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Об этом скилле

Setup

Pre-computed context

check's jq and node probes ran at load time. Read these rows instead of re-issuing them; each shows the tool's path when present, or absent when missing:

  • jq: !command -v jq 2>/dev/null || echo absent
  • node: !command -v node 2>/dev/null || echo absent

A row reading [shell command execution disabled by policy] carries no result: run that tool's command -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.

Purpose

Thin check-centric setup per the uniform setup contract (docs/plugin-philosophy.md "Setup is explicit and repeatable" in the marketplace repository): check inspects and reports, apply resolves. Every tunable is a native userConfig option (one enable toggle per guard plus scalars such as block_dangerous_git_allow), so bare apply is guidance and writes nothing beyond the gated cleanup of retired hooks. The explicit actions below are the only other writes, each as its section states: install-git-hooks writes the plugin's git-hook entry copies, read-deny touches settings through your edit tools, and identity-domains writes the block-cross-domain map into the plugin data directory.

Action routing: no argument or check runs the check; check inspect runs only the check inspect section; apply runs the check first, then points at each remediation. Both are non-interactive: never prompt when the action is given, except for the confirmation bare apply asks before each retired-hook cleanup. The other actions ask only where their sections say to, and only in an attended run: install-git-hooks for scope, manager and decisions, read-deny for scope and consent, and identity-domains for the values the profile lacks and for confirmation.

check (read-only)

The guard scripts (${CLAUDE_PLUGIN_ROOT}/hooks/*.sh) and hooks.json are the single source of truth for the guard inventory and each guard's runtime needs.

Read it first. Probe what it actually does, don't recite this file. Then read the pre-computed jq and node rows, run the remaining probes via Bash, and report a PASS/FAIL/INFO table with one remediation line per FAIL. Do not modify anything.

When every guard's toggle is disabled, every prerequisite absent or below its floor, but node (step 3), downgrades from FAIL to INFO. Each guard exits through its enabled-gate before probing anything, so a deliberately disabled plugin is not broken. Report the probes informationally and note that re-enabling restores the FAIL semantics. A tool a git-hook entry needs keeps the grade it gets with a guard on while that entry is installed (step 5 reports it as a tool line beside an ok, stale or modified entry): the entries run at commit or push outside Claude Code and read no toggle.

  1. Bash 5.0+. The guards' documented runtime floor (Git Bash on native Windows). Probe the bash the hooks run: the one ${CLAUDE_PLUGIN_ROOT}/hooks/exec-bash.mjs resolves in the order its resolveBash sets per platform (read it; do not recite it), which can differ from the Bash tool's own bash. FAIL below the floor with the README Requirements remediation.
  2. jq. The pre-computed jq row. FAIL if absent: per the README, the blocking guards then deny every Bash and PowerShell call and the others skip their work after one notice per session, which is exactly what this check exists to surface.
  3. node. The pre-computed node row. FAIL if absent, with the README Requirements remediation: every guard row starts through hooks/exec-bash.mjs, so no guard starts without it. The README records what Claude Code documents about a hook that cannot start.
  4. Per-guard toggles. Report each guard's effective <guard>_enabled value, one row per guard, so the user sees the live guard surface at a glance. The effective value is the configured option, else that guard's default in plugin.json; the guards read it as the CLAUDE_PLUGIN_OPTION_<GUARD>_ENABLED export. Defaults differ per guard (the advisory opt-in guards ship false), so take each default from the manifest and never assume true.
  5. Git-hook entries. Run node "${CLAUDE_PLUGIN_ROOT}/lib/git-hooks/install.mjs" verify from the repository. Each line is <state>\t<entry>[\t<detail>]: ok is PASS, declined is INFO (this clone said no; silent at session start), and missing, stale, modified or superseded is a FAIL whose remediation is apply install-git-hooks; a superseded detail lists what an install under an earlier plugin name left, which that action removes on the user's yes. A tool\t<tool>\tmissing line means an installed entry cannot run here: list the tool with its install method from the plugi
Полный SKILL.md на GitHub

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

  1. 01Bash(command -v jq*)
  2. 02Bash(command -v node*)
  3. 03Bash(node "${CLAUDE_PLUGIN_ROOT}/lib/git-hooks/install.mjs" verify:*)
  4. 04Bash(node ${CLAUDE_PLUGIN_ROOT}/lib/git-hooks/install.mjs verify:*)
  5. 05Bash(node "${CLAUDE_PLUGIN_ROOT}/lib/git-hooks/install.mjs" inspect:*)
  6. 06Bash(node ${CLAUDE_PLUGIN_ROOT}/lib/git-hooks/install.mjs inspect:*)
  7. 07Bash(node "${CLAUDE_PLUGIN_ROOT}/lib/git-hooks/install.mjs" plan:*)
  8. 08Bash(node ${CLAUDE_PLUGIN_ROOT}/lib/git-hooks/install.mjs plan:*)
  9. 09Bash(node "${CLAUDE_PLUGIN_ROOT}/lib/prerequisites.mjs" check "${CLAUDE_PLUGIN_ROOT}" --for hook:run-guards.sh)
  10. 10Bash(node ${CLAUDE_PLUGIN_ROOT}/lib/prerequisites.mjs check ${CLAUDE_PLUGIN_ROOT} --for hook:run-guards.sh)

Вложенные файлы

  • context/install-commit-msg.md
  • reference/git-hook-decisions.md
  • scripts/identity-domains.sh
  • scripts/identity-domains.test.sh

FAQ

Что делает скилл Setup?

Verify guardrails prerequisites, toggles, and hooks (check [inspect]), or apply fixes, git hooks, read-deny rules, and identity-domains.

Как установить скилл Setup?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл Setup запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

Похожие скиллы

Сравнить Setup с