audio-dsp-review SKILL.md skillA

audio-dsp-review from gourdja/sonic-skills is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add gourdja/sonic-skills/audio-dsp-review@git:20260521.8b6dcfe

Pins git:20260521.8b6dcfe in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
gourdja/sonic-skills
Path
skills/audio-dsp-review/SKILL.md
Versions recorded
2
Latest version
git:20260521.8b6dcfe, committed May 21, 2026
First version recorded
May 15, 2026
Size
5,308 bytes
Repository stars
4
License
Unlicense

Reviews audio DSP and audio processing code for realtime safety violations. Use whenever the user asks to review, audit, or check audio processing code — including plugin process callbacks, audio engine render functions, DSP implementations, or any code that runs on the audio thread. Trigger on phrases like "review my processBlock", "check this DSP code", "is this safe for the audio thread?", "review my JUCE plugin", or when you see an audio callback and spot potential realtime violations.…

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# Audio DSP Realtime Safety Review

> **The cardinal rule:** *If you don't know how long it will take, don't do it.*
>
> The audio callback has a hard deadline — typically 1–5ms per buffer. Miss it once and the
> user hears a glitch. The three categories of violations that cause this are: **allocations**,
> **locking**, and **system calls** — all of which can block for unbounded time.

## Step 1 — Find the realtime context

Identify the audio callback and every function it calls (transitively). Common names:
`processBlock`, `process`, `render`, `getNextAudioBlock`, `audioDeviceIOCallback`,
`AURenderCallback`, `JackProcessCallback`, and the output-stream closure in cpal/JUCE/PortAudio.

## Step 2 — Scan for violations

**Memory allocations** (allocator paths may lock, grow arenas, touch new pages, or run
unbounded bookkeeping):
- `new` / `delete` / `malloc` / `free` / `make_shared` / `make_unique`
- `std::string` construction, concatenation, `to_string()`
- Container growth: `vector::push_back` without pre-reserve, `map::operator[]` on new keys,
  `unordered_map::insert`, `deque::push_back`
- `std::function` with non-trivial captures (may allocate), throwing exceptions
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add gourdja/sonic-skills/audio-dsp-review@sha256:18f40621e6a383bd

The line at the top of this page pins the label git:20260521.8b6dcfe, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_pn2ppw3ei5qodqpk.svg)](https://markdownregistry.com/a/art_pn2ppw3ei5qodqpk)

3 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 2 versions of this file, between May 15, 2026 and May 21, 2026, about one every 5 days.

versioncommittedcommitsizeaudit
git:20260521.8b6dcfe latest2026-05-21 8b6dcfe 5,308 BA view · diff
git:20260515.3a80b752026-05-15 3a80b75 4,432 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (5308 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

gourdja/sonic-skills · 4 stars · license Unlicense · pushed 2026-10-12 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_pn2ppw3ei5qodqpk
GET https://markdownregistry.com/api/v1/resolve?ref=gourdja/sonic-skills/audio-dsp-review
GET https://markdownregistry.com/api/v1/blob/18f40621e6a383bd944c16635ac70f1a316d63ce78e25f47b917d3bc56ec0fcb

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from gourdja/sonic-skills

au-review SKILL.md skill
gourdja/sonic-skills · skills/au-review/SKILL.md · Reviews AudioUnit v2/v3 plugin implementations for spec compliance, thread safety, and correctness. Use when the user…
git:20260515.3a80b75 · audit A · 4 stars
audio-artifacts-debug SKILL.md skill
gourdja/sonic-skills · skills/audio-artifacts-debug/SKILL.md · Systematic checklist for diagnosing audio artifacts. Use when the user describes a sound quality problem — clicks…
git:20260515.3a80b75 · audit A · 4 stars
audio-math-explainer SKILL.md skill
gourdja/sonic-skills · skills/audio-math-explainer/SKILL.md · Explains DSP math concepts to developers who need the theory behind an algorithm. Use whenever the user asks how a…
git:20260515.3a80b75 · audit A · 4 stars
audio-numerics-review SKILL.md skill
gourdja/sonic-skills · skills/audio-numerics-review/SKILL.md · Reviews audio DSP code for numerical correctness. Use when the user asks to review, audit, or check DSP code for…
git:20260515.3a80b75 · audit A · 4 stars
audio-performance-debug SKILL.md skill
gourdja/sonic-skills · skills/audio-performance-debug/SKILL.md · Profiling strategy for audio CPU issues — xruns, spikes, and buffer underruns. Use when the user reports CPU overload…
git:20260515.3a80b75 · audit A · 4 stars
audio-signal-flow-explainer SKILL.md skill
gourdja/sonic-skills · skills/audio-signal-flow-explainer/SKILL.md · Traces and documents signal paths, bus/aux architecture, and sidechain connections in audio systems. Surfaces hidden…
git:20260515.3a80b75 · audit A · 4 stars
clap-review SKILL.md skill
gourdja/sonic-skills · skills/clap-review/SKILL.md · Reviews CLAP plugin implementations for spec compliance, thread safety, and correctness. Use when the user asks to…
git:20260515.3a80b75 · audit A · 4 stars
dsp-algorithm-guide SKILL.md skill
gourdja/sonic-skills · skills/dsp-algorithm-guide/SKILL.md · Implementation guide for common DSP algorithms. Use when the user asks "implement a lowpass filter", "how do I write a…
git:20260515.3a80b75 · audit A · 4 stars
game-audio-guide SKILL.md skill
gourdja/sonic-skills · skills/game-audio-guide/SKILL.md · Guides implementation of custom Wwise or FMOD DSP plugins from scratch — effect, source, and mixer plugin types. Use…
git:20260515.3a80b75 · audit A · 4 stars
game-audio-review SKILL.md skill
gourdja/sonic-skills · skills/game-audio-review/SKILL.md · Reviews game audio code for Wwise/FMOD integration safety, custom DSP plugin correctness, and audio middleware usage…
git:20260515.3a80b75 · audit A · 4 stars
juce-guide SKILL.md skill
gourdja/sonic-skills · skills/juce-guide/SKILL.md · Step-by-step guide for building a JUCE audio plugin from scratch. Use when the user asks "how do I create a JUCE…
git:20260515.3a80b75 · audit A · 4 stars
juce-review SKILL.md skill
gourdja/sonic-skills · skills/juce-review/SKILL.md · Reviews JUCE audio plugin code for JUCE-specific correctness issues: thread safety, APVTS parameter patterns…
git:20260521.8b6dcfe · audit A · 4 stars

Every file in gourdja/sonic-skills

Browse by kind, by grade A, or by owner.