一键导入
development-workflow
Guide on how to use Docker Compose to run tests, static analysis, and code formatting on this project.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Guide on how to use Docker Compose to run tests, static analysis, and code formatting on this project.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | development_workflow |
| description | Guide on how to use Docker Compose to run tests, static analysis, and code formatting on this project. |
This project includes a fully isolated development environment using Docker
Compose (docker-compose.yml) and a custom Dockerfile containing PHP 8.5 CLI,
Composer, PCOV (for test coverage), and Node.js/npm (for linting and
formatting).
As an AI agent, you should never run composer, PHP, or npm commands directly
on the host if they require specific environments. Instead, always use the
Docker container dev.
To execute commands within the isolated container, use the following syntax:
docker compose run --rm dev <command>
Always check the scripts section in composer.json to discover the available
commands (e.g., check:*, format:*, test:*, act:*, etc.).
When executing them, follow this pattern:
docker compose run --rm dev composer run <script-name>
logs/ directory to avoid
flooding your terminal context.
docker compose run --rm dev composer run check:types > logs/analyse.txtview_file tool to read the log selectively./app, so it
uses the host's vendor folder dynamically. Do not run composer install
unless explicitly asked.feat:, fix:).
To trigger a major version bump for breaking changes, you must append an exclamation mark ! to the commit type (e.g., refactor!: or feat!:).