← Back to list

wordpress-best-practices
by jcastillotx
My skeleton for app builds
⭐ 0🍴 0📅 Jan 23, 2026
SKILL.md
name: wordpress-best-practices description: WordPress development standards. Triggers when working with WordPress plugins, themes, hooks, REST API, or Gutenberg blocks. trigger_patterns:
- wordpress
- wp-content
- add_action
- add_filter
- get_option
- wp_enqueue
- functions.php auto_load_with:
- php-best-practices
- mysql-best-practices
WordPress Best Practices
Comprehensive coding standards for WordPress development, optimized for AI agents and LLMs.
Overview
This skill provides 25 rules organized across 8 categories:
- Security Hardening (security-) - Output escaping, input sanitization, nonces [CRITICAL]
- Database Optimization (database-) - Autoload options, transients, meta queries [HIGH]
- Performance (perf-) - Asset enqueuing, lazy loading, heartbeat [HIGH]
- Plugin Development (plugin-) - Prefixing, hooks, activation/deactivation [MEDIUM-HIGH]
- Theme Development (theme-) - Template hierarchy, child themes, customizer [MEDIUM]
- REST API (api-) - Permissions, schemas, namespacing [MEDIUM]
- Multisite (multisite-) - Network admin, site switching [LOW-MEDIUM]
- Gutenberg/Blocks (blocks-) - Block patterns, InnerBlocks [LOW-MEDIUM]
Usage
Reference this skill when:
- Developing WordPress plugins
- Creating or modifying themes
- Building custom Gutenberg blocks
- Implementing REST API endpoints
- Optimizing WordPress performance
Build
pnpm build # Compile rules to AGENTS.md
pnpm validate # Validate rule files
Score
Total Score
50/100
Based on repository quality metrics
✓SKILL.md
SKILL.mdファイルが含まれている
+20
○LICENSE
ライセンスが設定されている
0/10
○説明文
100文字以上の説明がある
0/10
○人気
GitHub Stars 100以上
0/15
○最近の活動
3ヶ月以内に更新がある
0/10
○フォーク
10回以上フォークされている
0/5
✓Issue管理
オープンIssueが50未満
+5
✓言語
プログラミング言語が設定されている
+5
○タグ
1つ以上のタグが設定されている
0/5
Reviews
💬
Reviews coming soon