.agents/skills/dev/SKILL.md
Development workflows for WordPress ATmosphere plugin including wp-env setup, testing commands, linting, and build processes. Use when setting up development environment, running tests, checking code quality, or working with wp-env.
npx skillsauth add Automattic/wordpress-atmosphere devInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Quick reference for common development workflows.
npm run env-start # Start WordPress at http://localhost:8884.
npm run env-stop # Stop WordPress environment.
npm run env-test # Run all PHP tests.
npm run env-test -- --filter=pattern # Run tests matching pattern.
composer test # Run tests locally (needs MySQL).
vendor/bin/phpunit --filter=pattern # Run matching tests locally.
composer lint # Check PHP coding standards.
composer lint:fix # Auto-fix PHP issues.
composer dump-autoload # Regenerate classmap after adding/renaming classes.
bin/release.sh [version] # Build release ZIP with production deps only.
npm install # Installs @wordpress/env.
composer install # Installs PHP dependencies.
npm run env-start # WordPress at http://localhost:8884.
# 1. Make code changes.
# 2. If you added/renamed a class file:
composer dump-autoload
# 3. Run relevant tests.
npm run env-test -- --filter=FeatureName
# 4. Check code quality.
composer lint
# 5. Commit.
git add .
git commit -m "Description"
# Run full test suite.
npm run env-test
# Final lint check.
composer lint
# Run with verbose output.
npm run env-test -- --verbose --filter=test_name
# Stop on first failure.
npm run env-test -- --stop-on-failure
package.json - Node dependencies (wp-env) and environment scripts.composer.json - PHP dependencies, autoloading, lint/test scripts..wp-env.json - wp-env configuration.phpcs.xml - PHP coding standards.phpunit.xml.dist - PHPUnit configuration..gitattributes - Release archive exclusions.development
Testing patterns for PHPUnit tests. Use when writing tests, debugging test failures, setting up test coverage, or implementing test patterns for ATmosphere features.
documentation
Version management and release processes using Jetpack Changelogger. Use when creating releases, managing changelogs, bumping versions, or preparing releases.
testing
MUST be invoked before creating any PR, pushing a branch for review, or running `gh pr create`. Covers changelog entries, branch naming, PHPCS/PHPUnit checks, and reviewer assignment.
tools
Development workflows for WordPress ATmosphere plugin including wp-env setup, testing commands, linting, and build processes. Use when setting up development environment, running tests, checking code quality, or working with wp-env.