Setup
Check (default, read-only) or apply docs/conventions/docs-hygiene.yaml (confirmed) and validate compress_articles. Installs nothing; re-runnable.
от melodic-software★ 34 звезды на GitHub
Установить Setup в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Setup
Purpose
Setup for /docs-hygiene:compress: the compress_articles setting, which decides whether
compress may remove a, an and the. It has two homes: the plugin's native userConfig
option, which Claude Code prompts for and stores, and which this skill reads but never writes; and
one tracked consumer file, docs/conventions/docs-hygiene.yaml, the repository layer (keys, values
and layers: ${CLAUDE_PLUGIN_ROOT}/reference/config.md;
schema: ${CLAUDE_PLUGIN_ROOT}/schemas/docs-hygiene.schema.json). A value set in the file wins
over the user's userConfig value.
Action routing: no argument or check runs the check; apply runs the check, then writes the
repository file and nothing else. With complete <key>=<value> arguments nothing asks a question;
the one confirmation is a diff to an existing file (apply step 4).
Official contract for userConfig: https://code.claude.com/docs/en/plugins/manifest-reference#user-configuration.
check (read-only)
Report a PASS/INFO/WARN table. Modify nothing.
- Repository settings. Run
"${CLAUDE_SKILL_DIR}/scripts/setup-apply.mjs" --checkfrom the project root and report each line it prints under its own INFO, PASS or WARN prefix: INFO whendocs/conventions/docs-hygiene.yamlis absent, with no other line; otherwise a WARN for each problem in the file (a value outside the key's list, a key set twice, an empty or null value, a map or list where one string belongs, a key the schema does not list, or a line that does not parse), quoting the file, key and value; then one line per schema key:PASS <key>: <value>orPASS <key>: (unset), orWARN <key>: dropped ...when the file's value for that key is invalid or the file does not parse. A key the schema does not list gets its own WARN and leaves the other keys' values in force, the same way/docs-hygiene:compressreads them. An invalid value never stops/docs-hygiene:compress, which names it and drops that layer, so these rows are WARNs.applyfixes only a value that is outside the list, empty or null, and leaves an unknown key's line as written; every other WARN needs a hand edit first. - Effective
compress_articles. Read the rendered${user_config.compress_articles}; a literal unexpanded token means unset. Do not inspect or editsettings.json,settings.local.json, managed settings orpluginConfigs. Resolve ascompressdoes (${CLAUDE_PLUGIN_ROOT}/reference/config.md), highest layer first, and state the value and the layer that supplied it:- Step 1 printed
PASS compress_articles: <value>withkeeporcut: the file's value. - Step 1 printed
WARN compress_articles: dropped: the file layer is dropped, and no valid layer sits above it, so the value iskeep(default). Never use theuserConfigvalue in its place. - Otherwise (no file, or the key unset in it): the
userConfigvalue when it iskeeporcut. Any otheruserConfigvalue is named (userConfig,compress_articles, the value) and dropped, and the value iskeep(default). - Otherwise
keep(default).
- Step 1 printed
To change the userConfig value of compress_articles, reconfigure through Claude Code's native
flow, interactively with /plugin configure docs-hygiene@<marketplace> or by a headless route, as
the marketplace's plugin-reconfiguration convention gives them in
§ The routes
(it owns the verified-version record). Apply the scope and failure-signal caveats in its
§ Caveats every setup skill's short form carries.
Read both sections and print what they give, the fallback route, its behavior on an
already-installed plugin and the scope to pass included, rather than only naming them, and
leave out the verified-version record.
Never uninstall to reconfigure; that section links what an uninstall deletes. This skill never
writes user settings or pluginConfigs. Afterwards rerun check in a fresh session, since a
same-session check can still show the old value, and report the observed effective value, never
an unobserved change.
- Pointer: for the headless command's flags, how it reports a saved or refused value, and when a saved value applies, fetch plugin CLI reference § plugin configure live.
To set the value for the whole repository instead, use apply.
apply (writes docs/conventions/docs-hygiene.yaml only)
- Run
checkand show its table. - Resolve the value. With a complete
compress_articles=<value>argument, use it. Otherwise ask, recommendation first:keep, the default, for docs people read;cutonly when the team wants the shortest text and its readers are agents. Never invent a key
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
- evals/evals.json
- scripts/setup-apply.mjs
- scripts/setup-apply.test.sh
FAQ
Что делает скилл Setup?
Check (default, read-only) or apply docs/conventions/docs-hygiene.yaml (confirmed) and validate compress_articles. Installs nothing; re-runnable.
Как установить скилл 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…