L
laravel:dependencies-trim-packages
About laravel:dependencies-trim-packages
A Laravel development skill for reviewing Composer dependencies and reducing unnecessary packages. It emphasizes checking the dependency tree, favoring built-in or first-party capabilities, and updating with version constraints and tests.
Key features
- 01Inspect dependencies with `composer show --tree`
- 02Remove unused packages
- 03Prefer built-in or first-party features
- 04Update with version constraints and tests
Use cases
- 01Review a Laravel project's Composer packages
- 02Remove a package no longer in use
- 03Choose whether to add a dependency
Install
Copy the command and run it in a terminal.
$
npx skills add https:/ / github.com/ jpcaparas/ superpowers-laravel --skill laravel:dependencies-trim-packagesAfter installing, type/laravel:dependencies-trim-packagesin Claude Code to confirm it loaded.
Details
From the project READMETrim Dependencies
- Audit packages:
composer show --treeand remove unused ones - Prefer first-party or built-in features before adding new packages
- Regularly update; pin major versions via constraints and test
composer remove vendor/package
Comments
Markdown supported