You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Aggregates multiple development tools into a single command
14
-
- Automates execution of tests, static analysis, and code styling
15
-
- First-class support for automated refactoring and docblock generation
16
-
- Integrates seamlessly as a Composer plugin without boilerplate
17
-
- Configures default setups for QA tools out of the box
17
+
- Aggregates refactoring, PHPDoc, code style, tests, and reporting under a
18
+
single Composer-facing command vocabulary
19
+
- Ships shared workflow stubs, `.editorconfig`, Dependabot configuration, and
20
+
other onboarding defaults for consumer repositories
21
+
- Synchronizes packaged agent skills into consumer `.agents/skills`
22
+
directories using safe link-based updates
23
+
- Works both as a Composer plugin and as a local binary
24
+
- Preserves local overrides through consumer-first configuration resolution
18
25
19
26
## 🚀 Installation
20
27
@@ -58,13 +65,48 @@ composer dev-tools wiki
58
65
# Generate documentation frontpage and related reports
59
66
composer dev-tools reports
60
67
68
+
# Synchronize packaged agent skills into .agents/skills
69
+
composer dev-tools skills
70
+
61
71
# Merges and synchronizes .gitignore files
62
72
composer dev-tools gitignore
63
73
64
-
# Installs and synchronizes dev-tools scripts, GitHub Actions workflows, .editorconfig, and ensures the repository wiki is present as a git submodule in .github/wiki
74
+
# Installs and synchronizes dev-tools scripts, GitHub Actions workflows,
75
+
# .editorconfig, .gitignore rules, packaged skills, and the repository wiki
76
+
# submodule in .github/wiki
65
77
composer dev-tools:sync
66
78
```
67
79
80
+
The `skills` command keeps `.agents/skills` aligned with the packaged Fast
81
+
Forward skill set. It creates missing links, repairs broken links, and
82
+
preserves existing non-symlink directories. The `dev-tools:sync` command calls
83
+
`skills` automatically after refreshing the rest of the consumer-facing
84
+
automation assets.
85
+
86
+
## 🧰 Command Summary
87
+
88
+
| Command | Purpose |
89
+
|---------|---------|
90
+
|`composer dev-tools`| Runs the full `standards` pipeline. |
91
+
|`composer dev-tools tests`| Runs PHPUnit with local-or-packaged configuration. |
92
+
|`composer dev-tools docs`| Builds the HTML documentation site from PSR-4 code and `docs/`. |
93
+
|`composer dev-tools skills`| Creates or repairs packaged skill links in `.agents/skills`. |
94
+
|`composer dev-tools:sync`| Updates scripts, workflow stubs, `.editorconfig`, `.gitignore`, wiki setup, and packaged skills. |
95
+
96
+
## 🔌 Integration
97
+
98
+
DevTools integrates with consumer repositories in two ways. The Composer plugin
99
+
exposes the command set automatically after installation, and the local binary
100
+
keeps the same command vocabulary when you prefer running tools directly from
101
+
`vendor/bin/dev-tools`. The consumer sync flow also refreshes `.agents/skills`
102
+
so agents can discover the packaged skills shipped with this repository.
103
+
104
+
## 🤝 Contributing
105
+
106
+
Run `composer dev-tools` before opening a pull request. If you change public
107
+
commands or consumer onboarding behavior, update `README.md` and `docs/`
108
+
together so downstream libraries keep accurate guidance.
109
+
68
110
## 📄 License
69
111
70
112
This package is licensed under the MIT License. See the [LICENSE](LICENSE) file for more details.
@@ -73,4 +115,5 @@ This package is licensed under the MIT License. See the [LICENSE](LICENSE) file
0 commit comments