wp-skills 1.0.1 → 1.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +60 -120
- package/package.json +1 -1
- package/skills/block-theme-dev/README.md +46 -0
- package/skills/classic-theme-dev/README.md +46 -0
- package/skills/frontend-wp/README.md +46 -0
- package/skills/wordpress-router/README.md +46 -0
- package/skills/wp-abilities-api/README.md +46 -0
- package/skills/wp-block-development/README.md +46 -0
- package/skills/wp-block-themes/README.md +46 -0
- package/skills/wp-dev-workflow/README.md +46 -0
- package/skills/wp-interactivity-api/README.md +46 -0
- package/skills/wp-performance/README.md +46 -0
- package/skills/wp-phpstan/README.md +46 -0
- package/skills/wp-playground/README.md +46 -0
- package/skills/wp-plugin-development/README.md +46 -0
- package/skills/wp-project-triage/README.md +46 -0
- package/skills/wp-rest-api/README.md +46 -0
- package/skills/wp-wpcli-and-ops/README.md +46 -0
- package/skills/wpds/README.md +46 -0
package/README.md
CHANGED
|
@@ -1,161 +1,101 @@
|
|
|
1
|
-
#
|
|
1
|
+
# WordPress Team Skills
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
This skill pack helps WordPress teams (classic themes, block themes, and plugins): clear architecture, explicit guardrails, and verification-first workflows.
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
## Quick Install
|
|
6
6
|
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
## Why Agent Skills?
|
|
10
|
-
|
|
11
|
-
AI coding assistants are powerful, but they often:
|
|
12
|
-
- Generate outdated WordPress patterns (pre-Gutenberg, pre-block themes)
|
|
13
|
-
- Miss critical security considerations in plugin development
|
|
14
|
-
- Skip proper block deprecations, causing "Invalid block" errors
|
|
15
|
-
- Ignore existing tooling in your repo
|
|
16
|
-
|
|
17
|
-
Agent Skills solve this by giving AI assistants **expert-level WordPress knowledge** in a format they can actually use.
|
|
18
|
-
|
|
19
|
-
## Available Skills
|
|
20
|
-
|
|
21
|
-
| Skill | What it teaches |
|
|
22
|
-
|-------|-----------------|
|
|
23
|
-
| **wordpress-router** | Classifies WordPress repos and routes to the right workflow |
|
|
24
|
-
| **wp-project-triage** | Detects project type, tooling, and versions automatically |
|
|
25
|
-
| **wp-block-development** | Gutenberg blocks: `block.json`, attributes, rendering, deprecations |
|
|
26
|
-
| **wp-block-themes** | Block themes: `theme.json`, templates, patterns, style variations |
|
|
27
|
-
| **wp-plugin-development** | Plugin architecture, hooks, settings API, security |
|
|
28
|
-
| **wp-rest-api** | REST API routes/endpoints, schema, auth, and response shaping |
|
|
29
|
-
| **wp-interactivity-api** | Frontend interactivity with `data-wp-*` directives and stores |
|
|
30
|
-
| **wp-abilities-api** | Capability-based permissions and REST API authentication |
|
|
31
|
-
| **wp-wpcli-and-ops** | WP-CLI commands, automation, multisite, search-replace |
|
|
32
|
-
| **wp-performance** | Profiling, caching, database optimization, Server-Timing |
|
|
33
|
-
| **wp-phpstan** | PHPStan static analysis for WordPress projects (config, baselines, WP-specific typing) |
|
|
34
|
-
| **wp-playground** | WordPress Playground for instant local environments |
|
|
35
|
-
| **classic-theme-dev** | Classic theme architecture, template hierarchy, URL-to-template-hook mapping, refactoring |
|
|
36
|
-
| **block-theme-dev** | Block theme architecture (`theme.json`, templates/parts, patterns), migration planning |
|
|
37
|
-
| **frontend-wp** | CSS/SCSS architecture, JS behavior, WordPress enqueue/performance patterns |
|
|
38
|
-
| **wp-dev-workflow** | Feature scaffolding, WordPress-focused code review, migration/backward compatibility |
|
|
39
|
-
| **wpds** | WordPress Design System |
|
|
40
|
-
|
|
41
|
-
## Quick Start
|
|
42
|
-
|
|
43
|
-
### Install via npx (recommended)
|
|
7
|
+
Install all skills into the current project:
|
|
44
8
|
|
|
45
9
|
```bash
|
|
46
|
-
# Install into current project
|
|
47
10
|
npx wp-skills install --dest=. --targets=codex,vscode,claude,cursor,antigravity
|
|
48
|
-
|
|
49
|
-
# List available skills
|
|
50
|
-
npx wp-skills list
|
|
51
11
|
```
|
|
52
12
|
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
### Install globally for Claude Code
|
|
13
|
+
List available skills:
|
|
56
14
|
|
|
57
15
|
```bash
|
|
58
|
-
|
|
59
|
-
git clone https://github.com/WordPress/agent-skills.git
|
|
60
|
-
cd agent-skills
|
|
61
|
-
|
|
62
|
-
# Install all skills globally (available across all projects)
|
|
63
|
-
node shared/scripts/skillpack-install.mjs --global
|
|
64
|
-
|
|
65
|
-
# Or install specific skills only
|
|
66
|
-
node shared/scripts/skillpack-install.mjs --global --skills=wp-playground,wp-block-development
|
|
16
|
+
npx wp-skills list
|
|
67
17
|
```
|
|
68
18
|
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
### Install into your repo
|
|
19
|
+
Install a single skill:
|
|
72
20
|
|
|
73
21
|
```bash
|
|
74
|
-
|
|
75
|
-
git clone https://github.com/WordPress/agent-skills.git
|
|
76
|
-
cd agent-skills
|
|
77
|
-
|
|
78
|
-
# Install into your WordPress project
|
|
79
|
-
node shared/scripts/skillpack-install.mjs --dest=../your-wp-project --targets=codex,vscode,claude,cursor,antigravity
|
|
22
|
+
npx wp-skills install --dest=. --targets=codex,vscode,claude,cursor,antigravity --skills=classic-theme-dev
|
|
80
23
|
```
|
|
81
24
|
|
|
82
|
-
|
|
83
|
-
- `.codex/skills/` for OpenAI Codex
|
|
84
|
-
- `.github/skills/` for VS Code / GitHub Copilot
|
|
85
|
-
- `.claude/skills/` for Claude Code (project-level)
|
|
86
|
-
- `.cursor/skills/` for Cursor (project-level)
|
|
87
|
-
- `.agent/skill/` for Antigravity IDE (project-level)
|
|
25
|
+
Installed locations:
|
|
88
26
|
|
|
89
|
-
|
|
27
|
+
- `.codex/skills/`
|
|
28
|
+
- `.github/skills/`
|
|
29
|
+
- `.claude/skills/`
|
|
30
|
+
- `.cursor/skills/`
|
|
31
|
+
- `.agent/skill/`
|
|
90
32
|
|
|
91
|
-
|
|
92
|
-
node shared/scripts/skillpack-install.mjs --targets=cursor-global
|
|
93
|
-
```
|
|
33
|
+
## Team Usage Flow
|
|
94
34
|
|
|
95
|
-
|
|
35
|
+
1. Start with `wordpress-router` or `wp-project-triage` to classify repository context.
|
|
36
|
+
2. Select the domain skill (theme, frontend, plugin/API, ops, review/migration).
|
|
37
|
+
3. Provide explicit inputs: URL/page type, file scope, and compatibility constraints.
|
|
38
|
+
4. Require explicit verification before merge or release.
|
|
96
39
|
|
|
97
|
-
|
|
40
|
+
Prompt examples:
|
|
98
41
|
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
42
|
+
- `Use wordpress-router and wp-project-triage, then choose the right skill for this repository.`
|
|
43
|
+
- `Use classic-theme-dev to map URL -> template -> hook and implement the fix.`
|
|
44
|
+
- `Use wp-dev-workflow for a WordPress-focused code review with security and performance findings.`
|
|
102
45
|
|
|
103
|
-
|
|
104
|
-
node shared/scripts/skillpack-install.mjs --global --dry-run
|
|
46
|
+
## Skill Catalog
|
|
105
47
|
|
|
106
|
-
|
|
107
|
-
node shared/scripts/skillpack-install.mjs --dest=../my-repo --targets=claude,antigravity --skills=wp-wpcli-and-ops
|
|
108
|
-
```
|
|
48
|
+
### Routing and triage
|
|
109
49
|
|
|
110
|
-
|
|
50
|
+
- [wordpress-router](skills/wordpress-router/README.md)
|
|
51
|
+
- [wp-project-triage](skills/wp-project-triage/README.md)
|
|
111
52
|
|
|
112
|
-
|
|
53
|
+
### Theme development
|
|
113
54
|
|
|
114
|
-
|
|
55
|
+
- [classic-theme-dev](skills/classic-theme-dev/README.md)
|
|
56
|
+
- [block-theme-dev](skills/block-theme-dev/README.md)
|
|
57
|
+
- [wp-block-themes](skills/wp-block-themes/README.md)
|
|
58
|
+
- [wp-block-development](skills/wp-block-development/README.md)
|
|
115
59
|
|
|
116
|
-
|
|
60
|
+
### Frontend
|
|
117
61
|
|
|
118
|
-
|
|
119
|
-
skills/wp-
|
|
120
|
-
|
|
121
|
-
├── references/ # Deep-dive docs on specific topics
|
|
122
|
-
│ ├── block-json.md
|
|
123
|
-
│ ├── deprecations.md
|
|
124
|
-
│ └── ...
|
|
125
|
-
└── scripts/ # Deterministic helpers (detection, validation)
|
|
126
|
-
└── list_blocks.mjs
|
|
127
|
-
```
|
|
62
|
+
- [frontend-wp](skills/frontend-wp/README.md)
|
|
63
|
+
- [wp-interactivity-api](skills/wp-interactivity-api/README.md)
|
|
64
|
+
- [wpds](skills/wpds/README.md)
|
|
128
65
|
|
|
129
|
-
|
|
66
|
+
### Plugin, API, and capabilities
|
|
130
67
|
|
|
131
|
-
|
|
68
|
+
- [wp-plugin-development](skills/wp-plugin-development/README.md)
|
|
69
|
+
- [wp-rest-api](skills/wp-rest-api/README.md)
|
|
70
|
+
- [wp-abilities-api](skills/wp-abilities-api/README.md)
|
|
132
71
|
|
|
133
|
-
|
|
134
|
-
- Works with any AI assistant that supports project-level instructions
|
|
72
|
+
### Tooling, ops, and quality
|
|
135
73
|
|
|
136
|
-
|
|
74
|
+
- [wp-wpcli-and-ops](skills/wp-wpcli-and-ops/README.md)
|
|
75
|
+
- [wp-performance](skills/wp-performance/README.md)
|
|
76
|
+
- [wp-phpstan](skills/wp-phpstan/README.md)
|
|
77
|
+
- [wp-playground](skills/wp-playground/README.md)
|
|
78
|
+
- [wp-dev-workflow](skills/wp-dev-workflow/README.md)
|
|
137
79
|
|
|
138
|
-
|
|
80
|
+
## Recommended Team Bundles
|
|
139
81
|
|
|
140
|
-
|
|
82
|
+
- `classic-theme-dev` + `frontend-wp` + `wp-dev-workflow`
|
|
83
|
+
- `block-theme-dev` + `wp-block-development` + `wp-interactivity-api`
|
|
84
|
+
- `wp-plugin-development` + `wp-rest-api` + `wp-abilities-api`
|
|
85
|
+
- `wp-wpcli-and-ops` + `wp-performance` + `wp-phpstan`
|
|
141
86
|
|
|
142
|
-
|
|
87
|
+
## Maintain and Validate
|
|
143
88
|
|
|
144
89
|
```bash
|
|
145
|
-
#
|
|
146
|
-
node shared/scripts/scaffold-skill.mjs <skill-name> "<description>"
|
|
147
|
-
|
|
148
|
-
# Validate skills
|
|
90
|
+
# Validate the skill set
|
|
149
91
|
node eval/harness/run.mjs
|
|
150
|
-
```
|
|
151
92
|
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
- [Principles](docs/principles.md) - Design philosophy
|
|
156
|
-
- [Packaging](docs/packaging.md) - Build and distribution
|
|
157
|
-
- [Compatibility Policy](docs/compatibility-policy.md) - Version targeting
|
|
93
|
+
# List available skills from local repository
|
|
94
|
+
node shared/scripts/skillpack-install.mjs --list
|
|
95
|
+
```
|
|
158
96
|
|
|
159
|
-
|
|
97
|
+
Related docs:
|
|
160
98
|
|
|
161
|
-
|
|
99
|
+
- [docs/authoring-guide.md](docs/authoring-guide.md)
|
|
100
|
+
- [docs/packaging.md](docs/packaging.md)
|
|
101
|
+
- [docs/skill-set-v1.md](docs/skill-set-v1.md)
|
package/package.json
CHANGED
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
# Block Theme Dev
|
|
2
|
+
|
|
3
|
+
## Purpose
|
|
4
|
+
|
|
5
|
+
Use when building or migrating WordPress block themes using theme.json, templates/parts, patterns, and custom block integration.
|
|
6
|
+
|
|
7
|
+
## Install this skill only
|
|
8
|
+
|
|
9
|
+
Use npm package (recommended):
|
|
10
|
+
|
|
11
|
+
```bash
|
|
12
|
+
npx wp-skills install --dest=. --targets=codex,vscode,claude,cursor,antigravity --skills=block-theme-dev
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
Use local repository scripts:
|
|
16
|
+
|
|
17
|
+
```bash
|
|
18
|
+
node shared/scripts/skillpack-install.mjs --dest=../your-wp-project --targets=codex,vscode,claude,cursor,antigravity --skills=block-theme-dev
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
## When to use
|
|
22
|
+
|
|
23
|
+
- Apply this skill when your task matches the scope in [SKILL.md](./SKILL.md).
|
|
24
|
+
- Typical trigger prompt: `Use block-theme-dev to handle this task in my WordPress repo`.
|
|
25
|
+
|
|
26
|
+
## Inputs to provide
|
|
27
|
+
|
|
28
|
+
- Repository root (or target project path).
|
|
29
|
+
- Exact task goal (feature, refactor, debugging, migration, or review).
|
|
30
|
+
- Constraints: WordPress/PHP versions, plugin/theme boundaries, timeline/risk constraints.
|
|
31
|
+
|
|
32
|
+
## Expected output
|
|
33
|
+
|
|
34
|
+
- Clear implementation plan tied to project context.
|
|
35
|
+
- File-level changes or command steps with verification.
|
|
36
|
+
- Guardrails and risks called out before high-impact operations.
|
|
37
|
+
|
|
38
|
+
## Team guardrails
|
|
39
|
+
|
|
40
|
+
- Prefer existing repo conventions and tooling over introducing new patterns.
|
|
41
|
+
- Avoid destructive DB/content operations without explicit approval.
|
|
42
|
+
- Keep backward compatibility visible for production WordPress sites.
|
|
43
|
+
|
|
44
|
+
## References
|
|
45
|
+
|
|
46
|
+
- Main instructions: [SKILL.md](./SKILL.md)
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
# Classic Theme Dev
|
|
2
|
+
|
|
3
|
+
## Purpose
|
|
4
|
+
|
|
5
|
+
Use when building, refactoring, or debugging classic WordPress themes with template hierarchy, hooks, and URL-to-template mapping.
|
|
6
|
+
|
|
7
|
+
## Install this skill only
|
|
8
|
+
|
|
9
|
+
Use npm package (recommended):
|
|
10
|
+
|
|
11
|
+
```bash
|
|
12
|
+
npx wp-skills install --dest=. --targets=codex,vscode,claude,cursor,antigravity --skills=classic-theme-dev
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
Use local repository scripts:
|
|
16
|
+
|
|
17
|
+
```bash
|
|
18
|
+
node shared/scripts/skillpack-install.mjs --dest=../your-wp-project --targets=codex,vscode,claude,cursor,antigravity --skills=classic-theme-dev
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
## When to use
|
|
22
|
+
|
|
23
|
+
- Apply this skill when your task matches the scope in [SKILL.md](./SKILL.md).
|
|
24
|
+
- Typical trigger prompt: `Use classic-theme-dev to handle this task in my WordPress repo`.
|
|
25
|
+
|
|
26
|
+
## Inputs to provide
|
|
27
|
+
|
|
28
|
+
- Repository root (or target project path).
|
|
29
|
+
- Exact task goal (feature, refactor, debugging, migration, or review).
|
|
30
|
+
- Constraints: WordPress/PHP versions, plugin/theme boundaries, timeline/risk constraints.
|
|
31
|
+
|
|
32
|
+
## Expected output
|
|
33
|
+
|
|
34
|
+
- Clear implementation plan tied to project context.
|
|
35
|
+
- File-level changes or command steps with verification.
|
|
36
|
+
- Guardrails and risks called out before high-impact operations.
|
|
37
|
+
|
|
38
|
+
## Team guardrails
|
|
39
|
+
|
|
40
|
+
- Prefer existing repo conventions and tooling over introducing new patterns.
|
|
41
|
+
- Avoid destructive DB/content operations without explicit approval.
|
|
42
|
+
- Keep backward compatibility visible for production WordPress sites.
|
|
43
|
+
|
|
44
|
+
## References
|
|
45
|
+
|
|
46
|
+
- Main instructions: [SKILL.md](./SKILL.md)
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
# Frontend WP
|
|
2
|
+
|
|
3
|
+
## Purpose
|
|
4
|
+
|
|
5
|
+
Use when implementing WordPress frontend CSS/SCSS architecture, JavaScript behavior, and asset loading/performance across classic and block themes.
|
|
6
|
+
|
|
7
|
+
## Install this skill only
|
|
8
|
+
|
|
9
|
+
Use npm package (recommended):
|
|
10
|
+
|
|
11
|
+
```bash
|
|
12
|
+
npx wp-skills install --dest=. --targets=codex,vscode,claude,cursor,antigravity --skills=frontend-wp
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
Use local repository scripts:
|
|
16
|
+
|
|
17
|
+
```bash
|
|
18
|
+
node shared/scripts/skillpack-install.mjs --dest=../your-wp-project --targets=codex,vscode,claude,cursor,antigravity --skills=frontend-wp
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
## When to use
|
|
22
|
+
|
|
23
|
+
- Apply this skill when your task matches the scope in [SKILL.md](./SKILL.md).
|
|
24
|
+
- Typical trigger prompt: `Use frontend-wp to handle this task in my WordPress repo`.
|
|
25
|
+
|
|
26
|
+
## Inputs to provide
|
|
27
|
+
|
|
28
|
+
- Repository root (or target project path).
|
|
29
|
+
- Exact task goal (feature, refactor, debugging, migration, or review).
|
|
30
|
+
- Constraints: WordPress/PHP versions, plugin/theme boundaries, timeline/risk constraints.
|
|
31
|
+
|
|
32
|
+
## Expected output
|
|
33
|
+
|
|
34
|
+
- Clear implementation plan tied to project context.
|
|
35
|
+
- File-level changes or command steps with verification.
|
|
36
|
+
- Guardrails and risks called out before high-impact operations.
|
|
37
|
+
|
|
38
|
+
## Team guardrails
|
|
39
|
+
|
|
40
|
+
- Prefer existing repo conventions and tooling over introducing new patterns.
|
|
41
|
+
- Avoid destructive DB/content operations without explicit approval.
|
|
42
|
+
- Keep backward compatibility visible for production WordPress sites.
|
|
43
|
+
|
|
44
|
+
## References
|
|
45
|
+
|
|
46
|
+
- Main instructions: [SKILL.md](./SKILL.md)
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
# WordPress Router
|
|
2
|
+
|
|
3
|
+
## Purpose
|
|
4
|
+
|
|
5
|
+
Use when the user asks about WordPress codebases (plugins, themes, block themes, Gutenberg blocks, WP core checkouts) and you need to quickly classify the repo and route to the correct workflow/skill (classic theme dev, block theme dev, frontend, workflow/review, blocks, REST API, WP-CLI, performance, security, testing, release packaging).
|
|
6
|
+
|
|
7
|
+
## Install this skill only
|
|
8
|
+
|
|
9
|
+
Use npm package (recommended):
|
|
10
|
+
|
|
11
|
+
```bash
|
|
12
|
+
npx wp-skills install --dest=. --targets=codex,vscode,claude,cursor,antigravity --skills=wordpress-router
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
Use local repository scripts:
|
|
16
|
+
|
|
17
|
+
```bash
|
|
18
|
+
node shared/scripts/skillpack-install.mjs --dest=../your-wp-project --targets=codex,vscode,claude,cursor,antigravity --skills=wordpress-router
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
## When to use
|
|
22
|
+
|
|
23
|
+
- Apply this skill when your task matches the scope in [SKILL.md](./SKILL.md).
|
|
24
|
+
- Typical trigger prompt: `Use wordpress-router to handle this task in my WordPress repo`.
|
|
25
|
+
|
|
26
|
+
## Inputs to provide
|
|
27
|
+
|
|
28
|
+
- Repository root (or target project path).
|
|
29
|
+
- Exact task goal (feature, refactor, debugging, migration, or review).
|
|
30
|
+
- Constraints: WordPress/PHP versions, plugin/theme boundaries, timeline/risk constraints.
|
|
31
|
+
|
|
32
|
+
## Expected output
|
|
33
|
+
|
|
34
|
+
- Clear implementation plan tied to project context.
|
|
35
|
+
- File-level changes or command steps with verification.
|
|
36
|
+
- Guardrails and risks called out before high-impact operations.
|
|
37
|
+
|
|
38
|
+
## Team guardrails
|
|
39
|
+
|
|
40
|
+
- Prefer existing repo conventions and tooling over introducing new patterns.
|
|
41
|
+
- Avoid destructive DB/content operations without explicit approval.
|
|
42
|
+
- Keep backward compatibility visible for production WordPress sites.
|
|
43
|
+
|
|
44
|
+
## References
|
|
45
|
+
|
|
46
|
+
- Main instructions: [SKILL.md](./SKILL.md)
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
# WP Abilities API
|
|
2
|
+
|
|
3
|
+
## Purpose
|
|
4
|
+
|
|
5
|
+
Use when working with the WordPress Abilities API (wp_register_ability, wp_register_ability_category, /wp-json/wp-abilities/v1/*, @wordpress/abilities) including defining abilities, categories, meta, REST exposure, and permissions checks for clients.
|
|
6
|
+
|
|
7
|
+
## Install this skill only
|
|
8
|
+
|
|
9
|
+
Use npm package (recommended):
|
|
10
|
+
|
|
11
|
+
```bash
|
|
12
|
+
npx wp-skills install --dest=. --targets=codex,vscode,claude,cursor,antigravity --skills=wp-abilities-api
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
Use local repository scripts:
|
|
16
|
+
|
|
17
|
+
```bash
|
|
18
|
+
node shared/scripts/skillpack-install.mjs --dest=../your-wp-project --targets=codex,vscode,claude,cursor,antigravity --skills=wp-abilities-api
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
## When to use
|
|
22
|
+
|
|
23
|
+
- Apply this skill when your task matches the scope in [SKILL.md](./SKILL.md).
|
|
24
|
+
- Typical trigger prompt: `Use wp-abilities-api to handle this task in my WordPress repo`.
|
|
25
|
+
|
|
26
|
+
## Inputs to provide
|
|
27
|
+
|
|
28
|
+
- Repository root (or target project path).
|
|
29
|
+
- Exact task goal (feature, refactor, debugging, migration, or review).
|
|
30
|
+
- Constraints: WordPress/PHP versions, plugin/theme boundaries, timeline/risk constraints.
|
|
31
|
+
|
|
32
|
+
## Expected output
|
|
33
|
+
|
|
34
|
+
- Clear implementation plan tied to project context.
|
|
35
|
+
- File-level changes or command steps with verification.
|
|
36
|
+
- Guardrails and risks called out before high-impact operations.
|
|
37
|
+
|
|
38
|
+
## Team guardrails
|
|
39
|
+
|
|
40
|
+
- Prefer existing repo conventions and tooling over introducing new patterns.
|
|
41
|
+
- Avoid destructive DB/content operations without explicit approval.
|
|
42
|
+
- Keep backward compatibility visible for production WordPress sites.
|
|
43
|
+
|
|
44
|
+
## References
|
|
45
|
+
|
|
46
|
+
- Main instructions: [SKILL.md](./SKILL.md)
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
# WP Block Development
|
|
2
|
+
|
|
3
|
+
## Purpose
|
|
4
|
+
|
|
5
|
+
Use when developing WordPress (Gutenberg) blocks: block.json metadata, register_block_type(_from_metadata), attributes/serialization, supports, dynamic rendering (render.php/render_callback), deprecations/migrations, viewScript vs viewScriptModule, and @wordpress/scripts/@wordpress/create-block build and test workflows.
|
|
6
|
+
|
|
7
|
+
## Install this skill only
|
|
8
|
+
|
|
9
|
+
Use npm package (recommended):
|
|
10
|
+
|
|
11
|
+
```bash
|
|
12
|
+
npx wp-skills install --dest=. --targets=codex,vscode,claude,cursor,antigravity --skills=wp-block-development
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
Use local repository scripts:
|
|
16
|
+
|
|
17
|
+
```bash
|
|
18
|
+
node shared/scripts/skillpack-install.mjs --dest=../your-wp-project --targets=codex,vscode,claude,cursor,antigravity --skills=wp-block-development
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
## When to use
|
|
22
|
+
|
|
23
|
+
- Apply this skill when your task matches the scope in [SKILL.md](./SKILL.md).
|
|
24
|
+
- Typical trigger prompt: `Use wp-block-development to handle this task in my WordPress repo`.
|
|
25
|
+
|
|
26
|
+
## Inputs to provide
|
|
27
|
+
|
|
28
|
+
- Repository root (or target project path).
|
|
29
|
+
- Exact task goal (feature, refactor, debugging, migration, or review).
|
|
30
|
+
- Constraints: WordPress/PHP versions, plugin/theme boundaries, timeline/risk constraints.
|
|
31
|
+
|
|
32
|
+
## Expected output
|
|
33
|
+
|
|
34
|
+
- Clear implementation plan tied to project context.
|
|
35
|
+
- File-level changes or command steps with verification.
|
|
36
|
+
- Guardrails and risks called out before high-impact operations.
|
|
37
|
+
|
|
38
|
+
## Team guardrails
|
|
39
|
+
|
|
40
|
+
- Prefer existing repo conventions and tooling over introducing new patterns.
|
|
41
|
+
- Avoid destructive DB/content operations without explicit approval.
|
|
42
|
+
- Keep backward compatibility visible for production WordPress sites.
|
|
43
|
+
|
|
44
|
+
## References
|
|
45
|
+
|
|
46
|
+
- Main instructions: [SKILL.md](./SKILL.md)
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
# WP Block Themes
|
|
2
|
+
|
|
3
|
+
## Purpose
|
|
4
|
+
|
|
5
|
+
Use when developing WordPress block themes: theme.json (global settings/styles), templates and template parts, patterns, style variations, and Site Editor troubleshooting (style hierarchy, overrides, caching).
|
|
6
|
+
|
|
7
|
+
## Install this skill only
|
|
8
|
+
|
|
9
|
+
Use npm package (recommended):
|
|
10
|
+
|
|
11
|
+
```bash
|
|
12
|
+
npx wp-skills install --dest=. --targets=codex,vscode,claude,cursor,antigravity --skills=wp-block-themes
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
Use local repository scripts:
|
|
16
|
+
|
|
17
|
+
```bash
|
|
18
|
+
node shared/scripts/skillpack-install.mjs --dest=../your-wp-project --targets=codex,vscode,claude,cursor,antigravity --skills=wp-block-themes
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
## When to use
|
|
22
|
+
|
|
23
|
+
- Apply this skill when your task matches the scope in [SKILL.md](./SKILL.md).
|
|
24
|
+
- Typical trigger prompt: `Use wp-block-themes to handle this task in my WordPress repo`.
|
|
25
|
+
|
|
26
|
+
## Inputs to provide
|
|
27
|
+
|
|
28
|
+
- Repository root (or target project path).
|
|
29
|
+
- Exact task goal (feature, refactor, debugging, migration, or review).
|
|
30
|
+
- Constraints: WordPress/PHP versions, plugin/theme boundaries, timeline/risk constraints.
|
|
31
|
+
|
|
32
|
+
## Expected output
|
|
33
|
+
|
|
34
|
+
- Clear implementation plan tied to project context.
|
|
35
|
+
- File-level changes or command steps with verification.
|
|
36
|
+
- Guardrails and risks called out before high-impact operations.
|
|
37
|
+
|
|
38
|
+
## Team guardrails
|
|
39
|
+
|
|
40
|
+
- Prefer existing repo conventions and tooling over introducing new patterns.
|
|
41
|
+
- Avoid destructive DB/content operations without explicit approval.
|
|
42
|
+
- Keep backward compatibility visible for production WordPress sites.
|
|
43
|
+
|
|
44
|
+
## References
|
|
45
|
+
|
|
46
|
+
- Main instructions: [SKILL.md](./SKILL.md)
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
# WP Dev Workflow
|
|
2
|
+
|
|
3
|
+
## Purpose
|
|
4
|
+
|
|
5
|
+
Use when scaffolding WordPress features, performing WordPress-focused code review, and planning migrations with backward compatibility safeguards.
|
|
6
|
+
|
|
7
|
+
## Install this skill only
|
|
8
|
+
|
|
9
|
+
Use npm package (recommended):
|
|
10
|
+
|
|
11
|
+
```bash
|
|
12
|
+
npx wp-skills install --dest=. --targets=codex,vscode,claude,cursor,antigravity --skills=wp-dev-workflow
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
Use local repository scripts:
|
|
16
|
+
|
|
17
|
+
```bash
|
|
18
|
+
node shared/scripts/skillpack-install.mjs --dest=../your-wp-project --targets=codex,vscode,claude,cursor,antigravity --skills=wp-dev-workflow
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
## When to use
|
|
22
|
+
|
|
23
|
+
- Apply this skill when your task matches the scope in [SKILL.md](./SKILL.md).
|
|
24
|
+
- Typical trigger prompt: `Use wp-dev-workflow to handle this task in my WordPress repo`.
|
|
25
|
+
|
|
26
|
+
## Inputs to provide
|
|
27
|
+
|
|
28
|
+
- Repository root (or target project path).
|
|
29
|
+
- Exact task goal (feature, refactor, debugging, migration, or review).
|
|
30
|
+
- Constraints: WordPress/PHP versions, plugin/theme boundaries, timeline/risk constraints.
|
|
31
|
+
|
|
32
|
+
## Expected output
|
|
33
|
+
|
|
34
|
+
- Clear implementation plan tied to project context.
|
|
35
|
+
- File-level changes or command steps with verification.
|
|
36
|
+
- Guardrails and risks called out before high-impact operations.
|
|
37
|
+
|
|
38
|
+
## Team guardrails
|
|
39
|
+
|
|
40
|
+
- Prefer existing repo conventions and tooling over introducing new patterns.
|
|
41
|
+
- Avoid destructive DB/content operations without explicit approval.
|
|
42
|
+
- Keep backward compatibility visible for production WordPress sites.
|
|
43
|
+
|
|
44
|
+
## References
|
|
45
|
+
|
|
46
|
+
- Main instructions: [SKILL.md](./SKILL.md)
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
# WP Interactivity API
|
|
2
|
+
|
|
3
|
+
## Purpose
|
|
4
|
+
|
|
5
|
+
Use when building or debugging WordPress Interactivity API features (data-wp-* directives, @wordpress/interactivity store/state/actions, block viewScriptModule integration, wp_interactivity_*()) including performance, hydration, and directive behavior.
|
|
6
|
+
|
|
7
|
+
## Install this skill only
|
|
8
|
+
|
|
9
|
+
Use npm package (recommended):
|
|
10
|
+
|
|
11
|
+
```bash
|
|
12
|
+
npx wp-skills install --dest=. --targets=codex,vscode,claude,cursor,antigravity --skills=wp-interactivity-api
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
Use local repository scripts:
|
|
16
|
+
|
|
17
|
+
```bash
|
|
18
|
+
node shared/scripts/skillpack-install.mjs --dest=../your-wp-project --targets=codex,vscode,claude,cursor,antigravity --skills=wp-interactivity-api
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
## When to use
|
|
22
|
+
|
|
23
|
+
- Apply this skill when your task matches the scope in [SKILL.md](./SKILL.md).
|
|
24
|
+
- Typical trigger prompt: `Use wp-interactivity-api to handle this task in my WordPress repo`.
|
|
25
|
+
|
|
26
|
+
## Inputs to provide
|
|
27
|
+
|
|
28
|
+
- Repository root (or target project path).
|
|
29
|
+
- Exact task goal (feature, refactor, debugging, migration, or review).
|
|
30
|
+
- Constraints: WordPress/PHP versions, plugin/theme boundaries, timeline/risk constraints.
|
|
31
|
+
|
|
32
|
+
## Expected output
|
|
33
|
+
|
|
34
|
+
- Clear implementation plan tied to project context.
|
|
35
|
+
- File-level changes or command steps with verification.
|
|
36
|
+
- Guardrails and risks called out before high-impact operations.
|
|
37
|
+
|
|
38
|
+
## Team guardrails
|
|
39
|
+
|
|
40
|
+
- Prefer existing repo conventions and tooling over introducing new patterns.
|
|
41
|
+
- Avoid destructive DB/content operations without explicit approval.
|
|
42
|
+
- Keep backward compatibility visible for production WordPress sites.
|
|
43
|
+
|
|
44
|
+
## References
|
|
45
|
+
|
|
46
|
+
- Main instructions: [SKILL.md](./SKILL.md)
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
# WP Performance (backend-only)
|
|
2
|
+
|
|
3
|
+
## Purpose
|
|
4
|
+
|
|
5
|
+
Use when investigating or improving WordPress performance (backend-only agent): profiling and measurement (WP-CLI profile/doctor, Server-Timing, Query Monitor via REST headers), database/query optimization, autoloaded options, object caching, cron, HTTP API calls, and safe verification.
|
|
6
|
+
|
|
7
|
+
## Install this skill only
|
|
8
|
+
|
|
9
|
+
Use npm package (recommended):
|
|
10
|
+
|
|
11
|
+
```bash
|
|
12
|
+
npx wp-skills install --dest=. --targets=codex,vscode,claude,cursor,antigravity --skills=wp-performance
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
Use local repository scripts:
|
|
16
|
+
|
|
17
|
+
```bash
|
|
18
|
+
node shared/scripts/skillpack-install.mjs --dest=../your-wp-project --targets=codex,vscode,claude,cursor,antigravity --skills=wp-performance
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
## When to use
|
|
22
|
+
|
|
23
|
+
- Apply this skill when your task matches the scope in [SKILL.md](./SKILL.md).
|
|
24
|
+
- Typical trigger prompt: `Use wp-performance to handle this task in my WordPress repo`.
|
|
25
|
+
|
|
26
|
+
## Inputs to provide
|
|
27
|
+
|
|
28
|
+
- Repository root (or target project path).
|
|
29
|
+
- Exact task goal (feature, refactor, debugging, migration, or review).
|
|
30
|
+
- Constraints: WordPress/PHP versions, plugin/theme boundaries, timeline/risk constraints.
|
|
31
|
+
|
|
32
|
+
## Expected output
|
|
33
|
+
|
|
34
|
+
- Clear implementation plan tied to project context.
|
|
35
|
+
- File-level changes or command steps with verification.
|
|
36
|
+
- Guardrails and risks called out before high-impact operations.
|
|
37
|
+
|
|
38
|
+
## Team guardrails
|
|
39
|
+
|
|
40
|
+
- Prefer existing repo conventions and tooling over introducing new patterns.
|
|
41
|
+
- Avoid destructive DB/content operations without explicit approval.
|
|
42
|
+
- Keep backward compatibility visible for production WordPress sites.
|
|
43
|
+
|
|
44
|
+
## References
|
|
45
|
+
|
|
46
|
+
- Main instructions: [SKILL.md](./SKILL.md)
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
# WP PHPStan
|
|
2
|
+
|
|
3
|
+
## Purpose
|
|
4
|
+
|
|
5
|
+
Use when configuring, running, or fixing PHPStan static analysis in WordPress projects (plugins/themes/sites): phpstan.neon setup, baselines, WordPress-specific typing, and handling third-party plugin classes.
|
|
6
|
+
|
|
7
|
+
## Install this skill only
|
|
8
|
+
|
|
9
|
+
Use npm package (recommended):
|
|
10
|
+
|
|
11
|
+
```bash
|
|
12
|
+
npx wp-skills install --dest=. --targets=codex,vscode,claude,cursor,antigravity --skills=wp-phpstan
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
Use local repository scripts:
|
|
16
|
+
|
|
17
|
+
```bash
|
|
18
|
+
node shared/scripts/skillpack-install.mjs --dest=../your-wp-project --targets=codex,vscode,claude,cursor,antigravity --skills=wp-phpstan
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
## When to use
|
|
22
|
+
|
|
23
|
+
- Apply this skill when your task matches the scope in [SKILL.md](./SKILL.md).
|
|
24
|
+
- Typical trigger prompt: `Use wp-phpstan to handle this task in my WordPress repo`.
|
|
25
|
+
|
|
26
|
+
## Inputs to provide
|
|
27
|
+
|
|
28
|
+
- Repository root (or target project path).
|
|
29
|
+
- Exact task goal (feature, refactor, debugging, migration, or review).
|
|
30
|
+
- Constraints: WordPress/PHP versions, plugin/theme boundaries, timeline/risk constraints.
|
|
31
|
+
|
|
32
|
+
## Expected output
|
|
33
|
+
|
|
34
|
+
- Clear implementation plan tied to project context.
|
|
35
|
+
- File-level changes or command steps with verification.
|
|
36
|
+
- Guardrails and risks called out before high-impact operations.
|
|
37
|
+
|
|
38
|
+
## Team guardrails
|
|
39
|
+
|
|
40
|
+
- Prefer existing repo conventions and tooling over introducing new patterns.
|
|
41
|
+
- Avoid destructive DB/content operations without explicit approval.
|
|
42
|
+
- Keep backward compatibility visible for production WordPress sites.
|
|
43
|
+
|
|
44
|
+
## References
|
|
45
|
+
|
|
46
|
+
- Main instructions: [SKILL.md](./SKILL.md)
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
# WordPress Playground
|
|
2
|
+
|
|
3
|
+
## Purpose
|
|
4
|
+
|
|
5
|
+
Use for WordPress Playground workflows: fast disposable WP instances in the browser or locally via @wp-playground/cli (server, run-blueprint, build-snapshot), auto-mounting plugins/themes, switching WP/PHP versions, blueprints, and debugging (Xdebug).
|
|
6
|
+
|
|
7
|
+
## Install this skill only
|
|
8
|
+
|
|
9
|
+
Use npm package (recommended):
|
|
10
|
+
|
|
11
|
+
```bash
|
|
12
|
+
npx wp-skills install --dest=. --targets=codex,vscode,claude,cursor,antigravity --skills=wp-playground
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
Use local repository scripts:
|
|
16
|
+
|
|
17
|
+
```bash
|
|
18
|
+
node shared/scripts/skillpack-install.mjs --dest=../your-wp-project --targets=codex,vscode,claude,cursor,antigravity --skills=wp-playground
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
## When to use
|
|
22
|
+
|
|
23
|
+
- Apply this skill when your task matches the scope in [SKILL.md](./SKILL.md).
|
|
24
|
+
- Typical trigger prompt: `Use wp-playground to handle this task in my WordPress repo`.
|
|
25
|
+
|
|
26
|
+
## Inputs to provide
|
|
27
|
+
|
|
28
|
+
- Repository root (or target project path).
|
|
29
|
+
- Exact task goal (feature, refactor, debugging, migration, or review).
|
|
30
|
+
- Constraints: WordPress/PHP versions, plugin/theme boundaries, timeline/risk constraints.
|
|
31
|
+
|
|
32
|
+
## Expected output
|
|
33
|
+
|
|
34
|
+
- Clear implementation plan tied to project context.
|
|
35
|
+
- File-level changes or command steps with verification.
|
|
36
|
+
- Guardrails and risks called out before high-impact operations.
|
|
37
|
+
|
|
38
|
+
## Team guardrails
|
|
39
|
+
|
|
40
|
+
- Prefer existing repo conventions and tooling over introducing new patterns.
|
|
41
|
+
- Avoid destructive DB/content operations without explicit approval.
|
|
42
|
+
- Keep backward compatibility visible for production WordPress sites.
|
|
43
|
+
|
|
44
|
+
## References
|
|
45
|
+
|
|
46
|
+
- Main instructions: [SKILL.md](./SKILL.md)
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
# WP Plugin Development
|
|
2
|
+
|
|
3
|
+
## Purpose
|
|
4
|
+
|
|
5
|
+
Use when developing WordPress plugins: architecture and hooks, activation/deactivation/uninstall, admin UI and Settings API, data storage, cron/tasks, security (nonces/capabilities/sanitization/escaping), and release packaging.
|
|
6
|
+
|
|
7
|
+
## Install this skill only
|
|
8
|
+
|
|
9
|
+
Use npm package (recommended):
|
|
10
|
+
|
|
11
|
+
```bash
|
|
12
|
+
npx wp-skills install --dest=. --targets=codex,vscode,claude,cursor,antigravity --skills=wp-plugin-development
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
Use local repository scripts:
|
|
16
|
+
|
|
17
|
+
```bash
|
|
18
|
+
node shared/scripts/skillpack-install.mjs --dest=../your-wp-project --targets=codex,vscode,claude,cursor,antigravity --skills=wp-plugin-development
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
## When to use
|
|
22
|
+
|
|
23
|
+
- Apply this skill when your task matches the scope in [SKILL.md](./SKILL.md).
|
|
24
|
+
- Typical trigger prompt: `Use wp-plugin-development to handle this task in my WordPress repo`.
|
|
25
|
+
|
|
26
|
+
## Inputs to provide
|
|
27
|
+
|
|
28
|
+
- Repository root (or target project path).
|
|
29
|
+
- Exact task goal (feature, refactor, debugging, migration, or review).
|
|
30
|
+
- Constraints: WordPress/PHP versions, plugin/theme boundaries, timeline/risk constraints.
|
|
31
|
+
|
|
32
|
+
## Expected output
|
|
33
|
+
|
|
34
|
+
- Clear implementation plan tied to project context.
|
|
35
|
+
- File-level changes or command steps with verification.
|
|
36
|
+
- Guardrails and risks called out before high-impact operations.
|
|
37
|
+
|
|
38
|
+
## Team guardrails
|
|
39
|
+
|
|
40
|
+
- Prefer existing repo conventions and tooling over introducing new patterns.
|
|
41
|
+
- Avoid destructive DB/content operations without explicit approval.
|
|
42
|
+
- Keep backward compatibility visible for production WordPress sites.
|
|
43
|
+
|
|
44
|
+
## References
|
|
45
|
+
|
|
46
|
+
- Main instructions: [SKILL.md](./SKILL.md)
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
# WP Project Triage
|
|
2
|
+
|
|
3
|
+
## Purpose
|
|
4
|
+
|
|
5
|
+
Use when you need a deterministic inspection of a WordPress repository (plugin/theme/block theme/WP core/Gutenberg/full site) including tooling/tests/version hints, and a structured JSON report to guide workflows and guardrails.
|
|
6
|
+
|
|
7
|
+
## Install this skill only
|
|
8
|
+
|
|
9
|
+
Use npm package (recommended):
|
|
10
|
+
|
|
11
|
+
```bash
|
|
12
|
+
npx wp-skills install --dest=. --targets=codex,vscode,claude,cursor,antigravity --skills=wp-project-triage
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
Use local repository scripts:
|
|
16
|
+
|
|
17
|
+
```bash
|
|
18
|
+
node shared/scripts/skillpack-install.mjs --dest=../your-wp-project --targets=codex,vscode,claude,cursor,antigravity --skills=wp-project-triage
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
## When to use
|
|
22
|
+
|
|
23
|
+
- Apply this skill when your task matches the scope in [SKILL.md](./SKILL.md).
|
|
24
|
+
- Typical trigger prompt: `Use wp-project-triage to handle this task in my WordPress repo`.
|
|
25
|
+
|
|
26
|
+
## Inputs to provide
|
|
27
|
+
|
|
28
|
+
- Repository root (or target project path).
|
|
29
|
+
- Exact task goal (feature, refactor, debugging, migration, or review).
|
|
30
|
+
- Constraints: WordPress/PHP versions, plugin/theme boundaries, timeline/risk constraints.
|
|
31
|
+
|
|
32
|
+
## Expected output
|
|
33
|
+
|
|
34
|
+
- Clear implementation plan tied to project context.
|
|
35
|
+
- File-level changes or command steps with verification.
|
|
36
|
+
- Guardrails and risks called out before high-impact operations.
|
|
37
|
+
|
|
38
|
+
## Team guardrails
|
|
39
|
+
|
|
40
|
+
- Prefer existing repo conventions and tooling over introducing new patterns.
|
|
41
|
+
- Avoid destructive DB/content operations without explicit approval.
|
|
42
|
+
- Keep backward compatibility visible for production WordPress sites.
|
|
43
|
+
|
|
44
|
+
## References
|
|
45
|
+
|
|
46
|
+
- Main instructions: [SKILL.md](./SKILL.md)
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
# WP REST API
|
|
2
|
+
|
|
3
|
+
## Purpose
|
|
4
|
+
|
|
5
|
+
Use when building, extending, or debugging WordPress REST API endpoints/routes: register_rest_route, WP_REST_Controller/controller classes, schema/argument validation, permission_callback/authentication, response shaping, register_rest_field/register_meta, or exposing CPTs/taxonomies via show_in_rest.
|
|
6
|
+
|
|
7
|
+
## Install this skill only
|
|
8
|
+
|
|
9
|
+
Use npm package (recommended):
|
|
10
|
+
|
|
11
|
+
```bash
|
|
12
|
+
npx wp-skills install --dest=. --targets=codex,vscode,claude,cursor,antigravity --skills=wp-rest-api
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
Use local repository scripts:
|
|
16
|
+
|
|
17
|
+
```bash
|
|
18
|
+
node shared/scripts/skillpack-install.mjs --dest=../your-wp-project --targets=codex,vscode,claude,cursor,antigravity --skills=wp-rest-api
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
## When to use
|
|
22
|
+
|
|
23
|
+
- Apply this skill when your task matches the scope in [SKILL.md](./SKILL.md).
|
|
24
|
+
- Typical trigger prompt: `Use wp-rest-api to handle this task in my WordPress repo`.
|
|
25
|
+
|
|
26
|
+
## Inputs to provide
|
|
27
|
+
|
|
28
|
+
- Repository root (or target project path).
|
|
29
|
+
- Exact task goal (feature, refactor, debugging, migration, or review).
|
|
30
|
+
- Constraints: WordPress/PHP versions, plugin/theme boundaries, timeline/risk constraints.
|
|
31
|
+
|
|
32
|
+
## Expected output
|
|
33
|
+
|
|
34
|
+
- Clear implementation plan tied to project context.
|
|
35
|
+
- File-level changes or command steps with verification.
|
|
36
|
+
- Guardrails and risks called out before high-impact operations.
|
|
37
|
+
|
|
38
|
+
## Team guardrails
|
|
39
|
+
|
|
40
|
+
- Prefer existing repo conventions and tooling over introducing new patterns.
|
|
41
|
+
- Avoid destructive DB/content operations without explicit approval.
|
|
42
|
+
- Keep backward compatibility visible for production WordPress sites.
|
|
43
|
+
|
|
44
|
+
## References
|
|
45
|
+
|
|
46
|
+
- Main instructions: [SKILL.md](./SKILL.md)
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
# WP-CLI and Ops
|
|
2
|
+
|
|
3
|
+
## Purpose
|
|
4
|
+
|
|
5
|
+
Use when working with WP-CLI (wp) for WordPress operations: safe search-replace, db export/import, plugin/theme/user/content management, cron, cache flushing, multisite, and scripting/automation with wp-cli.yml.
|
|
6
|
+
|
|
7
|
+
## Install this skill only
|
|
8
|
+
|
|
9
|
+
Use npm package (recommended):
|
|
10
|
+
|
|
11
|
+
```bash
|
|
12
|
+
npx wp-skills install --dest=. --targets=codex,vscode,claude,cursor,antigravity --skills=wp-wpcli-and-ops
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
Use local repository scripts:
|
|
16
|
+
|
|
17
|
+
```bash
|
|
18
|
+
node shared/scripts/skillpack-install.mjs --dest=../your-wp-project --targets=codex,vscode,claude,cursor,antigravity --skills=wp-wpcli-and-ops
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
## When to use
|
|
22
|
+
|
|
23
|
+
- Apply this skill when your task matches the scope in [SKILL.md](./SKILL.md).
|
|
24
|
+
- Typical trigger prompt: `Use wp-wpcli-and-ops to handle this task in my WordPress repo`.
|
|
25
|
+
|
|
26
|
+
## Inputs to provide
|
|
27
|
+
|
|
28
|
+
- Repository root (or target project path).
|
|
29
|
+
- Exact task goal (feature, refactor, debugging, migration, or review).
|
|
30
|
+
- Constraints: WordPress/PHP versions, plugin/theme boundaries, timeline/risk constraints.
|
|
31
|
+
|
|
32
|
+
## Expected output
|
|
33
|
+
|
|
34
|
+
- Clear implementation plan tied to project context.
|
|
35
|
+
- File-level changes or command steps with verification.
|
|
36
|
+
- Guardrails and risks called out before high-impact operations.
|
|
37
|
+
|
|
38
|
+
## Team guardrails
|
|
39
|
+
|
|
40
|
+
- Prefer existing repo conventions and tooling over introducing new patterns.
|
|
41
|
+
- Avoid destructive DB/content operations without explicit approval.
|
|
42
|
+
- Keep backward compatibility visible for production WordPress sites.
|
|
43
|
+
|
|
44
|
+
## References
|
|
45
|
+
|
|
46
|
+
- Main instructions: [SKILL.md](./SKILL.md)
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
# WordPress Design System (WPDS)
|
|
2
|
+
|
|
3
|
+
## Purpose
|
|
4
|
+
|
|
5
|
+
Use when building UIs leveraging the WordPress Design System (WPDS) and its components, tokens, patterns, etc.
|
|
6
|
+
|
|
7
|
+
## Install this skill only
|
|
8
|
+
|
|
9
|
+
Use npm package (recommended):
|
|
10
|
+
|
|
11
|
+
```bash
|
|
12
|
+
npx wp-skills install --dest=. --targets=codex,vscode,claude,cursor,antigravity --skills=wpds
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
Use local repository scripts:
|
|
16
|
+
|
|
17
|
+
```bash
|
|
18
|
+
node shared/scripts/skillpack-install.mjs --dest=../your-wp-project --targets=codex,vscode,claude,cursor,antigravity --skills=wpds
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
## When to use
|
|
22
|
+
|
|
23
|
+
- Apply this skill when your task matches the scope in [SKILL.md](./SKILL.md).
|
|
24
|
+
- Typical trigger prompt: `Use wpds to handle this task in my WordPress repo`.
|
|
25
|
+
|
|
26
|
+
## Inputs to provide
|
|
27
|
+
|
|
28
|
+
- Repository root (or target project path).
|
|
29
|
+
- Exact task goal (feature, refactor, debugging, migration, or review).
|
|
30
|
+
- Constraints: WordPress/PHP versions, plugin/theme boundaries, timeline/risk constraints.
|
|
31
|
+
|
|
32
|
+
## Expected output
|
|
33
|
+
|
|
34
|
+
- Clear implementation plan tied to project context.
|
|
35
|
+
- File-level changes or command steps with verification.
|
|
36
|
+
- Guardrails and risks called out before high-impact operations.
|
|
37
|
+
|
|
38
|
+
## Team guardrails
|
|
39
|
+
|
|
40
|
+
- Prefer existing repo conventions and tooling over introducing new patterns.
|
|
41
|
+
- Avoid destructive DB/content operations without explicit approval.
|
|
42
|
+
- Keep backward compatibility visible for production WordPress sites.
|
|
43
|
+
|
|
44
|
+
## References
|
|
45
|
+
|
|
46
|
+
- Main instructions: [SKILL.md](./SKILL.md)
|