style-tune
Iterative LLM hand-tuning loop for embedded-core styles. Drives a style to 100% fidelity, a raised exact-parity floor, and clean SQI. All three are hard…
от citum★ 36 звёзд на GitHub
Установить style-tune в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Style Tune
Authoritative shared process docs:
docs/policies/STYLE_WORKFLOW_DECISION_RULES.md— tier definition, quality bar, failure classificationdocs/guides/STYLE_WORKFLOW_EXECUTION.md— thetuneloop definition (seed → fidelity loop → exact-parity loop → SQI loop → QA), stop conditions, and shared escalation rulesdocs/architecture/audits/2026-07-31_EXACT_PARITY_REFOCUS.md— why fidelity alone (a lenient, punctuation/case-insensitive comparison) is not sufficient evidence of correct rendering, and how the exact-parity gate and adjudication ledger work
Use This Skill When
- The target is an
embedded-corestyle (verified viacitum style list --source embeddedor by checkingcrates/citum-schema-style/src/embedded/styles.rs). - The goal is 100% oracle fidelity, a raised exact-parity floor, and clean SQI.
- Migrate output is available (or can be generated) as the starting seed.
What This Skill Is NOT
- Not for long-tail or dependent styles (use
style-maintainorstyle-migrate-enhance). - Not a batch wave tool — one embedded style per run.
- Not a converter fix tool —
citum-migrateissues are escalated separately.
Input Contract
- Embedded style ID (e.g.
apa-7th,ieee). - Legacy CSL path in
styles-legacy/for oracle comparison. - Citum YAML path in
crates/citum-schema-style/embedded/styles/. - Authority basis: publisher guide or style manual (primary authority first).
Hard Gates
- Fidelity: 100% oracle pass rate (
node scripts/oracle.js <legacy> --json). - Exact parity: the style's
exactParity.passedcount innode scripts/report-core.js --style <name> --all-featuresmay never drop below its recorded floor inscripts/report-data/embedded-parity-baseline.json. This is the primary tuning objective — where the real punctuation, casing, and spacing work happens. - SQI: clean score (
node scripts/report-core.js --style <name>). - A
tunepass is not complete until fidelity is 100% and SQI is clean; a pass may still land with residual exact-parity gap if every residual is classified (fixed, escalated asunclear, or excluded via a registered divergence) — see Failure Classification below. - Never accept a fidelity regression as a tradeoff for exact-parity or SQI improvement, and never accept an exact-parity regression as a tradeoff for SQI improvement.
Execution Loop
Follow the full tune loop from docs/guides/STYLE_WORKFLOW_EXECUTION.md:
- Seed — run
citum-migrateor accept the existing YAML. Record baseline oracle fidelity and exact-parity floor. Runnode scripts/check-style-coverage-audits.js --status <style-id>and reportcurrent,stale, ornot registered; a current packet selects one bounded output cluster. Recover astaleresult from astyle.chainedit withstyle-coverage-review.js --update-manifestper the shared execution guide, rather than treating it as blocking. - Fidelity loop — oracle → classify failure → smallest correct YAML fix →
re-run. Repeat until 100%.
Leverage-first exception: if the seed's fidelity already exceeds its
exact-parity rate by more than 0.3, run step 3 before this step — see
STYLE_WORKFLOW_EXECUTION.md's "Leverage-first ordering." - Exact-parity loop (begins once fidelity is green, or first per the
exception above) —
report-core --style --all-features→ rank residuals by leverage withnode scripts/analyze-parity-residuals.js <report.json>and work its greedy-set-cover order biggest-class-first, not by whichever entry is on screen → classify each residual → smallest correct fix or ledger entry → re-run. Confirm withnode scripts/analyze-parity-residuals.js <after.json> --diff <before.json>, not just the aggregatepassedcount — require itsnewlyFailinglist empty across every style; a fix routed through a shared category (e.g. atitles.type-mappingentry) can flip several previously-passing entries to failing while flipping more failing entries to passing, and a rising aggregate count alone cannot rule that out. Continue until no further residual is classifiable without escalation; regenerateembedded-parity-baseline.jsonfrom the full portfolio (not--style-scoped) per the shared-ancestor rule to ratchet the new floor in. A pass may not stop while a ≥20-row defect class is unaddressed unless every style it touches is fixed or the class is reclassifiedprocessor-defect— seeSTYLE_WORKFLOW_EXECUTION.md's narrowed stop condition. - SQI loop (only after fidelity and exact parity are stable) —
report-core→ hoist/preset/prune → oracle re-check → repeat until clean. - QA gate — regenerate and validate any registered packet on a clean,
committed tree, report disposition and joined-parity deltas, then hand off
to
../style-qa/SKILL.mdwithtier: embedded-core.
Failure Classification
Use the shared decision ru
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл style-tune?
Iterative LLM hand-tuning loop for embedded-core styles. Drives a style to 100% fidelity, a raised exact-parity floor, and clean SQI. All three are hard gates. Seeded from migrate evidence, not from the converter output as a terminal deliverable.
Как установить скилл style-tune?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл style-tune запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
AnthropicToolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
access
AnthropicManage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
configure
AnthropicSet up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
access
AnthropicManage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…