agentleFS
ralbacralbac/copilot-customization-blueprint/.github/skills/dependency-audit/SKILL.md

dependency-audit

Skill0 starsChanged 22 days agoMITView on GitHub

Audits declared dependencies for abandoned packages, duplicate capabilities and version drift, producing a prioritised report. Use before a release, or when asked to review the dependency surface.

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 10 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

  • GitHubSkill

    accessibility-audit

    Audits actual components and routes against applicable WCAG 2.2 A/AA criteria using consumer-owned design-system evidence and repository tools. Use when asked for an accessibility audit, a11y check, keyboard or focus review, contrast check, or screen-reader verification.

    Also in 5 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

The file

We split this skill into the rules it gives an agent

4 rules. 0 are common, 4 are distinctive, and 0 are very specific to this project.

  • 0

    Common

    Most of the 49 edited versions we read keep these.

  • 4

    Distinctive

    This author's own choices. Worth a look.

  • 0

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  • could be automatic: a setting could enforce it
  1. Distinctive:

    Run the inventory script from this skill's directory:

    line 25
  2. Distinctive:

    Never edit a manifest or a lockfile as part of the audit.

    line 59
  3. Distinctive:

    Never run an install command.

    line 60
  4. Distinctive:

    If you cannot reach a registry to check release dates, say so and mark those rows

    line 61

“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

A dependency audit answers three questions, in this order:

  1. What do we depend on that nothing uses?
  2. What do we depend on that is no longer maintained?
  3. What do we depend on twice, for the same capability?

A vulnerability scan is a different job and does not replace this one. If the user asked for CVEs, say so and point them at their scanner.

Process

  1. Find manifests: package.json, pyproject.toml, go.mod, Cargo.toml, *.csproj, pom.xml. Audit only the manifests in the path the user named, or the whole repository if none was named.
  2. Run the inventory script from this skill's directory:

    ./scripts/inventory.sh <path-to-repo-root>

    It prints every declared dependency with its declared range, grouped by manifest. It makes no network calls and changes no files.

  3. For each dependency, gather evidence. Do not guess maintenance status from the name:
    • Last release date and the age of the most recent commit, from the registry or the project's own repository.
    • Whether a declared major version is behind the current major.
    • Whether the package declares itself deprecated or archived.
  4. Find duplicates by capability, not by name. Two HTTP clients, two date libraries and two test runners is three findings even if the packages differ.
  5. Find unused dependencies: a declared dependency with no import anywhere in the source tree. Say "no import found in the paths I searched" rather than "unused", because a build script or a transitive re-export may use it.

Report format

Group by action, not by manifest:

  • Remove — nothing imports it, or a duplicate already covers the capability.
  • Upgrade — maintained but behind by a major.
  • Replace — unmaintained, with a named successor and its cost.
  • Watch — maintained today, single maintainer, no release in twelve months.

Each line: the package, the version in use, the evidence, and the action. Evidence, not adjectives: "last release 2023-04, 41 open issues, no commits since" is a finding; "seems stale" is not.

Boundaries

  • Never edit a manifest or a lockfile as part of the audit. The report is the deliverable.
  • Never run an install command. It mutates the workspace and the audit is read-only.
  • If you cannot reach a registry to check release dates, say so and mark those rows unverified rather than inferring from the version number.

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.