openehr-assistant-mcp / rules
Cursor rule18 starsChanged 6 months agoMITView on GitHub
Run PHP, Composer, tests, and static analysis only via Docker in this project
In this repository3 other files it gives its agents.
- AGENTS.mdAGENTS.md
- .claude/CLAUDE.mdCLAUDE.md
- .github/copilot-instructions.mdCopilot instructions
The file
Files
--- description: Run PHP, Composer, tests, and static analysis only via Docker in this project alwaysApply: true --- # Docker-only workflow for PHP/Composer This project has **no local PHP or Composer** in the host (e.g. WSL). All PHP and Composer commands **must** run inside the dev container. ## Do not run - `composer ...` on the host - `php ...` on the host - `vendor/bin/phpunit ...` on the host These will fail; use the Docker workflow below instead. ## Correct commands **Start dev containers (once):** ```bash make up-dev ``` **Install dependencies:** ```bash make install ``` **Run tests:** ```bash docker compose -f .docker/docker-compose.yml -f .docker/docker-compose.dev.yml exec -u 1000:1000 app composer test ``` **Run PHPStan:** ```bash docker compose -f .docker/docker-compose.yml -f .docker/docker-compose.dev.yml exec -u 1000:1000 app composer check:phpstan ``` **Run coverage (HTML):** ```bash docker compose -f .docker/docker-compose.yml -f .docker/docker-compose.dev.yml exec -u 1000:1000 app composer test:coverage ``` **Single test class or filter:** ```bash docker compose -f .docker/docker-compose.yml -f .docker/docker-compose.dev.yml exec -u 1000:1000 app vendor/bin/phpunit --filter SomeTest ```
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

