/howells-skills:mastrauditfrom howells-skills
Audits Mastra code for runtime failures that typecheck, covering agents, tools, workflows, storage, Studio, and MCP Apps. Use when writing, debugging, or auditing Mastra projects.
Ships in howells-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Mastra's APIs move fast and its expensive mistakes typecheck. Prevent them where the code makes them. The reference files describe recurring failure classes, not universal semantics: confirm against the installed version before flagging one.
An audit-only request permits source reading and safe local checks, not model calls, workflow runs, storage writes or deploys. Rank findings blocking, should fix or noted, each with file:line, consequence and fix.
node_modules/@mastra/<pkg>/package.json for the version and check every option you write against its .d.ts files and, where shipped, dist/docs/references/*.md. This covers the CLI and the storage and engine adapters too; a manifest range or catalog entry isn't the installed version. Fall back to published docs only when nothing is installed, and say so.modelSettings. Flat maxOutputTokens, temperature or topP are silently ignored; the most repeated mistake. Cap output on every user-facing or high-volume call. Legacy generate and stream methods differ, so check the signature.instructions replaces the agent's instructions; system adds to them. Policy added through instructions silently breaks tool routing.id. Use explicit verb_noun keys; shorthand leaks camelCase into tool selection.structuredOutput: { schema } and the native object. Never JSON.parse(response.text), strip fences or fill missing fields. Refusals, truncation and validation failures stay visible failures.execute bodies delegate in about a line. No HTTP, parsing, persistence or business rules in wrappers, and no tool calling another tool.server-only module sits in its runtime graph. Both pass typecheck and fail at boot.onError, finalizers or reconcilers are empty in the process that runs them.toolChoice and the tool map are the contract. Never branch on a value scanned out of model narration.Reproduce once, minimally, before blaming a provider, changing a dependency or adding a fallback: request size, effective settings, identity, source version and persisted state. Change one cause at a time. Before debugging a symptom below, read its file.
| Symptom | Look first at |
|---|---|
| Empty object, ignored tools, rejected schema | Native result, emitted provider schema, tools plus structured output: contracts |
| Slow steps, repeated searches, forgotten facts | Measured prompt, result and snapshot size; processor retention: execution |
| Lost progress, duplicate writes, stuck resume | Checkpoints, identity, idempotency, durable state: execution |
| Unit tests connect or write unexpectedly | Import-time initialisation, env precedence: evidence |
| Studio won't load, hangs bundling, loses a run | Origin, dependency graph, reload window: Studio and MCP |
| Fixed over HTTP, still broken in an MCP session | Stdio process start time: Studio and MCP |
| Inline HTML works, agent UI doesn't | Tool metadata, resource, result envelope, handshake: Studio and MCP |
| Scores pass, answer breaks the brief | Independent expectations, hard requirements: evidence |
Exercise the changed journey in its real host: a visible feature through its UI or MCP host, a durable one by reading its stored output and resuming it. Read the dev-server log for framework error ids even on a pass. Before writing tests or evals, read references/evidence.md.
Report the installed versions, what ran where, and what stayed unverified.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub howells/skills --plugin howells-skills33 skills in this plugin
/armatureTurn a web app that scrolls like a document into an app shell with fixed chrome and panes that scroll on their own. Use when headers, toolbars or filters scroll out of view. Not for visual polish (`chiaroscuro`) or small-screen layout (`reflow`)./ask-howellsRoute a situation to the skills in this collection and the command to type. Not for doing the work./blenderInspect, edit and render Blender scenes and films through the Blender MCP or headless CLI. Not for Remotion films (`rostrum`)./browseDrive the user's real Chromium browser (logins, tabs, extensions) via the browse MCP: logged-in/JS sites, forms, screenshots, recordings, HAR capture, and 2FA/payment handoffs. Not for QA (`fieldtest`) or native Mac apps (`computer-use`).