Skip to content

/wp-database

Use when a WordPress plugin needs a custom database table — creating with dbDelta (strict SQL format: two spaces before PRIMARY KEY, no trailing comma), writing versioned upgrade routines with version_compare and register_activation_hook, querying with $wpdb prepared statements

shell
$ npx -y skills add mralaminahamed/wp-dev-skills --skill wp-database --agent claude-code

How it fires

How this skill gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.
  • You can call itInvoke it directly when you want it.
  • Slash command/wp-database
How auto-invocation works

Context preview

The summary Claude sees to decide when to auto-load this skill.

Use when a WordPress plugin needs a custom database table — creating with dbDelta (strict SQL format: two spaces before PRIMARY KEY, no trailing comma), writing versioned upgrade routines with version_compare and register_activation_hook, querying with $wpdb prepared statements
Ships withwp-dev-skills

Covers the complete WordPress plugin development lifecycle — build, test, audit, release, and ship to WP.org — for Claude Code, Gemini CLI, Cursor, Windsurf, Cline, Codex, GitHub Copilot, opencode, and more.

Get the whole plugin, auto-invoked
Stats
27
Stars
0
Views
3
Forks
Active
Maintenance
PHP
Language
MIT
License
15d ago
Last commit
1mo ago
Created

Repo: mralaminahamed/wp-dev-skills

Other skills on wp-dev-skills.