Claude Skill MartBrowse skillsQuick linesLearn by videoTerminal guideWhat is a Skill?
Back to list

ActivityPub Testing Patterns

PHPUnit and Playwright testing patterns, commands, and debugging flags for the WordPress ActivityPub plugin.

Dev & CodingIntermediate32446AI score 6/10Last updated: Jul 3, 2026

What it does

  • Gives Claude a reference for writing tests, debugging failures, and setting up coverage in the WordPress ActivityPub plugin.
  • Provides a WP_UnitTestCase class skeleton with set_up/tear_down and @group annotations.
  • Includes Playwright E2E samples for the admin settings page and WebFinger discovery.
  • Lists run commands (npm run env-test, npm run test:e2e, npm run test:unit) and debug flags such as --filter, --verbose, --stop-on-failure.

Who it's for

  • PHP developers contributing to the WordPress ActivityPub plugin or similar wp-env based plugins.
  • Teams that need E2E checks for Fediverse/ActivityPub federation features.
  • WordPress devs mixing PHPUnit and Playwright in one repo.

Examples

  1. "Add a test for the Follow handler" → scaffolds a test class in the documented structure.
  2. "My WebFinger E2E test fails" → rewrites it using the page.request.get pattern and points at the assertions.
  3. "Run only one test method" → suggests npm run env-test -- --filter=test_specific_method --stop-on-failure.

· · · Install guide · · ·

Try it now, no install

Paste this into Claude to use the skill without installing anything.

Read the instructions in this file and follow them to help me:
https://raw.githubusercontent.com/Microck/ordinary-claude-skills/HEAD/skills_all/activitypub-testing/SKILL.md

What I want: (describe your task here)

If Claude can't open the link, open it yourself and paste the contents instead.

If it works for you, download the ZIP below and install it. Then it runs on its own — no pasting each time.

Install in the Claude app (no terminal)
  1. Download the ZIP with the button below.
  2. In Claude, open Settings → Capabilities and turn on 'Code execution and file creation'. (one time)
  3. Go to Customize → Skills → + → 'Upload a skill' and upload the ZIP.
Download ZIP
Install in Claude Code

Let Claude do it — paste this into Claude Code

Install the skill I found on Claude Skill Mart.
Copy the skills_all/activitypub-testing folder from the GitHub repo Microck/ordinary-claude-skills into my ~/.claude/skills/activitypub-testing/.
When it's done, tell me in one line what this skill can do.

Install with a command instead

git clone https://github.com/Microck/ordinary-claude-skills.git /tmp/ocs && mkdir -p ~/.claude/skills && cp -r /tmp/ocs/skills_all/activitypub-testing ~/.claude/skills/

This is a third-party skill. Check the source repository before installing.

  1. Open a terminal.
  2. Clone the repo: git clone https://github.com/Microck/ordinary-claude-skills.git
  3. Create the skills folder: mkdir -p ~/.claude/skills
  4. Copy the skill: cp -r ordinary-claude-skills/skills_all/activitypub-testing ~/.claude/skills/
  5. Recommended: edit or remove the ../../../tests/README.md links inside SKILL.md, since they point outside the skill directory.
  6. Restart Claude Code and ask it to "write an ActivityPub PHPUnit test" to confirm the skill loads.
View source on GitHubLicense: NOASSERTION