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★ 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:
- Resolve symlinks and record the actual path.
- Identify the Git root, branch, and dirty worktree state.
- 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.
- Record every discovered installation and catalog path. A copy is
syncedonly when its content digest matches the source; a missing location isnot_discovered, nevercomplete. A symlink issyncedonly 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-levelAGENTS.md); do not paste the same policy into every domainSKILL.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
Установить lov-skill-optimizer в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
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 запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
doc-coauthoring
Guide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision…
от Anthropicacademy-guide
Stop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it recommends matching courses, tutorials…
от Anthropicinternal-comms
A set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill…
от Anthropicskill-development
This skill should be used when the user wants to "create a skill", "add a skill to plugin", "write a new skill", "improve skill description", "organize skill…
от Anthropic