agentleFS
maru-audiomaru-audio/maru-skill/skills/create-module/SKILL.md

create-module

Skill1 starsChanged 5 days agoMITView on GitHub

Start a new Maru module (an instrument, effect, MIDI tool, sampler or sequencer) with a joint sound-and-interface brief, using the user's context and clarifying consequential gaps. Use when asked to create, start, scaffold or bootstrap a Maru instrument, effect, synth, plug-in or module project.

10 other projects use a version of this.

Adopted by

Most recently taken up by

The file

Show its rules and text

We split this skill into the rules it gives an agent

18 rules. 0 are common, 9 are distinctive, and 9 are very specific to this project.

  • 0

    Common

    Most of the 9 edited versions we read keep these.

  • 9

    Distinctive

    This author's own choices. Worth a look.

  • 9

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Start a module from a Maru starter with one joint sound-and-face brief, then prove the starter builds, renders and shows its face.

    line 8
  2. Very specific:

    Check the CLI: Use the project's installed CLI (npx --no-install maruaudio …) when present.

    line 15
  3. Distinctive:

    Ask only the relevant parts.

    line 33
  4. Distinctive:

    Do not require algorithm or architecture choices to get started.

    line 37
  5. Distinctive:

    Default to control contract -> working PluginUI React face -> DSP integration -> end-to-end proof.

    line 43
  6. Distinctive:

    Resolve the destination from context: Use the requested account, folder or current module workspace.

    line 47
  7. Distinctive:

    Choose a supported starter for the requested behavior: Use the stated audio/MIDI inputs and outputs to choose the kind.

    line 53
  8. Distinctive:

    Keep one package manager and lockfile, and record the installed SDK version.

    line 109
  9. Distinctive:

    Verify the actual built face and module identity at that URL before extended design, account setup or native discovery.

    line 121
  10. Very specific:

    Run npx --no-install maruaudio module check .

    line 126
  11. Very specific:

    Build the UI checkpoint: Follow the face guides for the wireframe and shared component map.

    line 132
  12. Very specific:

    Use only kinds, template keys and references that npx maruaudio init --help or maru_list_studio_templates returned.

    line 163
  13. Very specific:

    Never invent, request or edit a module ID.

    line 170
  14. Very specific:

    Start the workbench silently: npm run dev -- --silent (or npx --no-install maruaudio dev --silent).

    line 175
  15. Distinctive:

    Run these on the new project and read each result.

    line 181
  16. Distinctive:

    Remove captions that explain the face (such as "predicted, not measured" or axis notes): labels, values and units only.

    line 195
  17. Very specific:

    Before that reply, start the module's CHANGELOG.md with this session's entry, as maru-agent describes, including its token and cost figures …

    line 221
  18. Very specific:

    If part of this workflow was harder than Maru should make it (a missing command or tool, an awkward step, a starter you had to work …

    line 227

“Common” is measured: kept by at least 6 in 10 of the 9 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Create a Maru module

Start a module from a Maru starter with one joint sound-and-face brief, then prove the starter builds, renders and shows its face. When the request includes DSP and UI, carry both through implementation and verification with maru-agent; scaffolding or a state-only face does not finish that request.

Steps

  1. Check the CLI. Use the project's installed CLI (npx --no-install maruaudio …) when present; run npx --no-install maruaudio --version, then npx --no-install maruaudio doctor. Never run a bare npx maru or npm exec -- maru: they can download and run an unrelated npm package named maru. If missing, use npx --yes maruaudio@latest for authorized setup; a global install is optional. Match prerequisites to the requested operation. Creating, previewing, checking and publishing a local module needs a coding agent with a shell. A hosted connector supplies documentation and account access; it cannot start the local workbench.
  2. Plan sound and face together. npx --no-install maruaudio guide read project-planning face-from-reference ui-kit-faces (MCP: maru_read_guide with those three names). Reuse a supplied brief and existing decisions; ask only about missing choices that change the result. For an open-ended idea, invite a short sound and design choice before committing to either: the musical character and response, then the visual direction and most important player gesture. Use plain language and concrete alternatives, recommend a direction, and offer "Choose for me". For example: "Warm and subtle or crunchy and obvious? A studio console or a playful graphic face? I can choose a coherent pair." Ask only the relevant parts; a detailed brief, a small fix or "use your judgment" needs no new interview. If the user delegates, choose, state the assumptions briefly and proceed. While optional preferences are unanswered, continue the reversible starter/preview work; do not make them a setup gate. Do not require algorithm or architecture choices to get started; respect a technical direction the user supplies. Record real DSP/control behavior, player tasks, art direction and shared components in one brief; save it in DEVELOPMENT.md once the project exists. Keep planning brief enough to open the starter before extended design. Default to control contract -> working PluginUI React face -> DSP integration -> end-to-end proof. A concrete sound feasibility risk may need a small early probe. This sequence requires no extra approval within the authorized task.
  3. Resolve the destination from context. Use the requested account, folder or current module workspace. An empty project folder or local coding workspace establishes a local destination: use it or a suitable project subfolder without asking Studio versus folder again. Ask only when the available context genuinely leaves the destination unresolved.
  4. Choose a supported starter for the requested behavior. Use the stated audio/MIDI inputs and outputs to choose the kind. Ask when the musical role or ports are ambiguous; explain the consequence in plain language. Do not ask the user to choose Graph versus Processor as an implementation detail.

    In a folder, npx maruaudio init --kind offers these starters (npx maruaudio init --help lists them for the installed version):

    KindWhat it starts
    processor-effectAudio in, audio out, with its own DSP, a custom face and factory presets
    processor-instrumentMIDI in, audio out: a polyphonic synth with its own DSP
    effectAudio in, audio out, wired from existing Maru DSP nodes (a Graph)
    instrumentMIDI in, audio out, wired from existing Maru DSP nodes (a Graph)
    --face-first --params a,b,cA passthrough effect with these parameters bound to a starter face, for designing the face first
    --from <reference>A copy of an official or remixable community module, such as @maru/osc-mini
    firmware --device <id>A source-only firmware listing for a device in Maru's hardware catalog

    A MIDI tool (MIDI in, MIDI out, no audio) and a generator (audio out with no input) have no starter of their own. Say so, then offer to start from processor-instrument or processor-effect and change its facade as npx --no-install maruaudio guide read midi-and-event-modules describes.

    In the user's account, call maru_list_studio_templates with present: true (optionally with kind: effect, instrument, sampler or sequencer). Reuse a selected template; ask if several materially different choices fit the brief.

  5. Record the intended formats. Reuse formats already specified. A request for browser creation, preview or publication without native delivery is a browser scope; do not reopen it as a native-format interview. Ask only about consequential unresolved delivery needs while continuing independent design work; a local prototype can proceed with browser verification and native formats recorded as undecided. Every audio module runs in the browser. Native formats are standalone, vst3, clap, au (macOS only) and aax (opt-in; the user supplies the AAX SDK). The default native set is VST3, CLAP, AU and standalone. Do not promise all of them without a stated need and qualification. For a local project, record a choice other than the default after the project exists, in .maru/config.json as {"schemaVersion": 1, "build": {"nativeFormats": ["vst3", "clap"]}} with the user's formats, and check it with npx --no-install maruaudio module paths .. Local native builds need Maru's native toolkit (npx --no-install maruaudio doctor shows whether it is installed). For hosted output, discover actual export and publication capabilities with build-preview-export; browser publication does not establish native builds, signing or delivery.
  6. Create within the authorized scope. State the destination and kind, then proceed when the request already authorizes creation. Ask only for unresolved consequential choices. Creation does not authorize publishing.
    • In a folder: npx maruaudio init <dir> --kind <kind> --local (or the --face-first, --from or firmware flags from the table, with --local). A request for a working local project includes installing its dependencies with --install. In a README-only clone, save the original brief before using --force with the same local init command targeting .; alternatively scaffold in a staging directory and merge without losing existing work. Follow the printed next steps and read the generated AGENTS.md and README.md. Keep one package manager and lockfile, and record the installed SDK version.
    • In the account: maru_create_studio_project with the exact templateKey the user chose, a short title and the idea as the brief. Give the user the Studio link from the result.
  7. Open the starter and check its baseline. In a folder, start the generated dev script silently and keep it running for the user's preview. The npm SDK includes the workbench/player and hot reload; use them before considering a custom runner. npx --no-install maruaudio dev opens the workbench app (Preview, Parameters, Source, Presets, Checks, Release; 360 px wide beside a chat works); npx --no-install maruaudio dev --simple serves the lighter single-page workbench simple. Confirm readiness and give the URL promptly. A native toolkit or Maru source checkout is not required for the first JS preview. Verify the actual built face and module identity at that URL before extended design, account setup or native discovery. Describe starter or passthrough sound as such. If the port is occupied, use a free port accepted by the installed command; do not stop another server or assume a source-only flag is released. Run npx --no-install maruaudio module check . --fast and inspect its starting face; retain the result to distinguish setup failures. Run full Verify on the finished module. Save the joint brief from step 2 in the project's Markdown notes, then follow the UI checkpoint and integration below with maru-agent or add-parameter. A starter check proves only the starter.
  8. Build the UI checkpoint. Follow the face guides for the wireframe and shared component map. Use the provisional schema and host-controlled preview values in the existing workbench; --face-first suits a local UI study. Inspect a target image before React: supplied reference, existing PluginUI capture or generated concept. For a new open brief without a concrete visual target, establish that concept first. Save the image/reference and its defining composition, typography and material. Inspect the real TSX/CSS parts that express it; palette swaps alone are not distinct directions. Keep the inventory honest and move explanations into help/docs. Build and capture the actual React face from PluginUI primitives, exercise edits, states, presets and popups, and inspect all declared sizes before deep DSP. Keep audio code out of the face. Record temporary sound and state-only parameters in project notes, without explanatory panel clutter.
  9. Integrate DSP through the same contract. Implement the requested sound, verify units/ranges/defaults/tapers, signal/control flow, choices/actions/state, presets and available host capabilities. Name real observable display data. Reconcile any necessary contract changes with the UI; preserve its chosen composition and shared behavior. Rerun UX checks after wiring, then measure actual sound. State-only controls and starter sound do not finish a combined request. Observe a face edit and a DSP edit activating through the retained workbench; a save or rebuild alone does not prove hot reload. Record the working preview and resume checkpoint in DEVELOPMENT.md. Judge visual quality separately from DSP evidence and listening.

Rules

  • Reuse the user's answers and established workspace context. Ask only for missing decisions that change the sound, player experience, musical role, destination or distribution. Save chosen defaults with the brief so a resumed agent does not ask again. Aesthetic defaults do not grant publication or generation permission.
  • Use only kinds, template keys and references that npx maruaudio init --help or maru_list_studio_templates returned. Never invent a template key, a project or a link.
  • Scaffold with npx maruaudio init; do not assemble a module project by hand.
  • Pass --local: in a terminal, npx maruaudio init otherwise offers to publish the new module to the user's profile. Publishing needs the user's explicit request.
  • Never invent, request or edit a module ID. Creation and copying generate its permanent identity; publishing handles older projects automatically. Preserve the same identity for retries and updates and report the final @handle/slug and URL. Never hand-edit build/, dist/ or *.generated.ts.
  • Start the workbench silently: npm run dev -- --silent (or npx --no-install maruaudio dev --silent). Agent sessions do not play audio aloud; the user listens.

Verify

Run these on the new project and read each result. A check that could not run is a gap, not a pass.

  1. npx --no-install maruaudio module check . --fast while setting up, then the full npx --no-install maruaudio module check . before you call the project ready.
  2. Offline render: for an effect, npx --no-install maruaudio module eval --suite levels --max-seconds 2; for a Graph module, npx --no-install maruaudio module eval; for any module, npx --no-install maruaudio module preview --check renders its demo plans and checks the audio. Report the measured numbers.
  3. npx --no-install maruaudio module screenshot . renders the built face at its declared size and refuses a blank, erroring or clipped face. Show the user the image. Review hierarchy, typography, grouping and interaction semantics against the saved brief; check minimum and maximum sizes too, and keep the same composition at each rather than reflowing groups into a different layout. Remove captions that explain the face (such as "predicted, not measured" or axis notes): labels, values and units only. Exercise parameter edits and preset recall through the real workbench. Report mechanical results separately from visual judgment and listening.
  4. For each native format the user chose, npx --no-install maruaudio module verify . (or npx --no-install maruaudio plugin build . --format <format>) when the native toolchain is present. If npx --no-install maruaudio module doctor reports it missing, say which formats were not built.

The same checks run over MCP on the local maru-local server as maru_module_check, maru_module_eval, maru_module_screenshot and maru_module_verify. The hosted connector cannot run them on a Studio project; say that its preview in Studio is where the user plays it.

The user's listening is a separate step. Automated checks establish only the behavior and targets they exercised; they do not approve its sound.

Report

End with: where the project is (folder path or Studio link), the kind and formats the user chose, files created, each check from Verify with its result or the reason it did not run, the retained live preview URL and its observed state, and the next step. When sharing is also requested, follow maru-agent's publication guidance and report the returned page and exact publication identities separately from local verification.

Before that reply, start the module's CHANGELOG.md with this session's entry, as maru-agent describes, including its token and cost figures or not reported.

Maru feedback

If part of this workflow was harder than Maru should make it (a missing command or tool, an awkward step, a starter you had to work around), end your reply with the line MARU FEEDBACK: <version>, where <version> is what npx --no-install maruaudio --version prints (with only the hosted connector, write connector and the server version your MCP client shows). Follow it with a short prompt that could be used to improve Maru: what you were doing, what was awkward, and the command, tool or API you wished for. Offer to file it at https://github.com/maru-audio/maru-skill/issues or send it through https://maru.audio/contact; file nothing without the user's yes.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.