Guides WordPress plugin development: architecture/hooks, activation/deactivation/uninstall, admin UI/Settings API, data storage/cron, security (nonces/capabilities/sanitization), release packaging.
npx claudepluginhub joshuarweaver/cascade-code-general-misc-4 --plugin wordpress-agent-skills-9This skill uses the workspace's default tool permissions.
Use this skill for plugin work such as:
Searches, retrieves, and installs Agent Skills from prompts.chat registry using MCP tools like search_skills and get_skill. Activates for finding skills, browsing catalogs, or extending Claude.
Searches prompts.chat for AI prompt templates by keyword or category, retrieves by ID with variable handling, and improves prompts via AI. Use for discovering or enhancing prompts.
Checks Next.js compilation errors using a running Turbopack dev server after code edits. Fixes actionable issues before reporting complete. Replaces `next build`.
Use this skill for plugin work such as:
$wpdb->prepare()).node skills/wp-project-triage/scripts/detect_wp_project.mjsnode skills/wp-plugin-development/scripts/detect_plugins.mjsIf this is a full site repo, pick the specific plugin under wp-content/plugins/ or mu-plugins/ before changing code.
Guidelines:
is_admin() (or admin hooks) to reduce frontend overhead.See:
references/structure.mdActivation hooks are fragile; follow guardrails:
uninstall.php or register_uninstall_hook)See:
references/lifecycle.mdPrefer Settings API for options:
register_setting(), add_settings_section(), add_settings_field()sanitize_callbackSee:
references/settings-api.mdBefore shipping:
$_POST / $_GET; use wp_unslash() and specific keys.$wpdb->prepare() for SQL; avoid building SQL with string concatenation.See:
references/security.mdSee:
references/data-and-cron.mdSee:
references/debugging.mdFor canonical detail, consult the Plugin Handbook and security guidelines before inventing patterns.