Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

health-audit

БесплатноЗапускает вложенные скриптыНе проверен

Plugin audit against detected stack (Python, Node, Rust, Go, Terraform, Docker, K8s). Use when cleaning up unused plugins or discovering stack-relevant ones…

laurigatesот laurigates★ 61 звезда на GitHub

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

health-audit

The user-facing entry point is /health:check --scope=stack, with --fix to apply changes; this skill is model-invoked only (user-invocable: false).

Audit the project's enabled plugins against the actual technology stack. Identifies plugins that don't apply to this project and suggests relevant plugins that aren't enabled.

When to Use This Skill

Use this skill when... Use another approach when...
Reviewing plugin relevance for current project General health diagnostics (use /health:check)
Cleaning up unused plugins Plugin registry corruption (/health:check --scope=registry --fix)
Discovering relevant plugins for tech stack Bare CLI commands in skill docs (/health:check --scope=agentic)
Optimizing project-specific plugin configuration Installing specific plugin (install directly)
Onboarding to existing project Need comprehensive settings validation

Context

  • Current project: !pwd
  • Project settings exists: !find . -maxdepth 2 -path '*/.claude/settings.json'
  • Package.json exists: !find . -maxdepth 1 -name 'package.json'
  • Cargo.toml exists: !find . -maxdepth 1 -name 'Cargo.toml'
  • pyproject.toml exists: !find . -maxdepth 1 -name 'pyproject.toml'
  • requirements.txt exists: !find . -maxdepth 1 -name 'requirements.txt'
  • go.mod exists: !find . -maxdepth 1 -name 'go.mod'
  • Dockerfile exists: !find . -maxdepth 1 -name 'Dockerfile'
  • docker-compose exists: !find . -maxdepth 1 \( -name 'docker-compose.yml' -o -name 'docker-compose.yaml' -o -name 'compose.yml' -o -name 'compose.yaml' \)
  • GitHub workflows: !find . -maxdepth 3 -path '*/.github/workflows/*' -name '*.yml' -print -quit
  • Terraform files: !find . -maxdepth 2 -name '*.tf' -print -quit
  • Kubernetes manifests: !find . -maxdepth 3 \( -path '*/k8s/*' -o -path '*/kubernetes/*' \) -name '*.yaml' -print -quit

Parameters

Parameter Description
--fix Apply recommended changes to .claude/settings.json
--dry-run Show what would be changed without modifying files
--verbose Show detailed analysis of each plugin decision

Execution

Execute this plugin relevance audit:

Step 1: Detect the project technology stack

Analyze project files from the values in Context to determine the technology stack. Match indicators against the tech stack mapping in REFERENCE.md.

Step 2: Retrieve installed and available plugins

Run claude plugin list --json --available. It prints one object with two arrays:

  • installed -- plugins already installed; each entry's id is plugin-name@marketplace-name, with scope and version
  • available -- marketplace plugins that are not installed; each entry has pluginId, name, description, marketplaceName and version

The catalog is both arrays together: available leaves out what installed lists. Neither carries keywords or a category, so match on plugin name and description. Without --available the command lists installed plugins only. Field shapes are in REFERENCE.md.

Step 3: Read the enabledPlugins settings

From the project root, run bash ${CLAUDE_SKILL_DIR}/scripts/enabled-plugins.sh list. enabledPlugins is an object mapping plugin-name@marketplace-name to true (enabled) or false (explicitly disabled), and the script reads it that way for user, project and local settings:

  • PROJECT_ENABLED= / PROJECT_DISABLED= -- the entries in .claude/settings.json, the file this skill audits and --fix edits
  • USER_ENABLED= / LOCAL_ENABLED= and their _DISABLED= twins -- the other scopes
  • EFFECTIVE_ENABLED= -- IDs whose highest-precedence entry is true (local over project over user; managed settings are not read)

A missing file or an unset enabledPlugins means no entries. On STATUS=ERROR (a settings file is not valid JSON) report the file and stop. On TYPE=not_object (an enabledPlugins that is not an object) report it and skip --fix until it is corrected by hand.

Step 4: Analyze plugin relevance

Compare each project entry against the detected tech stack. Use the plugin relevance mapping in REFERENCE.md to determine which plugins are relevant, irrelevant, or missing.

Categorize each plugin as:

  • RELEVANT -- in PROJECT_ENABLED and matches the detected stack
  • NOT RELEVANT -- in PROJECT_ENABLED with no matching indicators
  • DISABLED -- in PROJECT_DISABLED: a deliberate opt-out; list it, and do not suggest adding it back
  • MISSING -- relevant to the stack and absent from EFFECTIVE_ENABLED; a plugin the user already enables at user or local scope is not missing

Step 5: Generate the audit report

Print a structured report covering:

  1. Detected technology stack with evidence
  2. Currently enabled plugins with relevance status
  3. Suggested plugins to add (with reas
Полный SKILL.md на GitHub

Установить health-audit в Claude Code и Claude Desktop

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

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

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

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

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

Bash(bash ${CLAUDE_SKILL_DIR}/scripts/enabled-plugins.sh *)
Bash(claude plugin list *)
Read
Glob
Grep
TodoWrite
AskUserQuestion

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

REFERENCE.mdscripts/enabled-plugins.sh

FAQ

Что делает скилл health-audit?

Plugin audit against detected stack (Python, Node, Rust, Go, Terraform, Docker, K8s). Use when cleaning up unused plugins or discovering stack-relevant ones for a project.

Как установить скилл health-audit?

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

Скилл health-audit запускает скрипты?

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

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

Сравнить health-audit с