Command Palette

Search for a command to run...

Назад к скиллам
скилл № 46695

starshine-pass-implementation

Implement, port, or sign off Starshine optimizer passes with the repo-standard TDD, registry, Binaryen semantic parity, performance, validity, and…

БесплатноБез исполняемых скриптов
jtennerот 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.md sections Working On Passes and Validation And Signoff for top-level policy.
  • docs/README.md sections Working On Passes, Validation And Signoff, and Workflow Details for mirrored docs/wiki policy and command notes.
  • docs/wiki/ir2/pass-porting-checklist.md for the living IR2 pass-author contract.
  • docs/0062-2026-03-24-pass-porting-checklist.md for the numbered source behind the checklist when needed.
  • agent-todo.md for active pass blockers, exact slices, known failures, behavior-parity inventory links, and artifact status.
  • docs/wiki/binaryen/passes/late-pipeline-dispatch.md when deciding whether a previously audited/removed pass can stay closed under the behavior-parity standard.
  • src/passes/pass_common.mbt for shared analysis, mutation, and verification helpers.
  • src/passes/pass_test_helpers.mbt for WAT fixture and public-pipeline test helpers.
  • src/passes/optimize.mbt for registry entries, pass categories, and preset expansion.
  • src/passes/pass_manager.mbt for active hot-pass dispatch and module-pass execution.
  • src/cmd/cmd.mbt when 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: requires must list needed analyses and invalidates must 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/shrink preset 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.md until resolved.
  • If signoff cannot be run, say exactly which command was not run and why; do not imply completion.

Implementation Workflow

  1. Frame the pass.

    • Identify the canonical Binaryen/Starshine pass name.
    • Use bun scripts/pass-fuzz-compare.ts --list-passes when 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.md and relevant docs for active blockers, saved repro dirs, and known Binaryen divergences.
  2. Classify the execution shape.

    • Hot/function pass: provide a HotPassDescriptor, registry entry, dispatcher arm, and *_run implementation.
    • Module pass: provide the registry entry and route through the module-pass application path.
    • Bou
Полный SKILL.md на GitHub

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

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

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

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), без исполняемых скриптов.

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

Сравнить starshine-pass-implementation с