starshine-pass-implementation
Implement, port, or sign off Starshine optimizer passes with the repo-standard TDD, registry, Binaryen semantic parity, performance, validity, and…
от jtenner★ 25 звёзд на GitHub
Установить starshine-pass-implementation в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Starshine Pass Implementation
Use this skill for optimizer pass creation, IR2 pass ports, pass parity fixes, registry/preset wiring, and pass signoff reports.
This skill is the detailed workflow referenced by AGENTS.md for pass work. Treat it as the pass-specific extension of the repo-wide rules, not as a replacement for them.
Source of Truth
Read the relevant sources before substantial pass work:
AGENTS.mdsections Working On Passes and Validation And Signoff for top-level policy.docs/README.mdsections Working On Passes, Validation And Signoff, and Workflow Details for mirrored docs/wiki policy and command notes.docs/wiki/ir2/pass-porting-checklist.mdfor the living IR2 pass-author contract.docs/0062-2026-03-24-pass-porting-checklist.mdfor the numbered source behind the checklist when needed.agent-todo.mdfor active pass blockers, exact slices, known failures, behavior-parity inventory links, and artifact status.docs/wiki/binaryen/passes/late-pipeline-dispatch.mdwhen deciding whether a previously audited/removed pass can stay closed under the behavior-parity standard.src/passes/pass_common.mbtfor shared analysis, mutation, and verification helpers.src/passes/pass_test_helpers.mbtfor WAT fixture and public-pipeline test helpers.src/passes/optimize.mbtfor registry entries, pass categories, and preset expansion.src/passes/pass_manager.mbtfor active hot-pass dispatch and module-pass execution.src/cmd/cmd.mbtwhen CLI flag parsing, help, or command behavior changes.
Non-Negotiables
- Correctness first.
- Target Binaryen behavior parity by default. Do not treat broad instruction families, root kinds, scheduler slots, or effect classes as permanently deferrable just because they are hard; continue shrinking and implementing them until Starshine matches Binaryen-observable behavior.
- Behavior parity is stronger than "the generated module still behaves the same" and weaker than output parity: Starshine should implement the semantically relevant Binaryen transform families for the agreed pass/preset scope, while preserving WebAssembly behavior and validation. A green randomized compare lane is evidence, not a substitute for source/test review when docs still list broad missing Binaryen behavior.
- Output parity is not the target: do not require byte-for-byte wasm, raw canonical wasm/text, helper-label shape, local-numbering, or transform-for-transform parity when normalized/canonical semantic evidence proves equivalent Binaryen behavior.
- A deferral is allowed only when it is narrow, evidence-backed, and explicitly accepted by the user or tied to a concrete missing local representation/tooling blocker. Record what evidence would reopen it. Prefer implementing net-positive semantic cleanups over classifying them as merely safe drift.
- Every transform must be safe and must produce a valid wasm module.
- Pass-local performance target: Starshine should be at least 50% as fast as Binaryen on comparable pass-local measurements (
starshine_time <= 2 * binaryen_time) unless a slower result is explicitly accepted or attributed outside the pass. - Use TDD: add or update tests first and confirm the intended failure when practical.
- Prefer canonical
--pass <name>harness runs over broad combined-pass runs during pass development. - Unknown pass names must reject; never land silent no-op behavior for missing passes.
- Keep hot pass descriptors truthful:
requiresmust list needed analyses andinvalidatesmust list stale analyses after mutation. - Mutate through public hot-IR APIs and shared pass helpers; do not reach into storage internals directly.
- Do not widen
optimize/shrinkpreset behavior before the direct pass is correct and separately signable. - Do not remove or close an audit item while the pass dossier or inventory still says the pass is a narrow subset, lacks broad Binaryen behavior, or has unclassified behavior gaps. Either reopen/keep a backlog slice, or record a narrow explicit non-goal with user approval and reopening criteria.
- Keep release blockers and known failures visible in
agent-todo.mduntil resolved. - If signoff cannot be run, say exactly which command was not run and why; do not imply completion.
Implementation Workflow
Frame the pass.
- Identify the canonical Binaryen/Starshine pass name.
- Use
bun scripts/pass-fuzz-compare.ts --list-passeswhen the supported name is uncertain. - Decide whether the work is a new pass, IR2 port, parity fix, performance fix, preset ordering change, or signoff-only task.
- Check
agent-todo.mdand relevant docs for active blockers, saved repro dirs, and known Binaryen divergences.
Classify the execution shape.
- Hot/function pass: provide a
HotPassDescriptor, registry entry, dispatcher arm, and*_runimplementation. - Module pass: provide the registry entry and route through the module-pass application path.
- Bou
- Hot/function pass: provide a
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл starshine-pass-implementation?
Implement, port, or sign off Starshine optimizer passes with the repo-standard TDD, registry, Binaryen semantic parity, performance, validity, and documentation workflow. Use when working on pass creation, pass porting, pass parity, pass fuzz compare failures, optimizer registry wiring, preset changes, or pass signoff.
Как установить скилл starshine-pass-implementation?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл starshine-pass-implementation запускает скрипты?
Нет, скилл состоит только из инструкций (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…