history
Original:🇺🇸 English
Translated
Track dependency change history, find who added each dependency, and understand why packages were introduced. Use when investigating when a dependency was added or changed, who introduced it, or which commits modified dependencies.
30installs
Sourcegit-pkgs/skills
Added on
NPX Install
npx skill4agent add git-pkgs/skills historyTags
Translated version includes tags in frontmatterSKILL.md Content
View Translation Comparison →Dependency History
Understand how and why dependencies changed over time.
Commands
Show change history for a package (or all packages):
bash
git-pkgs history lodash
git-pkgs historyList commits that modified dependencies:
bash
git-pkgs logShow who added each dependency:
bash
git-pkgs blameShow why a dependency was added (commit, author, message):
bash
git-pkgs why lodash
git-pkgs why pkg:npm/lodashBinary search for a dependency-related change (like but only considers dependency commits):
git bisectbash
git-pkgs bisect start
git-pkgs bisect good v1.0.0
git-pkgs bisect bad HEADShow aggregate dependency statistics:
bash
git-pkgs statsWhen to use
- When investigating when or why a dependency was added
- When finding who to ask about a specific package
- When tracking down when a dependency change caused a problem
- When reviewing the overall dependency change velocity of a project