activitypub-dev-cycle

Automate WordPress ActivityPub plugin development workflows with wp-env, tests, linting, and builds.

576|90|Updated Jul 10, 2018
One-click install
npx skills add https://github.com/Automattic/wordpress-activitypub --skill activitypub-dev-cycle
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: activitypub-dev-cycle
Source: https://github.com/Automattic/wordpress-activitypub/tree/main/.claude/skills/activitypub-dev-cycle
Command: npx skills add https://github.com/Automattic/wordpress-activitypub --skill activitypub-dev-cycle

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Setting up a development environment, running tests, and ensuring code quality can be complex and time-consuming for new and existing contributors. This Skill simplifies the entire development workflow, allowing you to focus on coding rather than setup.

Core Features & Use Cases

  • Environment Management: Quick commands for starting and stopping the WordPress development environment using wp-env, ensuring a consistent setup.
  • Automated Quality Checks: Scripts for PHP linting, JavaScript/CSS linting, and code formatting, helping you maintain high code standards effortlessly.
  • Pre-commit Hooks: Explanation of automated checks that run before commits, catching issues early and ensuring code quality without manual intervention.

Quick Start

Set up the ActivityPub plugin's development environment and start WordPress for local development.

Frequently Asked Questions about activitypub-dev-cycle

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate testing and linting for WordPress ActivityPub plugin development?

This Skill automates testing across PHP, JavaScript, and end-to-end flows, plus linting and code formatting checks. It runs npm scripts and Composer-based tooling to catch issues early, maintaining code quality without manual intervention throughout your development cycle.

What's the quickest way to set up a local WordPress development environment for ActivityPub?

Use wp-env commands provided by this Skill to quickly start and stop your development environment. It ensures a consistent, reproducible setup so you can focus on coding rather than configuration.

Can I run pre-commit hooks to automatically check code quality before commits?

Yes. This Skill explains and configures pre-commit hooks that automatically run PHP linting, JavaScript/CSS linting, and formatting checks before each commit, catching issues early without manual steps.

Does this Skill work with both npm and Composer-based workflows?

Yes. This Skill supports both npm scripts and Composer-based tooling, accommodating mixed JavaScript and PHP development patterns in the ActivityPub plugin ecosystem.

How do I ensure consistent code standards across PHP and JavaScript in ActivityPub development?

This Skill provides automated quality checks for both PHP and JavaScript/CSS linting and formatting. Running these scripts regularly—or via pre-commit hooks—keeps your entire codebase aligned with project standards.