Command Palette

Search for a command to run...

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

Setup

Check (default, read-only) or apply docs/conventions/docs-hygiene.yaml (confirmed) and validate compress_articles. Installs nothing; re-runnable.

БесплатноЗапускает вложенные скрипты
melodic-softwareот 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.

  1. Repository settings. Run "${CLAUDE_SKILL_DIR}/scripts/setup-apply.mjs" --check from the project root and report each line it prints under its own INFO, PASS or WARN prefix: INFO when docs/conventions/docs-hygiene.yaml is 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> or PASS <key>: (unset), or WARN <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:compress reads them. An invalid value never stops /docs-hygiene:compress, which names it and drops that layer, so these rows are WARNs. apply fixes 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.
  2. Effective compress_articles. Read the rendered ${user_config.compress_articles}; a literal unexpanded token means unset. Do not inspect or edit settings.json, settings.local.json, managed settings or pluginConfigs. Resolve as compress does (${CLAUDE_PLUGIN_ROOT}/reference/config.md), highest layer first, and state the value and the layer that supplied it:
    1. Step 1 printed PASS compress_articles: <value> with keep or cut: the file's value.
    2. Step 1 printed WARN compress_articles: dropped: the file layer is dropped, and no valid layer sits above it, so the value is keep (default). Never use the userConfig value in its place.
    3. Otherwise (no file, or the key unset in it): the userConfig value when it is keep or cut. Any other userConfig value is named (userConfig, compress_articles, the value) and dropped, and the value is keep (default).
    4. Otherwise keep (default).

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.

To set the value for the whole repository instead, use apply.

apply (writes docs/conventions/docs-hygiene.yaml only)

  1. Run check and show its table.
  2. Resolve the value. With a complete compress_articles=<value> argument, use it. Otherwise ask, recommendation first: keep, the default, for docs people read; cut only when the team wants the shortest text and its readers are agents. Never invent a key
Полный SKILL.md на GitHub

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

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

Без ограничений — скилл может использовать любой инструмент.

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

  • 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 запускает скрипты?

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

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

Сравнить Setup с