sfx
Render a retro sound effect to WAV from an sfxr-style parameter set, standard library only. Use when: 'sound effect', '8-bit sfx', 'pickup sound', 'jump sound', 'explosion sfx', 'chiptune effect'. Not for a song or loop (use /retro-audio:music) or a picture.
- License 许可
- MIT
- 最近更新
- 2026-11-15
- Stars
- ★ 30
- Forks
- 7
01 前言 Front Matter
- metadata
- { "summary": "Render one retro sound effect to a WAV file", "workflow-stage": "implement" }
- description
- Render a retro sound effect to WAV from an sfxr-style parameter set, standard library only. Use when: 'sound effect', '8-bit sfx', 'pickup sound', 'jump sound', 'explosion sfx', 'chiptune effect'. Not for a song or loop (use /retro-audio:music) or a picture.
- argument-hint
- <effect> [preset coin|jump|laser|explosion]
- user-invocable
- true
- disable-model-invocation
- false
03 SKILL.md 正文
Sound effect
Write one WAV the user can drop into a game or hand to a scene.
1. Pick the sound
A preset (coin, jump, laser, explosion) is enough when the request names that kind of
effect. Otherwise write a JSON object. Parameter names and the envelope shape are in
${CLAUDE_PLUGIN_ROOT}/scripts/presets.py and
${CLAUDE_PLUGIN_ROOT}/scripts/sfx.py. State any field you default in one line.
Do not ask a list of questions for a one-shot effect.
2. Render
python3 "${CLAUDE_PLUGIN_ROOT}/scripts/sfx.py" --preset jump --out <dir>/jump.wav
python3 "${CLAUDE_PLUGIN_ROOT}/scripts/sfx.py" --params '<json>' --out <dir>/effect.wav
--params is either an inline JSON object or a path to one. The file is 16-bit mono PCM.
3. Deliver
Give the WAV path. If the user wants it inside a pixel-art scene, the scene skill takes that path as an argument. Do not open or edit the scene plugin's files from here.
Next
/retro-audio:music to score a loop in the same chip voice.
Gotchas
attack,sustain, anddecayare seconds. Their sum is the file length.volumeis 0 to 1. A value of 1 on a square wave is already full scale.
04 同仓库更多 Skills
track
Backlog reads through the bound tracker: search open and closed items, view one item with its comments and state history. Use when another skill searches or reads tracker items.
reviewer-media
Reviewer media for one pull request: decides whether it needs a narrated walkthrough, builds the storyboard from /review:explain-change's digest, has /explainer-video:produce render it and hands the manifest to /source-control:pull-request media. Use when asked for 'reviewer media', 'a walkthrough video for this PR', 'a produced video of this change', or when pull-request ready or monitor hands a PR over.
route
Model and effort per agent role (orchestrator, worker, verifier, retrieval) for a multi-agent run, resolved through the bundled defaults and the user, team and personal override config layers into fenced JSON with single-agent and fan-out variants and the layer behind each value. Use when asked 'which model for the subagents', 'route the roles' or 'model routing', or before a skill passes a role's model on a spawn.
route
Model and effort per agent role (orchestrator, worker, verifier, retrieval) for a multi-agent run, resolved through the bundled defaults and the user, team and personal override config layers into fenced JSON with single-agent and fan-out variants and the layer behind each value. Use when asked 'which model for the subagents', 'route the roles' or 'model routing', or before a skill passes a role's model on a spawn.
principles
Module-design vocabulary for architecture findings, and the checks built on it. Use when: 'what is a deep module', 'what is a seam', 'deep vs shallow module', 'what is the deletion test', 'leverage and locality', 'module design vocabulary', 'which word do we use for X in architecture findings'. Scanning a codebase for friction is /architecture:improve.
write
Structured five-field bug report (title, steps to reproduce, expected vs actual, justified severity, suggested fix location) from an informal description, read-only. Use when the user names a defect they observed, or asks for one written up ('report a bug', 'file a bug', 'write this up as a bug').