agentleFS
hi-donwihi-donwi/Donwi-Skills/skills/dependency-audit/SKILL.md

dependency-audit

Skill0 starsChanged 12 days agoMITView on GitHub

Audit, upgrade, or rationalize third-party dependencies for security, licensing, and supply-chain risk. Use when adding dependencies, fixing audit findings, or upgrading packages.

53 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use api-audit, container-audit and 8 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • gmanch94Skill

    api-audit

    Guides a structured API portfolio audit — from discovery through primary-source-verified inventory, shortcomings analysis, prioritized recommendations, executive summary, and options analysis. Enforces primary-source discipline, cross-file consistency, and advisor review gates. Use when auditing an API portfolio, evaluating a vendor's developer ecosystem, or producing defensible technical analysis of an API set.

    Also in 3 projects that use this

  • grichaSkill

    container-audit

    Audit local Docker images and running containers for hardening issues before deploy — privileged flags, root users, stale base images, missing resource limits. Use for pre-deploy container review.

    Also in 3 projects that use this

  • jamestorrevillasSkill

    threat-modeling

    Use this skill when identifying security threats, designing secure systems, thinking like an attacker, performing security assessments, or applying STRIDE threat modeling. Trigger on keywords: threat model, security design, attack surface, STRIDE, vulnerabilities by design, security review, who can attack this, what could go wrong security-wise.

    Also in 4 projects that use this

  • AnthropicSkill

    threat-model

    Claude Security plugin: create or update a repository's threat model, or check the findings of a report that this plugin wrote against how the system is deployed.

    Also in 4 projects that use this

  • conorluddySkill

    performance-profiling

    Instruments integration and performance analysis workflows for iOS apps. Use when profiling CPU usage, memory allocation, network activity, or energy consumption. Covers Time Profiler, Allocations, Leaks, Network instruments, and performance optimization strategies.

    Also in 3 projects that use this

  • renfei-designSkill

    a11y-audit

    Audit Figma designs for WCAG accessibility issues — color contrast, minimum font size, touch target sizing, and missing text alternatives. Use when asked to check accessibility, audit contrast ratios, find a11y issues, verify WCAG compliance, or review designs for accessibility problems. Scans nodes, analyzes offline, and annotates issues in Figma.

    Also in 3 projects that use this

The file

We split this skill into the rules it gives an agent

6 rules. 0 are common, 5 are distinctive, and 1 is very specific to this project.

  • 0

    Common

    Most of the 49 edited versions we read keep these.

  • 5

    Distinctive

    This author's own choices. Worth a look.

  • 1

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Check necessity: Prefer standard library or existing project packages when they satisfy the need.

    line 27
  2. Very specific:

    Plan upgrade path: Read changelog/release notes for breaking changes and migration steps.

    line 32
  3. Distinctive:

    Apply minimally: Update only required packages/lockfiles unless a broader upgrade is intentional.

    line 34
  4. Distinctive:

    Verify: Run relevant tests, build, typecheck, audit, and bundle/perf checks for user-facing packages.

    line 36
  5. Distinctive:

    Use the repository's pinned gate when available.

    line 42
  6. Distinctive:

    Verify artifact checksums and immutable references when upgrading executable tooling.

    line 53

“Common” is measured: kept by at least 6 in 10 of the 49 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

Dependency Audit

Overview

Dependencies are code you ship and operate. Add and upgrade them deliberately.

When to use

  • Adding a new production dependency.
  • Handling npm audit, pnpm audit, cargo audit, Dependabot, Snyk, OSV, or GitHub security alerts.
  • Upgrading packages, SDKs, lockfiles, or transitive dependency chains.
  • Reducing bundle size or supply-chain exposure.

Process

  1. Classify the dependency. Runtime, dev-only, optional, peer, transitive, build tool, SDK, or platform adapter.
  2. Check necessity. Prefer standard library or existing project packages when they satisfy the need.
  3. Assess risk. Security advisory, license, maintenance activity, download trust signals, install scripts, native code, network behavior, and package ownership.
  4. Plan upgrade path. Read changelog/release notes for breaking changes and migration steps; use source-driven-development for current docs.
  5. Apply minimally. Update only required packages/lockfiles unless a broader upgrade is intentional.
  6. Verify. Run relevant tests, build, typecheck, audit, and bundle/perf checks for user-facing packages.

Audit evidence and exceptions

  • Inventory manifests, lockfiles, build toolchains, CI actions, and executable skill resources. Record what the chosen scanner covers and what it omits.
  • Use the repository's pinned gate when available; inspect its configuration and installed CLI help instead of inventing flags. Record revision, command, scanner version, database freshness when exposed, exit status, and sanitized report location.
  • Separate a complete scan with no findings from findings, scanner failure, and incomplete coverage. A timeout or unreachable advisory database is not a pass.
  • Confirm advisory details and fixed versions from primary sources at audit time. Distinguish affected package presence from demonstrated reachability or exploitation. Development dependencies still execute in build and CI environments.
  • Scope exceptions to the advisory and affected artifact with a reason, responsible owner, expiry date, and compensating control. Apply the gate's supported schema; keep additional approval records in private context. Do not hide scanner failures.
  • Verify artifact checksums and immutable references when upgrading executable tooling. A matching checksum proves integrity against that checksum source, not trust.

Red flags

  • Adding a dependency for a trivial helper.
  • Ignoring lockfile changes.
  • Auto-upgrading major versions without reading release notes.
  • Treating dev dependencies as harmless in build/deploy environments.
  • Suppressing audit alerts without documenting exploitability and mitigation.

Verification

  • Reason for adding/upgrading/removing is documented.
  • Security/license/maintenance risk is acceptable or bounded.
  • Tests/build/audit checks relevant to the package passed.
  • Scope, failures, unscanned components, and expiring exceptions are explicit.

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.