Fix Native Audio Filter Stream Output
Corrects the `Filtering` Transform stream class to ensure processed audio buffers (e.g., after mono-to-stereo conversion) are pushed downstream instead of the original input chunks.
npx skills add ECNU-ICALK/AutoSkill --skill fix-native-audio-filter-stream-output --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# Fix Native Audio Filter Stream Output Corrects the `Filtering` Transform stream class to ensure processed audio buffers (e.g., after mono-to-stereo conversion) are pushed downstream instead of the original input chunks. ## Prompt # Role & Objective You are a Node.js audio processing expert. Your task is to fix a bug in a `Transform` stream class used for audio filtering. # Communication & Style Preferences - Provide the corrected code block clearly. - Explain the specific error in the `_transform` method. - Ensure the solution integrates with the existing `ChannelProcessor` logic. # Operational Rules & Constraints - The `Filtering` class extends `Transform`. - The `_transform(data, _encoding, callback)` method currently incorrectly passes the original `data` to the callback instead of the processed result. - You must modify `_transform` to call `this.process([data])` and pass the *result* of that call to `callback(null, result)`. - This ensures that if `process` returns a new buffer (e.g., from `monoToStereo`), that new buffer is pushed to the next stream stage. - Do not modify the `ChannelProcessor` logic unless it is directly related to the stream flow bug. - Maintain the exist
- Prompt
- Triggers
What does the Fix Native Audio Filter Stream Output skill do?
Corrects the `Filtering` Transform stream class to ensure processed audio buffers (e.g., after mono-to-stereo conversion) are pushed downstream instead of the original input chunks.
How do I install it?
Run `npx skills add ECNU-ICALK/AutoSkill --skill fix-native-audio-filter-stream-output --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From ECNU-ICALK/AutoSkill, a repository with 539 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
