dx-audit
Audits libraries, CLIs, and SDKs using 38 rules for public contracts, package exports, piped output, errors, and configuration.
Skill by mblode
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/mblode-dx-audit
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: security
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/dx-audit
What's inside
- Skill name
dx-audit- Description
- Audits libraries, CLIs, and SDKs using 38 rules for public contracts, package exports, piped output, errors, and configuration. Use when asked to "audit my CLI", "review my SDK", or diagnose package type resolution.
- License
- MIT
- Instructions
- 143 lines in SKILL.md · view on GitHub
Files (44)
- SKILL.md
- evals.json · evals/
- evaluation-scenarios.md · evals/
- standards-map.md · references/
- _sections.md · rules/
- _template.md · rules/
- api-argument-order.md · rules/
- api-async-consistency.md · rules/
- api-naming-consistency.md · rules/
- api-no-hidden-side-effects.md · rules/
- api-predictable-return-shape.md · rules/
- api-sensible-defaults.md · rules/
- api-stable-contract.md · rules/
- cli-agent-input-hardening.md · rules/
- cli-delta-polling.md · rules/
- cli-exit-codes.md · rules/
- cli-flag-naming.md · rules/
- cli-help-and-version.md · rules/
- cli-idempotent-resume.md · rules/
- cli-order-independent-flags.md · rules/
- cli-pipes-tty-and-json.md · rules/
- cli-responsive-and-progress.md · rules/
- cli-safe-mutations.md · rules/
- cli-schema-introspection.md · rules/
- cli-structured-io.md · rules/
- cli-suggest-corrections.md · rules/
- config-optional-with-defaults.md · rules/
- config-validate-and-discover.md · rules/
- config-xdg-and-precedence.md · rules/
- err-fail-fast-validation.md · rules/
- err-name-cause-and-value.md · rules/
- err-no-raw-stack-as-message.md · rules/
- err-stable-error-codes.md · rules/
- err-suggest-the-fix.md · rules/
- onboard-exports-resolve-typed.md · rules/
- onboard-minimal-install.md · rules/
- onboard-no-required-env.md · rules/
- onboard-tree-shakeable.md · rules/
- onboard-zero-config-quickstart.md · rules/
- types-discriminated-unions.md · rules/
- types-helpful-generics.md · rules/
- types-no-leaked-any.md · rules/
- types-prefer-inference.md · rules/
- types-public-jsdoc.md · rules/
SKILL.md (first lines)
# DX Audit Audit or improve what developers import, run, configure, or read when something fails. - **IS:** a bounded review of public APIs, developer-facing errors, CLI commands, exported types, install and first-run behavior, and config, with fixes only when asked. - **IS NOT:** a repo-wide quality sweep (`tidy`), end-user UI (`ui-design` Audit mode), agent trust review (`ax-audit`), public site or docs agent scores (`agent-ready`), docs prose or a README (`ghostwriter`), repository architecture (`codebase-architecture`), or building a new CLI (`scaffold-cli`). ## Modes Pick the narrowest mode the request supports, and write a one-line scope receipt before reading code: | Mode | When | Output | |------|------|--------| | Targeted (default) | a named or changed public surface | findings report, read-only | | Fix | the user says fix, improve, simplify, or implement | localized edits inside the receipt, then verification | | Exhaustive | the user explicitly asks for the whole package or every public surface | every material finding, partitioned by surface | ```text Scope: <mode>; surfaces: <commands/exports/config>; prefixes: <err-, cli->; excludes: <UI, docs, architecture, private internals> ``` "DX", "gold standard", and "review holistically" do not by themselves widen a targeted audit into exhaustive. When several skills are invoked together, this one owns only the surfaces above. ## Audit progress ```text DX audit progress: - [ ] 1. Lock the public surface and write the scope receipt - [ ] 2. Gather local evidence and run the safe probes - [ ] 3. Select prefixes, then open candidate rules - [ ] 4. Rank root causes - [ ] 5. Report, or fix when asked - [ ] 6. Verify on the same scope ``` ### 1. Lock the public surface Start from `git diff` against the normal base and keep only changed files reachable from a public entry point: `package.json` `exports` or `bin`, a command registry, an exported type, a documented config loader, or an observed error path. With no useful diff, use the command, export, error, or config the user named. A private helper enters scope only through a public caller. ### 2. Gather evidence, then stop 1. Local instructions, the manifest, and the diff or named entry point. 2. Direct public dependencies and the nearest tests that pin behavior. 3. Safe probes against the local build: - CLI: `--help`, `--version`, one success path, one invalid-input path, and the same command with stdout piped (`| cat`) to see non-TTY behavior. Never trigger a real mutation to test DX; use `--dry-run` where it exists. - Package: `pnpm dlx publint` and `pnpm dlx @arethetypeswrong/cli --pack .` after a build. These inspect packaging, but packing may invoke lifecycle scripts. Inspect those scripts first or use a disposable checkout before calling `--pack`. 4. The prior release contract, only when the diff changes a public export, signature, or return shape. Stop when the behavior is proven, disproven, private, or out of scope. External research is for an explicit comparison request or a named uncertainty local evidence cannot resolve; `references/standards-map.md` carries the standards this skill already leans on. ### 3. Dispatch rules candidate-first Read `rules/_sections.md`, then select prefixes by surface: | Priority | Prefix | Category | Default impact | Rules | |----------|--------|----------|----------------|-------| | 1 | `api-` | Public API and SDK | CRITICAL | 7 | | 2 | `err-` | Developer-facing errors | CRITICAL | 5 | | 3 | `cli-` | CLI UX for humans and agents | HIGH | 13 | | 4 | `types-` | Exported type ergonomics | HIGH | 5 | | 5 | `onboard-` | Install and first run | HIGH | 5 | | 6 | `config-` | Config ergonomics | MEDIUM | 3 | | Surface | Prefixes | |---------|----------| | Public API entry point | `api-`, `types-`, reached `err-` paths | | CLI command | `cli-`, reached `err-` paths | | Exported declarations | `types-`, plus `api-` when behavior changed | | Install, `package.json`, first run | `onboard-` | | Config loader | `config-`, reached `err-` paths | Applicability outranks priority: a CLI-only audit never loads `api-` because API rules rank higher. Targeted mode: list the filenames for the selected prefixes (the names are the checklist), look for concrete evidence, then open only the rule files a finding needs. Exhaustive mode: read every rule in the selected prefixes. Capability gates, applied inside a selected prefix: - Structured JSON input, schema introspection, and compact polling snapshots apply when automation or agent use is promised, requested, or already supported. - Dry-run and confirmation apply to destructive, expensive, or hard-to-reverse mutations. - Progress and resume apply to operations that can block, outlive one command, or be retried after ambiguous output. - `stdin` applies when the command semantically accepts file or stream data. - Stable-contract comparison applies only when a public contract changed. ### 4. Rank root causes, not instances - Order CRITICAL, HIGH, MEDIUM by each cited rule's frontmatter `impact`, copied exactly. Impact is the rule's declared consequence, not a confidence score: exit 0 on failure in one subcommand is still HIGH, because the CI gate it defeats is the same. Open the rule file before citing it, since an id cited from memory drifts from the file, and drop the citation if no such file exists. - Merge repeated instances of one root cause into one finding with up to three representative locations. Missing JSDoc, error codes, or `--json` across a surface is one finding, not one per symbol. - A missing feature with no current consumer path is not a defect. - Targeted mode: every CRITICAL finding, then the highest-value remainder up to five total; summarize the rest by category. ### 5. Report or fix Audit requests are read-only. A fix request authorizes localized changes inside the receipt, not a redesign of adjacent docs, UI, or architecture. ```markdown ## DX Audit Scope: `tool status` CLI; `err-`, `cli-`; 4 files inspected. ### Findings - [HIGH] `cli-idempotent-resume` at `src/start.ts:42`: retrying the same target creates a second job. Fix: return the existing job id and state unless the caller passes `--fresh`. ### Deferred - 2 lower-impact config candidates were outside the locked CLI scope. ``` List only files with findings; a clean surface gets one pass line naming the surfaces and rule files checked. In fix mode, replace `Deferred` with `Changed` and `Verification` (the exact commands or probes that passed). Length follows findings, not the template. ### 6. Verify on the same scope Re-open every touched or cited location, rerun the same probes and focused project checks, and reapply the same candidate rules. Match the evidence to the claim: a clean build does not prove CLI behavior, a runtime probe does not prove exported types, and only `attw` or a consumer-style `tsc` import proves a types resolution. ## Reference files | File | Read when | |------|-----------| | `rules/_sections.md` | Every audit, for prefix applicability and priority | | `rules/<prefix>-*.md` | A candidate has evidence, or exhaustive mode |
From mblode/agent-skills, MIT.
More from mblode/agent-skills
- 0.791score
agent-ready
mblode
Implements agent-readiness on public sites and docs from Mintlify Agent Score, AFDocs, Is Agentic, Is It Agent Ready, or url-discovery-bench reports, or from…
SkillAFreshness: A★ 162Claude Code +9 - 0.791score
agent-skills-creator
mblode
Creates and improves portable Agent Skills with a validator, routing scenarios, and evidence-based keep, cut, merge, or retire decisions.
SkillAFreshness: A★ 162Claude Code +9 - 0.791score
agents-md
mblode
Audits and edits agent instruction files, verifies repository commands, and migrates repositories to AGENTS.md as the single shared source.
SkillAFreshness: A★ 162Claude Code +9 - 0.791score
autoship
mblode
Runs a changesets npm release through the version PR, CI publish, and registry verification.
SkillAFreshness: A★ 162Claude Code +9 - 0.791score
ax-audit
mblode
Audits agentic products for tool parity, authority, approval payloads, recovery, and trust using 24 rules and a ship verdict.
SkillAFreshness: A★ 162Claude Code +9 - 0.791score
chat-history
mblode
Recovers decisions, previous fixes, research, and what followed a prompt from past AI conversations, with source evidence.
SkillAFreshness: A★ 162Claude Code +9 - 0.791score
ci-speedup
mblode
Speeds up CI and the merge path: finds where changes wait between push and deploy, then fixes the critical path, check placement, merge queue or post-merge…
SkillAFreshness: A★ 162Claude Code +9 - 0.791score
codebase-architecture
mblode
Designs module interfaces, deepens shallow modules, and installs enforceable repository guardrails and agent wayfinding.
SkillAFreshness: A★ 162Claude Code +9 - 0.791score
eli5
mblode
Picks the form that explains best and applies the house explanation style: plain prose, controlled English modelled on ASD-STE100, a diagram, an interactive…
SkillAFreshness: A★ 162Claude Code +9 - 0.791score
ghostwriter
mblode
Writes, rewrites, and critiques messages, posts, review comments, tickets, PRDs, design docs, talk scripts, docs, READMEs, and copy as the user or their…
SkillAFreshness: A★ 162Claude Code +9 - 0.791score
multi-tenant-architecture
mblode
Designs tenant isolation, hostname routing, custom-domain lifecycle, and plan limits on Cloudflare or Vercel.
SkillAFreshness: A★ 162Claude Code +9 - 0.791score
planning
mblode
Creates and reviews executable implementation plans grounded in repository evidence, with vertical slices, explicit decisions, and verification criteria.
SkillAFreshness: A★ 162Claude Code +9
Signals
- Stars
- 162
- Forks
- 14
- Open issues
- 0
- Last commit (this folder)
- Oct 22, 2026 (5 days ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/mblode/agent-skills
- Website
- blode.co/agent-skills
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from mblode
- 0.791score
agent-ready
mblode
Implements agent-readiness on public sites and docs from Mintlify Agent Score, AFDocs, Is Agentic, Is It Agent Ready, or url-discovery-bench reports, or from…
SkillAFreshness: A★ 162Claude Code +9 - 0.791score
agent-skills-creator
mblode
Creates and improves portable Agent Skills with a validator, routing scenarios, and evidence-based keep, cut, merge, or retire decisions.
SkillAFreshness: A★ 162Claude Code +9 - 0.791score
agents-md
mblode
Audits and edits agent instruction files, verifies repository commands, and migrates repositories to AGENTS.md as the single shared source.
SkillAFreshness: A★ 162Claude Code +9 - 0.791score
autoship
mblode
Runs a changesets npm release through the version PR, CI publish, and registry verification.
SkillAFreshness: A★ 162Claude Code +9 - 0.791score
ax-audit
mblode
Audits agentic products for tool parity, authority, approval payloads, recovery, and trust using 24 rules and a ship verdict.
SkillAFreshness: A★ 162Claude Code +9 - 0.791score
chat-history
mblode
Recovers decisions, previous fixes, research, and what followed a prompt from past AI conversations, with source evidence.
SkillAFreshness: A★ 162Claude Code +9
Cite this page
dx-audit skill. Agent Mart. https://agentmart.dev/skills/mblode-dx-audit (last updated 2026-10-24)