better-dependencies
/better-dependencies
Audytuje zależności projektu pod kątem potrzebności, zdrowia, deprecacji, luk bezpieczeństwa i ryzyka migracji.
- Autor
- NicolasYusim ↗
- Repozytorium
- better-codebase ↗
- Licencja
- MIT
- Ostatnia zmiana repozytorium
- 09.08.2026
Ocena i bezpieczeństwo
- Pliki w paczce
- 2
- Skrypty
- 0
- Komentarze HTML
- 0
- Adresy URL w SKILL.md
- 0
Brak sygnałów. Repozytorium zmienione 09.08.2026, bez odwołań do wycofanych modeli i API.
MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.
Co robi i kiedy
Audytuje zależności projektu pod kątem potrzebności, zdrowia, deprecacji, luk bezpieczeństwa i ryzyka migracji.
Oryginalny opis (EN)
Audit software dependencies for necessity, health, compatibility, deprecation, duplication, security advisories, lockfile integrity, and migration risk. Use when reviewing package manifests, outdated or abandoned libraries, deprecated APIs, overlapping packages, trivial dependencies, version conflicts, runtime support, or proposed upgrades. Verify current facts and breaking changes; never upgrade merely to reach the newest version.
Jak działa
- Own dependency decisions
- Review workflow
- Evidence requirements
- Implementation rules
- Standalone review output
- Guardrails
Podgląd SKILL.md
--- name: better-dependencies description: >- Audit software dependencies for necessity, health, compatibility, deprecation, duplication, security advisories, lockfile integrity, and migration risk. Use when reviewing package manifests, outdated or abandoned libraries, deprecated APIs, overlapping packages, trivial dependencies, version conflicts, runtime support, or proposed upgrades. Verify current facts and breaking changes; never upgrade merely to reach the newest version. --- # Improve dependency health without chasing versions Minimize supply-chain and maintenance burden while preserving compatibility. Treat an upgrade as a migration decision, not housekeeping. ## Own dependency decisions Own direct and transitive package necessity, version and runtime compatibility, health, deprecation, advisories, lockfiles, redundant capability, and migration planning. Do not recommend architectural replacement merely because another library is fashionable. Coordinate boundary changes with `better-architecture`, custom-code simplification with `better-simplicity`, and upgrade verification with `better-testing`. ## Review workflow ### 1. Inventory the dependency surface Inspect every relevant manifest and lockfile in scope. Identify: - direct, development, optional, peer, build, and platform dependencies; - supported language, runtime, framework, and operating-system versions; - workspaces, overrides, resolutions, patches, vendored code, and generated clients; - imported APIs and the actual capability each direct package supplies; - multiple lockfiles, unpinned sources, local paths, or manifest/lock mismatches; - deployment and library consumers that constrain upgrades. Use the ecosystem's native package manager for inspection. Do not rewrite a lockfile with a different tool. ### 2. Classify candidates Investigate: - published security advisories that affect the resolved version and usage; - deprecated packages or APIs with an official migration path; - unsupported versions relative to the project's runtime; - abandoned packages only when maintenance evidence and risk are credible; - packages that overlap substantially and increase bundle or maintenance cost; - direct dependencies used for one trivial, stable operation available in the standard library; - dependencies declared but not imported or required by tooling; - version conflicts, duplicated majors, invalid peer ranges, or incompatible transitive constraints; - lockfiles that are missing, stale, non-reproducible, or inconsistent with policy; - framework or runtime upgrades blocked by a dependency. An old publication date or available major version is not a finding by itself. ### 3. Verify current external facts When network access is available, prefer primary sources: - official package registry metadata; - maintainer release notes and migration guides; - official runtime or framework compatibility tables; - ecosystem or vendor security advisory databases; - upstream repository support policy. Record the date and source. Distinguish a published advisory from generic package-age concern. If current facts cannot be checked, mark them `Not verified` and do not assert abandonment, security exposure, compatibility, or the correct target version. ### 4. Evaluate the decision For every remove, replace, or upgrade candidate, assess: - verified benefit and urgency; - breaking changes across used APIs; - support for the project's current runtime and platforms; - maturity and support status of the target version; - transitive and peer-dependency effects; - lockfile and build-system impact; - test and rollout coverage; - migration effort, rollback path, and operational risk. Choose the smallest target that resolves the evidenced problem. The newest version is not automatically the right target. ### 5. Prefer native capability carefully Replace a package with the standard library only when the native facility is supported by every target runtime and preserves edge cases, security behavior, locale, parsing, error semantics, and performance required by current callers. ## Evidence requirements For each finding, provide: - manifest and lockfile locations; - resolved current version and actual usage; - verified source for advisory, deprecation, compatibility, or support claims; - recommended action and target, if any; - breaking changes relevant to this codebase; - migration and rollback path; - confidence, change risk, and verification commands. Do not report a package-manager audit total without establishing that the advisory affects the resolved dependency and relevant runtime surface. ## Implementation rules When asked to implement: - update one related dependency set at a time; - read official migration notes before editing code; - use the native package manager and commit the resulting lockfile changes; - keep unrelated transitive churn out when the package manager permits; - update code only for confirmed breaking changes; - run build, type, unit, integration, and package-specific checks as relevant; - do not suppress advisories or relax peer constraints merely to obtain a clean command. ## Standalone review output When invoked directly, return: 1. **Dependency inventory** — manifests, lockfiles, runtimes, tools, and external sources inspected. 2. **Findings** — current version, evidence, impact, recommended target or removal, migration cost, confidence, and change risk. 3. **Keep as-is** — dependencies or versions deliberately retained and why. 4. **Migration sequence** — grouped by compatibility and rollback boundary. 5. **Verification** — exact commands, external fact date, results, and gaps. If no dependency action has verified positive value, state `No actionable dependency findings.` ## Guardrails - Never recommend an upgrade merely because a newer version exists. - Never claim a vulnerability, abandonment, or compatibility fact without a current authoritative source. - Never jump to a major version without reading breaking changes and migration guidance. - Never replace a mature dependency with custom code without accounting for edge cases and ownership. - Never remove a seemingly unused dependency before checking build, generated, plugin, and runtime loading paths. - Never hand-edit generated lockfile entries. - Never combine unrelated major upgrades into one migration.
Pliki w paczce (2)
- SKILL.md 6 KB
- agents/openai.yaml 1 KB
Wersje
W bazie nie ma innych skilli o nazwie better-dependencies.
Migawka bazy z 13.11.2026 · wersja paczki 2933e7522532 (skrót SHA-256 całej paczki)
Pobrania w ostatnich 30 dniach: 0 · ranking
Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.
Podobne skille
- 100dependency-updater
Audytuje zależności projektu pod kątem nieaktualnych pakietów, podatności i zmian łamiących, analizuje package.json i lockfile, porównuje changelogi i tworzy uporządkowany plan aktualizacji. - 100deps-upgrade
Aktualizuje zależności z wykrywaniem zmian łamiących i planem migracji, w tym podbicia wskazanych pakietów oraz przegląd PR-ów Dependabota i Renovate. - 100maven-dependency-audit
Audytuje zależności Maven pod kątem przestarzałych wersji, luk bezpieczeństwa i konfliktów, na przykład przed wydaniem. - 100dependency-management
Zarządza bibliotekami zewnętrznymi, środowiskami uruchomieniowymi i zależnościami SaaS: rytm aktualizacji, reakcja na biuletyny bezpieczeństwa, wycofywane zależności, ocena nowych zależności i odblokowanie aktualizacji. - 90dev-dependency-upgrade
Pomaga przy aktualizacji zależności, poprawkach podatności, konfliktach wersji, plikach lockfile i ryzyku migracji. - 100audit-dependencies
Audytuje zależności pod kątem rozrostu, advisories bezpieczeństwa, ryzyka łańcucha dostaw i planowania aktualizacji, z pisemnym raportem opartym na grafie importów i sprawdzeniu miejsc użycia.