Wp Api Endpoints
Automattic/wordpress-rs/.claude/skills/wp-api-endpointscodingOfficial
Official Provider SkillView repo
Guide for adding new WordPress REST API endpoints and types to the wordpress-rs codebase. Use when (1) adding new sparse types or context-aware API response types, (2) implementing new REST API endpoint request builders, (3) adding error handling and integration tests for endpoints, or (4) creating ID wrapper types or parameter types for API operations.
Files1 files
SKILL.md123 lines
Loading editor…
Install
RecommendedOne command — your agent picks it up automatically.
Select an AI agent above to see the install command.
or
Manual Install
More stepsDownload the file and paste it into your agent's system prompt.
Skill details
Versionv1.0.0
AuthorAutomattic
Categorycoding
Skill IDAutomattic/wordpress-rs/.claude/skills/wp-api-endpoints
Related skills
Buildkite TriageExtract the failing tests and steps from a wordpress-rs Buildkite build via the Buildkite MCP, without downloading full logs. Use when asked to triage, diagnose, or summarize a failing CI build or job — e.g. given a buildkite.com/automattic/wordpress-rs/builds/NNNN URL or build number — or to find which tests failed and why.Calypso React Query MigrationUse when editing or migrating Calypso Reader data-fetching code — `client/components/data/query-reader-*` components, `@automattic/data-stores` Reader hooks, or new Reader queries/mutations. Triggers on any work involving `api-core`, `api-queries`, `dispatchRequest`, `READER_*_REQUEST` actions, or Redux `isRequesting*` selectors in the Reader.Create PrCommit the current change and open a draft GitHub pull request for it, with the commit message and PR description in this repository's format. Use whenever committing, pushing a branch or creating a pull request in this repository.Image Studio Ui TestsRun comprehensive UI tests for the Image Studio feature. Covers Media Library entry points, Edit Mode, Generate Mode, Block Editor integration, navigation, and delete. Use when running the full UI smoke test or testing any Image Studio surface.Reader Protocol Pr ReviewUse when reviewing PRs that touch the Reader's multi-protocol social surfaces (`client/reader/social/`, `client/reader/atmosphere/`, `client/reader/mastodon/`, `packages/api-core/src/reader-{atmosphere,mastodon}/`, `packages/api-queries/src/reader-{atmosphere,mastodon}.ts`). Captures the review rubric + the recurring smells from the CM-625 / CM-658 / CM-660 / CM-662 slice cycle.VerifyVerify a change before calling it done or marking a PR ready. Run type checks, lint and unit tests. For visible changes, check Calypso Live or the local dev server while signed in, with screenshots and a check for console and API errors. Use when asked to verify, check, test, screenshot or explore a change or a page.