Setup
Inspect optional .claude/repo-fleet-hygiene.conf read-only (check) or add fleet roots, exact repos, and canonical checkout overrides (apply).
от melodic-software★ 34 звезды на GitHub
Установить Setup в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Setup
Arguments. [check|apply] [--config <path>] [--root <dir>]... [--repo <dir>]... [--skip <name>].... Full form: [check|apply] [--config <path>] [--root <dir>]... [--repo <dir>]... [--canonical <github.com/owner/repo=path>]... [--ack-unavailable <github.com/owner/repo>]... [--skip <name>]... [--extend-skip <name>]... [--max-depth <1..12>]
Purpose
Verify and manage the audit's optional Git-format configuration. Setup owns only this file; it never
edits Claude Code settings, pluginConfigs, Git remotes, branches, worktrees, or the installed plugin.
The config file itself is optional to create. A /repo-fleet-hygiene:audit takes scope from a
CLI bare path / --root / --repo, or fleet.root / fleet.repo entries in a consumed config.
Absence of every config on the ladder is therefore INFO for check (nothing to validate yet); a
subsequent no-argument audit then follows its no-scope ladder and exits 3 only when no rung
resolves. Check-centric per the uniform setup contract
(docs/plugin-philosophy.md "Setup is explicit and repeatable" in the marketplace repository):
check inspects read-only; apply creates or updates the file, then re-runs check. No argument
or check runs the check; apply runs the check first, then the write. All non-interactive: when
the arguments fully specify the change, apply proceeds without prompting.
Default config path: ${CLAUDE_PROJECT_DIR}/.claude/repo-fleet-hygiene.conf. An explicit --config
may choose another path. Resolve relative roots/repos/canonical paths from the config file directory.
Scoping rule (state it in check/apply output): the audit consumes config through a ladder:
explicit --config, else the project-scoped default above, else the user-global
~/.claude/repo-fleet-hygiene.conf. A project-scoped config is therefore consumed only when the
audit runs with that same project directory; a fleet config meant to apply from every project
belongs at the user-global path (apply --config ~/.claude/repo-fleet-hygiene.conf). The audit
report header names which config (if any) was consumed.
Argument grammar
check | apply [--config <path>] [--root <dir>]... [--repo <dir>]...
[--canonical <github.com/owner/repo=path>]... [--ack-unavailable <github.com/owner/repo>]...
[--skip <name>]... [--extend-skip <name>]... [--max-depth <1..12>]
--max-depth writes [fleet] maxDepth; --skip writes repeatable [fleet] skip entries;
--extend-skip writes repeatable [fleet] skipAppend entries. This skill owns the config file
that carries them. See "Configuration grammar" below for the skip replace semantics, and state
them whenever you write a skip entry, because "extend" is the naive reading. An operator who
wants to add names to the defaults wants --extend-skip.
check (read-only)
The config file and the grammar below are the source of truth. Probe, report a PASS/FAIL/INFO table
with one remediation line per FAIL, and modify nothing. Do not run the collector. That is
/repo-fleet-hygiene:audit; check only validates the configuration the audit would consume, using
git config --file and read-only filesystem probes.
- Config presence. Resolve the config path (
--configor the default). Absent → INFO naming the full ladder: the audit next probes the user-global~/.claude/repo-fleet-hygiene.conf(report whether one exists there); with no config on the ladder and no scope argument, a bare/repo-fleet-hygiene:auditfollows the no-scope ladder in that skill.applyscaffolds a config only if the user wants bounded roots or overrides. - Parse validity. Present config:
git config --file "<path>" --list >/dev/null. A non-zero exit is FAIL with the parse error in the remediation line. Neversourcethe file. - Entry resolution. For each
[fleet] root/repoand each[canonical …] path, resolve it from the config directory and confirm the directory exists and (for roots/repos)git rev-parsesucceeds read-only. A referenced path that does not resolve is FAIL, naming the entry. maxDepth. Present and outside1..12is FAIL; absent is INFO (the audit's own default applies).- Canonical identity. INFO for each
[canonical "github.com/owner/repository"]entry: report the normalized key. Flag as FAIL only a key that is not a normalizablegithub.com/owner/repository. - Acknowledged identities. INFO listing each
fleet.ackUnavailableentry (normalized). FAIL any value that is not a normalizablegithub.com/owner/repository. - Discovery skip names. INFO listing each
fleet.skipandfleet.skipAppendentry. FAIL any value that is empty or contains a path separator (must be a bare directory name). Remind that any presentfleet.skipreplaces the audit default skip list rather than appending, whilefleet.skipAppendadds to whichever list is in effect. - Tracked-file pair (only when the config lives
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
- 01
Bash(${CLAUDE_SKILL_DIR}/scripts/setup-config.sh:*)
Вложенные файлы
- evals/evals.json
- scripts/setup-config.sh
- scripts/setup-config.test.sh
FAQ
Что делает скилл Setup?
Inspect optional .claude/repo-fleet-hygiene.conf read-only (check) or add fleet roots, exact repos, and canonical checkout overrides (apply).
Как установить скилл Setup?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл Setup запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
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…