一键导入
atlantis-testing
Guides writing/running Atlantis tests and fixing CI issues across Codeception integration tests, PHP QA tools, and npm/composer workflow stability.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Guides writing/running Atlantis tests and fixing CI issues across Codeception integration tests, PHP QA tools, and npm/composer workflow stability.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Guides work on Atlantis plugin PHP architecture including bootstrap flow, module lifecycle, settings model, and activation behavior. Use when adding/changing modules, plugin initialization, or shared helper patterns.
Guides Autoupdates module work including schedule windows, rollout delays, per-plugin filter toggles, and legacy Plugin Autoupdate Filter compatibility. Use when changing autoupdate behavior or related admin UI.
Guides work on Atlantis Colophon module, including credits rendering, shortcodes, and customization filters.
Guides work on Atlantis Messages module, including CRUD, storage, admin list/form flows, and location-based notice rendering.
Guides work on Atlantis Tracking module for WooCommerce, Sensei, and Bilmur integrations, including environment-based activation behavior.
| name | atlantis-testing |
| description | Guides writing/running Atlantis tests and fixing CI issues across Codeception integration tests, PHP QA tools, and npm/composer workflow stability. |
Use this skill when:
tests/Integration/.phpcs, phpmd, phpstan, npm ci, Codeception).| Requirement | Version |
|---|---|
| PHP | 8.3+ |
| Node.js | 20+ |
| npm | 10+ |
| Docker | Required for integration and e2e tests |
Must: Run npm run build before testing or deploying. JS and CSS assets are built from source; the plugin loads from assets/js/build/ and assets/css/build/. Without a build, the Messages form and other UI may fail. For development with live rebuild: npm run start.
| Area | Command |
|---|---|
| PHP lint stack | composer run lint:php |
| PHPStan only | composer run lint:php:phpstan |
| JS and CSS lint | npm run lint (or lint:scripts, lint:styles) |
| Integration tests | composer run tests:run:integration (inside wp-env) |
| Full tests | npm run tests:run (starts wp-env + Selenium, runs integration + e2e) |
Must: Docker must be running for tests. npm run tests:run starts wp-env and Selenium automatically.
tests/Integration/*TestCest.php.PHPUnit\Framework\Assert static assertions.npm run build so JS/CSS assets exist.npm run tests:run.Class "A8C\SpecialProjects\Atlantis\MessagesSchema" not found, run composer generate-autoloader.composer run lint:php and npm run lint before committing.composer.lock and package-lock.json; CI and release builds depend on them.npm ci should pin Node major version for stability.package-lock.json is regenerated consistently when needed.npm run buildcomposer run lint:phpnpm run lintnpm run tests:run (or composer run tests:run:integration if wp-env already running)