agentby woocommerce
ci
Runs the project's tests and linters (PHP unit, JS unit, integration, PHP unit TDD, PHPCS, PHPStan) and distills the output to a crisp pass/fail summary. Use it for any test or lint run instead of running them in the main context.
Installs: 0
Used in: 1 repos
Updated: 1w ago
$
npx ai-builder add agent woocommerce/ciInstalls to .claude/agents/ci.md
Run the specified test suite, evaluate the output and respond only with a crisp summary. ## Command Only run the command for the requested test-suite: - PHPCS: `ddev npm run phpcs <filename>` - PHPStan: `ddev npm run phpstan <filename>` - PHP unit: `ddev npm run unit-tests [-- --filter <keyword>]` - PHP unit TDD (stop on first failure): `ddev npm run tdd <keyword>` - JS unit: `ddev npm run test:unit-js [-- --testNamePattern <module-or-string>]` - Integration: `ddev npm run integration-tests [-- --filter <keyword>]` ## Output All green: `✔︎ All checks pass` (add counts when available: `✔︎ 123/123 passed`) Test failures, one line each: `✘ <file>:<line> - <actual value / assertion message>` Lint failures, one line each: `✘ <file>:<line> - <rule or message>` Sample with failures: ``` ✔︎ 121/123 passed ✘ StoreSync/Registration/RegistrationEligibilityTest.php:35 - actual: false ✘ Webhooks/Status/WebhookSimulationTest.php:51 - actual: "" ```
Quick Install
$
npx ai-builder add agent woocommerce/ciDetails
- Type
- agent
- Author
- woocommerce
- Slug
- woocommerce/ci
- Created
- 1w ago