@@ -16,6 +16,8 @@ across Fast Forward libraries.
1616
1717- Aggregates refactoring, PHPDoc, code style, tests, and reporting under a
1818 single Composer-facing command vocabulary
19+ - Adds dependency analysis for missing and unused Composer packages through a
20+ single report entrypoint
1921- Ships shared workflow stubs, ` .editorconfig ` , Dependabot configuration, and
2022 other onboarding defaults for consumer repositories
2123- Synchronizes packaged agent skills into consumer ` .agents/skills `
@@ -47,6 +49,10 @@ You can also run individual commands for specific development tasks:
4749# Run PHPUnit tests
4850composer dev-tools tests
4951
52+ # Analyze missing and unused Composer dependencies
53+ composer dependencies
54+ vendor/bin/dev-tools dependencies
55+
5056# Check and fix code style using ECS and Composer Normalize
5157composer dev-tools code-style
5258
@@ -77,6 +83,13 @@ composer dev-tools gitignore
7783composer dev-tools:sync
7884```
7985
86+ The ` dependencies ` command expects both dependency analyzers to be installed in
87+ the target project:
88+
89+ ``` bash
90+ composer require --dev shipmonk/composer-dependency-analyser icanhazstring/composer-unused
91+ ```
92+
8093The ` skills ` command keeps ` .agents/skills ` aligned with the packaged Fast
8194Forward skill set. It creates missing links, repairs broken links, and
8295preserves existing non-symlink directories. The ` dev-tools:sync ` command calls
@@ -89,6 +102,7 @@ automation assets.
89102| ---------| ---------|
90103| ` composer dev-tools ` | Runs the full ` standards ` pipeline. |
91104| ` composer dev-tools tests ` | Runs PHPUnit with local-or-packaged configuration. |
105+ | ` composer dependencies ` | Reports missing and unused Composer dependencies. |
92106| ` composer dev-tools docs ` | Builds the HTML documentation site from PSR-4 code and ` docs/ ` . |
93107| ` composer dev-tools skills ` | Creates or repairs packaged skill links in ` .agents/skills ` . |
94108| ` composer dev-tools:sync ` | Updates scripts, workflow stubs, ` .editorconfig ` , ` .gitignore ` , wiki setup, and packaged skills. |
0 commit comments