Command Palette

Search for a command to run...

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

Setup

Verify spelling prerequisites and its git pre-commit entry (check [inspect]), or resolve and register its git pre-commit entry (apply [install-git-hooks]).

БесплатноБез исполняемых скриптов
melodic-softwareот melodic-software★ 34 звезды на GitHub

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

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

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

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

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

Setup

Pre-computed context

check's tool 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:

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

A row reading [shell command execution disabled by policy] carries no result: run the 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. Spelling is one concern, lint: it reports and never rewrites. The git pre-commit entry runs only the plugin's shipped typos adapter, with or without a repository typos config; it never runs a command from the repository's spelling record (docs/conventions/ecosystems/spelling.yaml), which /toolchain:lint (if enabled) and /toolchain:check (if enabled) run on request. The only consumer-project files this plugin writes are its git-hook entry copies (apply install-git-hooks); the record is written by /toolchain:setup apply spelling (if enabled), never here. Rules come from the repository's own typos config, and the only tunable is the native userConfig on/off toggle for the session-start probe. Unlike sibling formatter plugins (Ruff, markdownlint-cli2), typos has no per-repo dependency-manager install path. It is a standalone Rust binary installed at the machine level (cargo, Homebrew, Conda, pacman, or a pre-built binary), never as a project dependency. apply is therefore guidance-only: it never installs anything, matching the check's own PATH-only resolution and the plugin philosophy's never-download-silently rule.

Action routing: no argument or check runs the check; check inspect runs only the check inspect section; apply runs the check first, then prints remediation guidance for each FAIL. Both are non-interactive. Never prompt when the action is given. apply install-git-hooks is the one write path, and it asks only where its section says to.

Step 1 of check only reports a Bash version because the skill cannot load where bash is missing: with shell: bash on Windows without Git Bash the invocation fails before any command runs, so this skill never gets to diagnose the missing Git Bash. The README Requirements section carries that answer. Verification record. Claim: shell: bash without bash available fails the invocation before any command runs, showing Skill <name> requires bash (`shell: bash` in frontmatter) but Git Bash was not found, and a failed injected command aborts the skill before Claude sees its content. Basis: How injected commands run and When an injected command fails. As of 2026-09-29. Recheck when a re-read of either section no longer describes that failure.

check (read-only)

Spelling findings arrive at commit time, from the git pre-commit entry (${CLAUDE_PLUGIN_ROOT}/git-hooks/lint.sh). Nothing reports while Claude edits. Read that script and ${CLAUDE_PLUGIN_ROOT}/git-hooks/adapters.sh first: probe what they actually do, don't recite this file. Then read the pre-computed tool row, run the remaining probes via Bash, and report a PASS/FAIL/INFO table with one remediation line per FAIL. Do not modify anything. Read each option value from this text; never put a ${user_config.*} string in a shell command. Open plugin files by the ${CLAUDE_PLUGIN_ROOT} paths this skill names; never Glob or Grep the plugin directory. An installed plugin runs from a deeply nested cache path, and a search passed that path can fail to start on some hosts because the path is too long, while reading a named file still works.

typos stays a FAIL even when spelling_enabled is off, because the installed git entry runs without Claude Code. Node.js (step 6) is a FAIL either way too.

  1. Bash version. Check against the README Requirements floor (3.2 or newer).
  2. typos binary. The pre-computed typos row (PATH only, with no per-repo convention). Report the resolved path and typos --version output when found. FAIL when absent: an agent's commit then fails with the install command, and a person's commit passes with a notice.
  3. What the lint concern resolves to. From the repository root run sh "${CLAUDE_PLUGIN_ROOT}/git-hooks/lint.sh" --resolve. It prints one row: plugin, concern, source, tool, found, detail, tab-separated. It reads the adapter's config and runs nothing. Append repository paths (--resolve docs/a.md src/b.md) for one row per file when the answer can differ per file;
Полный SKILL.md на GitHub

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

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

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

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

  • reference/git-hook-decisions.md

FAQ

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

Verify spelling prerequisites and its git pre-commit entry (check [inspect]), or resolve and register its git pre-commit entry (apply [install-git-hooks]).

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

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

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

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

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

Сравнить Setup с