testing
Skill by WordPress
Guides an AI assistant through writing, running, and debugging tests in the WordPress Gutenberg repository. It covers Jest, PHPUnit and Playwright tests. It is aimed at developers contributing to Gutenberg.
Install testing
Built from the published package, never by AI.
git clone --depth 1 https://github.com/WordPress/gutenberg /tmp/gutenberg && mkdir -p ~/.claude/skills && cp -r /tmp/gutenberg/.agents/skills/testing ~/.claude/skills/testingRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/WordPress/gutenberg /tmp/gutenberg && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/gutenberg/.agents/skills/testing ~/.gemini/antigravity-cli/skills/testingAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
The testing skill gives an AI assistant guidance for writing, running, and debugging tests in the Gutenberg repository, published by WordPress. It points to separate reference files for JavaScript unit and integration tests with Jest, PHP tests with PHPUnit, and end-to-end tests with Playwright.
The skill sets working rules before any test code is written. It asks the assistant to draft test names from the user's perspective, keep one behavior per case, and confirm the list with the author. It also forbids making failing tests pass by loosening assertions, adding waits, or skipping cases silently, and says production code should change only when it is the source of a bug. It is aimed at developers contributing to Gutenberg.
Written from the project's SKILL.md and checked against it.
What it can do
- Plan test namesDrafts behavior-based test names and confirms the list with the author before writing test bodies.
- Jest guidancePoints to a reference file for JavaScript unit and integration tests with Jest.
- PHPUnit guidancePoints to a reference file for PHP tests with PHPUnit.
- Playwright guidancePoints to a reference file for end-to-end tests with Playwright.
- Root cause diagnosisRequires diagnosing the root cause of a failing test or reporting the failure honestly.
Try asking
- Draft test names for my Gutenberg change and confirm them with me
- Write Jest unit tests for a new Gutenberg block helper
- Debug a failing Playwright e2e test without weakening its assertions
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: .agents/skills/testing/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md1 KB -
references/e2e.md2 KB -
references/jest.md685 B -
references/php.md669 B
Alternatives to testing
All alternatives →Antigravity Workflows guides an assistant through multi-skill workflows for shipping a SaaS MVP, auditing web app security, building AI agents, running browser QA, and designing a domain model. It is for users who want several skills combined with verified checkpoints.
Guides building end-to-end test suites with Playwright and Cypress. It is for developers who write E2E tests, debug flaky tests, or set testing standards.
Upgrades Chrome or Firefox versions in the Flutter Web Engine and Framework tests. It verifies the version, updates config files, syncs CI builder JSON and runs local tests before the CIPD upload.
Builds reliable browser checks for real web workflows using semantic locators, bounded waits, isolated test data and explicit outcome checks. It is for developers and testers writing or debugging browser tests.
Diagnoses memory leaks in the Qwen Code CLI using heap snapshots and the chrome-devtools CLI. Built for developers investigating high memory use, unbounded growth, or object retention.
Guides an assistant through using Claude in Chrome, a browser extension whose tools act in the person's real Chrome with their own sign-ins. It is for users who want the assistant to work in their browser safely.
Compare with antigravity-workflows, e2e-testing-patterns or upgrade-browser
testing: common questions
Does this skill loosen assertions to make failing tests pass?
No. The skill says not to loosen assertions, add waits or timeouts, or skip cases without saying so. It asks for the root cause to be diagnosed or the failure reported honestly.
Which test frameworks does this skill cover?
The source covers JavaScript unit and integration tests with Jest, PHP tests with PHPUnit, and end-to-end tests with Playwright.
Can the assistant change production code to get tests passing?
The skill says production code should not be changed to make a failing test pass unless the production code is the source of a bug.
How do I install testing?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is testing free?
The code is published under the NOASSERTION licence. The service it connects to may have its own pricing.
Is testing safe to use?
It scores 79 of 100. Grades: maintenance A, licence F, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to testing?
Similar skills: antigravity-workflows, e2e-testing-patterns, upgrade-browser, browser-automation.
