Skip to content
cccskills
FreePublished on GitHub

docs

Update developer-facing documentation to reflect code changes on the current branch. Runs as an inline skill inside backend-agent and frontend-agent (step 2.5 of the internal sequence) after implementation and before DOD. Receives the explicit list of changed files from the implementation agent. No-op if no public API changes occurred.

The English summary is being prepared. Showing the original description.

Works withWordPress
See how to install

Files included (1)

  • SKILL.md4.2 KB

SKILL.md (original)

Review the instructions the agent will receive before you install.

DOCS SKILL

You are a technical writer updating internal developer documentation for WP Rocket. This skill runs inline inside the implementation agent and receives the list of changed files explicitly — do not infer scope from git.


When to run / when to skip

Run this skill if the implementation touched any of the following:

  • New or modified WordPress hooks (apply_filters, do_action, wpm_apply_filters_typed)
  • New or modified AJAX actions, REST routes, or WP-CLI commands
  • New or modified configuration keys, plugin options, or capabilities
  • New or modified BerlinDB tables, columns, or schemas
  • New or modified ServiceProvider bindings exposing a new public service
  • New or modified Subscriber get_subscribed_events() returns (new hooks subscribed)
  • New or modified plugin metadata (header constants, dependencies)
  • New or modified events / callbacks consumed by external integrations

Skip this skill (return no-op) if:

  • Implementation was internal refactoring only (private methods, no public surface change)
  • Only tests, build artifacts, or inc/Dependencies/ (vendored code) changed
  • Spec explicitly flags "no public API change"

When skipping, return:

{ "status": "SKIP", "reason": "No public API changes in this implementation" }

Process

Step 1 — Read the changed files

Use the Read tool on the explicit list provided by the implementation agent. Do not run git diff to discover scope — the agent already knows what changed.

Identify:

  • New or modified public API endpoints, hooks, AJAX actions, REST routes
  • Removed endpoints, hooks, or option keys (document as deprecated or removed)
  • New or modified capabilities (from the wordpress-compliance skill's list)

Step 2 — Review existing documentation

find docs/ -name '*.md' -o -name '*.mdx' 2>/dev/null | head -50
ls -la README.md

Read relevant existing doc files. Understand what is already covered and what needs updating.

Step 3 — Identify gaps

For each significant public-facing change:

  • Is it documented? Is the existing doc current?
  • Which doc file should it go in? (existing or new)
  • For new hooks, follow the existing hook documentation convention (filter name, parameter types, return type, example).

Step 4 — Update documentation

For each gap:

  1. Find the correct existing file, or create a new one under docs/
  2. Write or update the content
  3. Stage the changes alongside the implementation commit (the implementation agent handles the actual git add / git commit).

Style guidelines:

  • Purpose: help engineers get a high-level understanding and find the relevant code fast
  • Tone: neutral, technical, not promotional
  • Structure: prose for explanations; bullets for parallel items; numbered steps for flows
  • Length: concise — a few hundred lines per file max; split by topic if large
  • Avoid embedding large code blocks; prefer referencing class/function names with their full namespace
  • Document the current state, not the change history (the changelog handles history)
  • For new filters, always include the wpm_apply_filters_typed() type as part of the signature

Step 5 — Return

{
  "status": "DONE|SKIP",
  "files_updated": ["docs/api/reports.md", "docs/configuration.md"],
  "files_created": ["docs/api/notifications.md"],
  "reason": "Populated if SKIP"
}

wp-rocket-specific notes

  • The docs root is docs/. The README at the repo root is for users; developer docs live in docs/.
  • For new filters, the docstring above wpm_apply_filters_typed() is the authoritative source. The doc file should reference (not duplicate) the docstring location: inc/Engine/Foo/Bar.php:42.
  • For new capabilities, add them to the list in .claude/skills/wordpress-compliance/SKILL.md (so PHPCS does not flag future uses).
  • For BerlinDB changes, document the migration version (YYYYMMDD format) and the upgrade path.

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

Adversarially review a grooming spec before implementation starts. Finds hidden risks, unvalidated assumptions, and missing dependencies. Standalone entry point for the challenger agent.

The English summary is being prepared. Showing the original description.

wp-media/wp-rocket767Updated Oct 17, 2026

Check a change against WordPress.org plugin rules and PHPCS standards.

The English summary is being prepared. Showing the original description.

wp-media/wp-rocket767Updated Oct 17, 2026

dod

Free

Run the Definition of Done checklist for the current wp-rocket branch and report PASS/WARN/FAIL with evidence. Two modes: layer 1 (self-correction inside backend-agent / frontend-agent — resolves FAILs before handoff) and layer 2 (independent orchestrator gate — fresh perspective after handoff). Pass layer: "1" or layer: "2" when invoking.

The English summary is being prepared. Showing the original description.

wp-media/wp-rocket767Updated Oct 17, 2026

e2e

Free

Run a basic E2E behavioral probe — one primary scenario smoke test for the grooming step.

The English summary is being prepared. Showing the original description.

wp-media/wp-rocket767Updated Oct 17, 2026

groom

Free

Groom a single GitHub issue — produce an implementation spec and optionally post the grooming summary as a GitHub comment. Standalone entry point for the grooming-agent.

The English summary is being prepared. Showing the original description.

wp-media/wp-rocket767Updated Oct 17, 2026

Work on a GitHub issue by number for wp-media/wp-rocket. Fetches the issue and hands control to the orchestrator skill (running inline in this conversation), which manages grooming, spec review, implementation, lead review, CI, and QA end-to-end.

The English summary is being prepared. Showing the original description.

wp-media/wp-rocket767Updated Oct 17, 2026

See all skills by wp-media

Report a problem with this skill