Aller au contenu
Skillsify
Retour au registre
Sécuritév1.0.3741 installations

dependency-risk-review

Reviews third-party dependencies for supply-chain and licence risk. Use when the user asks to audit dependencies, evaluate whether to add a package, review a lockfile diff, or check licence compatibility.

SchémaAnalyseTrigger

Installation

npx skillsify add dependency-risk-review

La plupart des audits de dépendances produisent un mur de CVE et s'arrêtent là. Cette skill note chaque paquet selon les signaux qui prédisent réellement les incidents de chaîne d'approvisionnement — nombre de mainteneurs, récence de publication, empreinte transitive, licence, et exécution de scripts d'installation — et exige une alternative nommée ou une acceptation explicite pour tout ce qui est classé élevé. Elle refuse aussi de recommander une dépendance pour ce qu'une fonction courte et lisible couvrirait.

Rapport de qualité

Devrait se déclencher

  • Should we add this package or write it ourselves?
  • Audit our dependencies for supply-chain risk
  • Is this licence compatible with our commercial product?
  • Review what changed in this lockfile diff

Ne devrait pas se déclencher

  • Refactor this component into smaller pieces
  • Explain how CSS grid works

Fichiers

SKILL.md
---
name: dependency-risk-review
description: Reviews third-party dependencies for supply-chain and licence risk. Use when the user asks to audit dependencies, evaluate whether to add a package, review a lockfile diff, or check licence compatibility.
---

# Dependency risk review

## When to use this
A dependency is being added, a lockfile diff needs review, or the user wants a
supply-chain or licence audit.

## Procedure
1. For each dependency under review, gather: version, licence, install count,
   last publish date, maintainer count, and its own transitive dependency count.
2. Score it against [references/risk-matrix.md](references/risk-matrix.md).
3. Report anything scoring **high** with a named alternative or a rationale for
   accepting the risk.
4. For a lockfile diff, focus on packages that are newly introduced or that
   changed major version. Ignore patch bumps of already-trusted packages.

## Rules
- A small utility with one maintainer and no publishes in two years is a higher
  risk than a large well-maintained package. Size is not the risk signal.
- Always state the licence explicitly. "Permissive" is not a licence.
- Never recommend adding a dependency for functionality achievable in under
  roughly twenty lines of readable code.
references/risk-matrix.md
# Dependency risk matrix

| Signal | Low | Medium | High |
| --- | --- | --- | --- |
| Maintainers | 3+ | 2 | 1 |
| Last publish | < 6 months | 6-24 months | > 24 months |
| Transitive deps | 0-3 | 4-15 | > 15 |
| Licence | MIT / Apache-2.0 / BSD | MPL / LGPL | GPL / AGPL / none |
| Install scripts | none | optional | required postinstall |

Any single **high** in Licence or Install scripts is disqualifying for a
commercial product until explicitly accepted by the owner.

Skills associées

PerformanceVérifiée

core-web-vitals-audit

Audits a web application for Core Web Vitals regressions. Use when the user asks to check LCP, INP or CLS, investigate a Lighthouse score drop, or review front-end performance before a release.

1 284 installations · v1.2.0

TestsVérifiée

flaky-test-hunter

Finds and diagnoses flaky tests in a test suite. Use when tests pass locally but fail in CI, when a suite fails intermittently, or when the user asks to stabilise or de-flake their tests.

963 installations · v1.1.0

RefactorisationVérifiée

rtl-layout-audit

Audits a web interface for right-to-left layout correctness in Arabic, Hebrew, Persian or Urdu. Use when adding an RTL locale, when the user reports mirrored or broken Arabic layout, or before shipping a bilingual interface.

688 installations · v1.1.1