agentleFS
respira-pressrespira-press/agent-skills-wordpress/wordpress-mcp-dev/SKILL.md

wordpress-mcp-dev

Skill49 starsChanged 8 months agoMITView on GitHub

Build and maintain modern WordPress plugins and MCP servers, including hybrid WordPress+MCP products. Use when implementing plugin architecture (PHP, REST API, Gutenberg/admin/page-builder integrations), MCP tooling (TypeScript/Python, stdio/HTTP transport), security hardening, licensing/updates, and delivery workflows from scaffold to distribution.

The file

We split this skill into the rules it gives an agent

5 rules. About 0 are common, 5 are distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈5

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Use this skill to ship production-grade WordPress plugins, MCP servers, or both together.

    line 12
  2. Distinctive:

    Add safety controls before expanding scope: capability checks, nonce/auth, sanitized errors, and rollback strategy.

    line 22
  3. Distinctive:

    Keep plugin bootstrap thin.

    line 27
  4. Distinctive:

    Treat MCP tool schemas/descriptions as API contracts for model behavior.

    line 29
  5. Distinctive:

    Prefer duplicate-first content edits for AI-assisted write operations.

    line 31

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

WordPress + MCP Development

Use this skill to ship production-grade WordPress plugins, MCP servers, or both together.

Workflow

  1. Identify target product shape: plugin, mcp-server, or hybrid.
  2. Choose architecture and scaffold from the relevant reference.
  3. Implement minimum viable vertical slice first:
    • Plugin: one secure REST route + one real feature path.
    • MCP: one read-only tool + one mutating tool with safe validation.
    • Hybrid: one plugin endpoint consumed by one MCP tool.
  4. Add safety controls before expanding scope: capability checks, nonce/auth, sanitized errors, and rollback strategy.
  5. Validate against checklists before release.

Guardrails

  • Keep plugin bootstrap thin; place behavior in namespaced classes.
  • Prefix all plugin symbols to avoid collisions.
  • Treat MCP tool schemas/descriptions as API contracts for model behavior.
  • Return actionable errors and avoid leaking secrets.
  • Prefer duplicate-first content edits for AI-assisted write operations.

References

  • Core guide: references/full-guide.md
  • WordPress plugin architecture and security sections: references/full-guide.md
  • MCP server design, transport, and tooling sections: references/full-guide.md
  • Lifecycle, testing, and distribution checklists: references/full-guide.md

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.