Command Palette

Search for a command to run...

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

lov-skill-optimizer

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

Audit and optimize one or more existing Agent Skills from a canonical source path, then bump semver on every version surface and CHANGELOG.md, and verify…

lovstudioот lovstudio★ 72 звезды на GitHub

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

Skill 精修师 · Skill Refiner

This is a non-interactive maintenance workflow. It infers the target and prioritizes issues from the current conversation, then supplements them with a generic lint pass. When several Skills are named in one request, process them in the order named and emit a separate result block for each Skill.

Target and source resolution

For a collection audit, generate a read-only inventory first:

python3 scripts/inspect_layout.py --all --root /absolute/path/to/skills --json

The inventory groups actual frontmatter IDs across source candidates, discovers installation aliases by identity or resolved target, and records full payload digests separately from catalog state. canonical_candidate is an inference from a unique source or unique linked payload, never authorization to overwrite another source. Ambiguous IDs stay unresolved. Generated output, templates and paid src/public variants are not independent source entries; Kit modules are. Lifecycle is disabled only for a disabled specification and otherwise remains unclassified until its owner supplies a product decision.

Treat wrong_target, broken_link, unavailable digests and non-versioned sources explicitly. A symlink is synchronized only when it resolves to the selected installable payload; a paid repository root is not its public payload. Missing public payloads must never fall back to distributing plaintext source. Collection audit does not synchronize, delete, publish or rewrite any target.

Prefer an explicit canonical path whenever the Skill is outside a conventional skills repository:

python3 scripts/lint_skill.py --path /absolute/path/to/skill --json
python3 scripts/inspect_layout.py --path /absolute/path/to/skill --json

For a name, accept foo, lov-foo, or foo-skill. Resolution may find a source checkout, an installed copy, or a catalog entry. Before editing:

  1. Resolve symlinks and record the actual path.
  2. Identify the Git root, branch, and dirty worktree state.
  3. Treat a source checkout as canonical. If the target is an installed copy, locate a matching source checkout; when no source exists, report that the supplied path itself is canonical instead of silently editing another copy.
  4. Record every discovered installation and catalog path. A copy is synced only when its content digest matches the source; a missing location is not_discovered, never complete. A symlink is synced only when it resolves to the canonical source.

Paid/encrypted repositories may keep the authored specification at src/SKILL.md and the installable payload under public/. Treat the repository root as canonical, lint and version the authored spec, and compare or sync only the public/ payload to installations. Never copy plaintext src/ content into an installed paid Skill.

Do not absorb pre-existing edits into a maintenance commit. If a target file is already dirty, review the overlap before editing it and stage only the exact files changed by this optimization.

Workflow (mandatory)

Step 0: Classify feedback scope

When the optimization is triggered by a user correction, classify it before choosing targets:

  • task-specific: applies only to the current artifact or one-off value. Do not edit a Skill.
  • skill-specific reusable: applies to future runs of one domain or platform. Optimize the relevant canonical Skill.
  • global reusable: changes how every Skill should handle feedback, authorization, sequencing, or handoff. Update the host's active user-level shared instruction artifact once (for example the applicable user-level AGENTS.md); do not paste the same policy into every domain SKILL.md.

If a global policy was previously placed in one domain Skill, move it to the shared layer and remove the domain duplicate while preserving any genuinely domain-specific rule learned in the same incident. A shared policy file may be outside the Skill repository; report its path and verification state explicitly instead of pretending it is part of the Skill package.

Any reusable correction invalidates prior terminal approval for the active task. Finish the policy/Skill optimization and validation first, then apply the correction to the current artifact, report the new state, and stop for the user's next instruction. Do not continue into publishing, submission, or another external write using a pre-correction “confirm”, “continue”, or “go ahead”.

Step 1: Extract targets and context

Normalize every explicitly named Skill and preserve the user's order. Strip the lov- prefix only for lookup; keep the public Skill identifier in reports. Collect the current-conversation fix list first: broken flags, trigger misses, wrong paths, confusing output, missing modules, compatibility requirements, or other concrete symptoms.

For every correction, distinguish four pieces of evidence: the observed defect, the latest user-approved baseline, the requested delta, a

Полный SKILL.md на GitHub

Установить lov-skill-optimizer в Claude Code и Claude Desktop

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

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

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

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

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

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

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

CHANGELOG.mdREADME.mdreferences/skill-naming.mdscripts/bump_version.pyscripts/inspect_layout.pyscripts/lint_skill.pyscripts/sync_installation.pyskill.yaml

FAQ

Что делает скилл lov-skill-optimizer?

Audit and optimize one or more existing Agent Skills from a canonical source path, then bump semver on every version surface and CHANGELOG.md, and verify installed copies and catalog synchronization. Checks frontmatter, trigger quality, CLI hygiene, accurate and concise naming, portability, version drift, dirty worktrees, shared Skill feedback policy, and compatibility contracts. Use when the user asks to optimize, refine, audit, polish, or update a Skill, or mentions "优化 skill", "skill 审计", "刷一遍 skill", "skill-optimizer", or "update skill changelog".

Как установить скилл lov-skill-optimizer?

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

Скилл lov-skill-optimizer запускает скрипты?

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

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

Сравнить lov-skill-optimizer с