Command Palette

Search for a command to run...

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

Setup

Check plugin-quality prerequisites, config, sink, and retired files (check, read-only), or converge pointer, topic doc, and retirements (apply).

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

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

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

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

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

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

Setup

Purpose

Setup for the audit skill's two external dependencies (gh, context-usage) and its team configuration, which lives as a convention doc at the consumer's convention home per the consuming marketplace's config-cascade expression doctrine. check inspects and reports PASS/FAIL/WARN/INFO with one remediation line per finding; apply converges exactly two consumer artifacts, the marked pointer-line region in the root instruction file and the topic doc <home>/plugin-quality/README.md, and nothing else.

Action routing: no argument or check runs the check.

The key reference is ${CLAUDE_PLUGIN_ROOT}/reference/config.md (keys, topic-doc location, resolution order, retired layers, sink ladder, item schema). Read it first; this skill reports against that contract rather than restating it.

check (read-only)

  1. gh + acting identity. command -v gh, then gh auth status. Report the acting account and host explicitly: machines can hold multiple GitHub identity domains, and the audit's emit gate surfaces this same account before any gh issue create, a surprise here is a cross-pollination incident later, so surface it at setup time too. gh absent → INFO, not FAIL: the sink ladder ends in the local markdown fallback, so audits still work.
  2. Context-usage seam. Run the same resolver the audit's context-gate runs, this plugin's own copy, synced byte-identical from the context-usage canonical: bash "${CLAUDE_PLUGIN_ROOT}/scripts/context-zone.sh" "${CLAUDE_SESSION_ID}". One argument, the session id; exit code always 0; the one word on stdout is the answer, light / moderate / heavy / unknown, and anything else is unknown. Its stderr carries zones.json band-configuration notices only, so it never tells one unknown from another. Report the dispatch mode the audit will run in:
    • light / moderate / heavy → zone-informed dispatch (report the zone too).
    • unknown, or the ${CLAUDE_SESSION_ID} substitution surviving unexpanded → conservative dispatch (the audit's unknown row + visible notice). unknown carries no direction: it is a working state, not a defect and not evidence about the window either way. Tell structural absence from breakage per the context-usage reader contract, "Sessions with no writer (unknown is structural)": the discriminator is whether mcp__context-usage__status is in this session's tool list. Tool absent (mods off, the plugin not enabled, a WSL session of the Desktop app, or a policy refused the tool): structural, report "no instrument in this environment". Tool present but no fresh snapshot after a tool call: a real defect, usually a missing node or an unwritable ~/.claude/context-usage/context/; point at /context-usage:setup check (if enabled). Statusline wiring is never the remediation. Recommend the context-usage plugin's setup only as an optional upgrade.
  3. Convention home + effective config. Run bash "${CLAUDE_PLUGIN_ROOT}/lib/resolve-convention-home.sh" --root "${CLAUDE_PROJECT_DIR}" and report by exit code; the four outcomes are distinct and never collapsed:
    • Exit 0 → PASS. Report the home, whether <home>/plugin-quality/README.md exists, the effective value of each key (sink, markdown_dir, zone_behavior, repo_map entries) and which source supplied it (topic doc, dual-read retired file, or documented default; the provenance line is the point, a surprising effective sink should be traceable in one glance). A duplicate: warning on stderr (a CLAUDE.md copy of the region) passes through as WARN with its remediation.
    • Exit 1 → INFO: unconfigured, no pointer line anywhere. The audit runs on documented defaults (plus the dual-read below when the retired file is present); remediation is apply, which proposes a home. check never infers a home.
    • Exit 3 → FAIL, ask-don't-infer: surface the resolver's own message verbatim. Each cause (two pointer lines in one region, an unterminated or nested region, an invalid pointer path, a missing target directory) is a distinct finding whose remediation runs through apply's interview, never a guessed home.
    • Exit 2 → FAIL: usage or root error; report the message.
  4. Retired conventions, when this plugin ships retirements.yaml: run bash "${CLAUDE_PLUGIN_ROOT}/lib/check-retirements.sh" --manifest "${CLAUDE_PLUGIN_ROOT}/retirements.yaml". Exit 0 → PASS. Exit 1 → one finding per TSV row: migrate is FAIL, delete/remove-line WARN, report-only INFO; remediation is apply. Exit 2 → FAIL, never silent. Bash unavailable → report the step UNKNOWN with remediation, never green. In this plugin's manifest that yields: plugin-quality-r001 FAIL while the retired tracked .claude/plugin-quality.md persists (the dual-read window: the file is read as authori
Полный SKILL.md на GitHub

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

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

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

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

  • evals/evals.json

FAQ

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

Check plugin-quality prerequisites, config, sink, and retired files (check, read-only), or converge pointer, topic doc, and retirements (apply).

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

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

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

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

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

Сравнить Setup с