Audio engineering principles

From erikstmartin/dotfiles · View interactive version

Audio engineering principles is an AI agent skill from the GitHub repository erikstmartin/dotfiles. Use for real-time audio code safety, determinism, and numeric hygiene. Required foundation for DSP, audio analysis, audio systems, and JUCE work. Not for game-audio middleware or ffmpeg/video tasks.

How to use this skill

Skill file

Purpose

Defines invariant engineering standards for any audio-related code.

This skill must be followed by:


Real-Time Safety Rules

When executing on an audio thread:

Preallocate in initialization / prepare phase.

Use:


Determinism


Numeric Hygiene


Performance Mindset

Always document:


Output Contract

For audio requests, respond with:

  1. Design summary (thread model + constraints)
  2. Public API
  3. Implementation
  4. Tests (offline or RT-safe)
  5. Performance notes
  6. Edge cases

Scope Guardrails

Do NOT:

Prefer open implementations and known references.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.