Generate sound effects for ZX games using Python synthesis. **Spec-Driven Workflow (RECOMMENDED):** 1. Create `.spec.py` in `.studio/specs/sounds/` 2. Run `python .studio/generate.py --only sounds` **Load references when:** - SFX specs → `references/sound-spec-format.md` - Example specs → `examples/laser.spec.py`, `examples/explosion.spec.py` - Recipes → `references/sfx-recipes/` - Manual synthesis → `references/numpy-scipy-building-blocks.md` - Quality standards → `references/quality-standards.md` **Before generating:** Check `.studio/sonic-identity.md` for audio specs.
/plugin marketplace add nethercore-systems/nethercore-ai-plugins/plugin install zx-procgen@nethercore-ai-pluginsThis skill inherits all available tools. When active, it can use any tool Claude has access to.
examples/coin.spec.pyexamples/explosion.spec.pyexamples/jump.spec.pyexamples/laser.spec.pyreferences/numpy-scipy-building-blocks.mdreferences/numpy-scipy-workflow.mdreferences/quality-standards.mdreferences/sfx-recipes/README.mdreferences/sfx-recipes/coin.pyreferences/sfx-recipes/explosion.pyreferences/sfx-recipes/footstep.pyreferences/sfx-recipes/hit.pyreferences/sfx-recipes/jump.pyreferences/sfx-recipes/laser.pyreferences/sfx-recipes/powerup.pyreferences/sfx-recipes/ui-click.pyreferences/sound-spec-format.mdGenerate game sound effects using a spec-driven workflow.
pip install numpy scipy soundfile
Step 1: Create Spec
# .studio/specs/sounds/laser.spec.py
SOUND = {
"sound": {
"name": "laser",
"duration": 0.25,
"layers": [
{"type": "fm_synth", "carrier_freq": 600, "mod_ratio": 1.5, "mod_index": 6.0},
{"type": "noise_burst", "duration": 0.02, "amplitude": 0.3}
],
"envelope": {"attack": 0.002, "decay": 0.15, "sustain": 0, "release": 0.08}
}
}
Step 2: Run Generator
python .studio/generate.py --only sounds
See references/sound-spec-format.md for complete format.
| Spec | Value |
|---|---|
| Sample Rate | 22050 Hz |
| Bit Depth | 16-bit |
| Channels | Mono |
| Simultaneous | 16 + 1 music |
Minimum requirements:
Anti-patterns:
See references/quality-standards.md for complete checklist.
| Technique | Best For |
|---|---|
| Subtractive | Bass, warm, explosive |
| FM | Metallic, bells, digital |
| Additive | Organs, complex tones |
| Karplus-Strong | Plucked strings |
| Sound Type | Recipe |
|---|---|
| Laser/Zap | sfx-recipes/laser.py |
| Explosion | sfx-recipes/explosion.py |
| Hit/Impact | sfx-recipes/hit.py |
| Coin/Pickup | sfx-recipes/coin.py |
| Jump | sfx-recipes/jump.py |
| UI Click | sfx-recipes/ui-click.py |
Workflow: (1) Find closest recipe, (2) Read file, (3) Copy and customize.
[[assets.sounds]]
id = "laser"
path = "generated/sounds/laser.wav"
let laser = rom_sound_str("laser");
play_sound(laser);
.studio/specs/sounds/
├── laser.spec.py
└── explosion.spec.py
generated/sounds/
├── laser.wav
└── explosion.wav
This skill should be used when the user asks to "create a slash command", "add a command", "write a custom command", "define command arguments", "use command frontmatter", "organize commands", "create command with file references", "interactive command", "use AskUserQuestion in command", or needs guidance on slash command structure, YAML frontmatter fields, dynamic arguments, bash execution in commands, user interaction patterns, or command development best practices for Claude Code.
This skill should be used when the user asks to "create an agent", "add an agent", "write a subagent", "agent frontmatter", "when to use description", "agent examples", "agent tools", "agent colors", "autonomous agent", or needs guidance on agent structure, system prompts, triggering conditions, or agent development best practices for Claude Code plugins.
This skill should be used when the user asks to "create a hook", "add a PreToolUse/PostToolUse/Stop hook", "validate tool use", "implement prompt-based hooks", "use ${CLAUDE_PLUGIN_ROOT}", "set up event-driven automation", "block dangerous commands", or mentions hook events (PreToolUse, PostToolUse, Stop, SubagentStop, SessionStart, SessionEnd, UserPromptSubmit, PreCompact, Notification). Provides comprehensive guidance for creating and implementing Claude Code plugin hooks with focus on advanced prompt-based hooks API.