Quickstart
This walkthrough is the fastest way to get a new library into a healthy state.
- Install the package.
- Create a minimal guide directory.
- Synchronize shared automation and packaged skills.
- Run the focused commands once.
- Run the full suite before opening a pull request.
Create the Minimum Guide
The docs
command fails early when docs/
does not exist. A tiny
starting page is enough for the first successful run.
Create the directory:
mkdir -p docs
Create docs/index.rst
with content such as:
Documentation
=============
Welcome to the project documentation.
Run the First Commands
Once the package is installed and the guide directory exists, run:
composer dev-tools:sync
composer dev-tools skills
composer dev-tools tests
composer dev-tools docs
composer dev-tools
What Each Command Proves
composer dev-tools:syncproves the consumer repository can receive the shared scripts, automation assets, and packaged skills during onboarding.composer dev-tools skillsproves the packaged skill set can be linked safely into.agents/skillswithout copying files into the consumer repository.composer dev-tools testsproves the packaged or local PHPUnit configuration can execute the current test suite.composer dev-tools docsproves the PSR-4 source paths and the guide directory are usable by phpDocumentor.composer dev-toolsproves the complete pipeline can run in the expected order.
When You Want Automatic Fixes
If you want the tools to modify files for you, run:
composer dev-tools:fix
That is the quickest way to let Rector, PHPDoc automation, and ECS fix what they can before you start manual cleanup.