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.

rulescli-idempotent-resume.md

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

Make Retries Idempotent and Resumable

Agents retry when a command times out or returns ambiguous output. A mutating long-running command must detect an existing operation for the same stable target or accept an idempotency key, then return that operation's id and state. Creating a second operation should require an explicit fresh flag. A retry that silently duplicates work turns a recoverable timeout into conflicting state and double cost.

Incorrect (every retry creates another operation):

const job = await createJob({ issue: flags.issue });
console.log(job.id);

Correct (return the existing operation unless fresh work is explicit):

const key = `issue:${flags.issue.toLowerCase()}`;
const existing = await findActiveJob(key);
if (existing && !flags.fresh) {
  printJson({ id: existing.id, resumed: true, state: existing.state });
  return;
}
const job = await createJob({ key, issue: flags.issue });
printJson({ id: job.id, resumed: false, state: job.state });

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