All skills
mblode avatar

/dx-audit

@b690e67
by Matthew Blodemblode/agent-skills134 stars
12

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. For public site or docs agent scores use agent-ready; for agentic product trust use ax-audit; for docs prose use ghostwriter.

Use this Skill: https://skilld.dev/gh/mblode/agent-skills/dx-audit

This session only. Nothing lands on disk.

ruleserr-no-raw-stack-as-message.md

≈255 tokens on demand. Your agent reads this file only when SKILL.md points to it.

Never Surface a Raw Stack as the Primary Message

A wall of stack frames or a leaked internal exception (TypeError: undefined is not a function) tells the developer nothing about their mistake. Catch low-level failures, wrap them in a domain error with a human summary, and keep the original as cause.

Incorrect (raw internal error reaches the user as the headline):

const data = JSON.parse(raw); // throws SyntaxError: Unexpected token < in JSON
// user sees the bare SyntaxError and a stack, with no context

Correct (domain summary first, original preserved as cause):

try {
  return JSON.parse(raw);
} catch (cause) {
  throw new Error(
    `Failed to parse response from ${url} as JSON. ` +
      `The server may have returned an HTML error page.`,
    { cause },
  );
}

Source: SKILL.md on GitHub

No alerts9d3 checks · Risk SAFE
  • Gen Agent Trust Hub9d

    The dx-audit skill is a developer experience auditing tool designed to review public APIs, CLIs, and SDKs. It demonstrates a strong security posture by including explicit instructions to validate inputs against path traversal and shell injection, and by warning the agent to inspect potentially malicious lifecycle scripts in audited repositories before running packaging probes. All external tools mentioned are industry-standard utilities.

  • Socket9d

    No alerts

  • Snyk9d

    Risk: LOW · No issues

Signed by skilld at b690e67. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 2 days ago.

Activeupdated last week

README badge

README badge for mblode/agent-skills/dx-audit