ima-claude 2.20.0 → 2.26.0
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 +74 -9
- package/dist/cli.js +2 -1
- package/package.json +1 -1
- package/plugins/ima-claude/.claude-plugin/plugin.json +2 -2
- package/plugins/ima-claude/agents/explorer.md +29 -15
- package/plugins/ima-claude/agents/implementer.md +58 -13
- package/plugins/ima-claude/agents/memory.md +19 -19
- package/plugins/ima-claude/agents/reviewer.md +84 -34
- package/plugins/ima-claude/agents/tester.md +59 -16
- package/plugins/ima-claude/agents/wp-developer.md +66 -21
- package/plugins/ima-claude/hooks/bootstrap.sh +42 -44
- package/plugins/ima-claude/hooks/prompt_coach_digest.md +14 -17
- package/plugins/ima-claude/hooks/prompt_coach_system.md +10 -12
- package/plugins/ima-claude/personalities/README.md +17 -6
- package/plugins/ima-claude/personalities/enable-efficient.md +61 -0
- package/plugins/ima-claude/personalities/enable-terse.md +71 -0
- package/plugins/ima-claude/skills/agentic-workflows/SKILL.md +35 -71
- package/plugins/ima-claude/skills/architect/SKILL.md +54 -168
- package/plugins/ima-claude/skills/compound-bridge/SKILL.md +41 -94
- package/plugins/ima-claude/skills/design-to-code/SKILL.md +43 -78
- package/plugins/ima-claude/skills/discourse/SKILL.md +79 -194
- package/plugins/ima-claude/skills/discourse-admin/SKILL.md +41 -103
- package/plugins/ima-claude/skills/docs-organize/SKILL.md +63 -203
- package/plugins/ima-claude/skills/ember-discourse/SKILL.md +90 -200
- package/plugins/ima-claude/skills/espocrm/SKILL.md +14 -23
- package/plugins/ima-claude/skills/espocrm-api/SKILL.md +79 -192
- package/plugins/ima-claude/skills/functional-programmer/SKILL.md +33 -237
- package/plugins/ima-claude/skills/gh-cli/SKILL.md +26 -65
- package/plugins/ima-claude/skills/ima-bootstrap/SKILL.md +71 -104
- package/plugins/ima-claude/skills/ima-bootstrap/references/ima-brand.md +32 -22
- package/plugins/ima-claude/skills/ima-brand/SKILL.md +18 -23
- package/plugins/ima-claude/skills/ima-copywriting/SKILL.md +68 -179
- package/plugins/ima-claude/skills/ima-doc2pdf/SKILL.md +32 -102
- package/plugins/ima-claude/skills/ima-editorial-scorecard/SKILL.md +38 -63
- package/plugins/ima-claude/skills/ima-editorial-workflow/SKILL.md +69 -114
- package/plugins/ima-claude/skills/ima-email-creator/SKILL.md +16 -22
- package/plugins/ima-claude/skills/ima-forms-expert/SKILL.md +21 -37
- package/plugins/ima-claude/skills/ima-git/SKILL.md +81 -0
- package/plugins/ima-claude/skills/jira-checkpoint/SKILL.md +39 -120
- package/plugins/ima-claude/skills/jquery/SKILL.md +107 -233
- package/plugins/ima-claude/skills/js-fp/SKILL.md +75 -296
- package/plugins/ima-claude/skills/js-fp-api/SKILL.md +52 -162
- package/plugins/ima-claude/skills/js-fp-react/SKILL.md +47 -270
- package/plugins/ima-claude/skills/js-fp-vue/SKILL.md +55 -209
- package/plugins/ima-claude/skills/js-fp-wordpress/SKILL.md +59 -204
- package/plugins/ima-claude/skills/livecanvas/SKILL.md +19 -32
- package/plugins/ima-claude/skills/mcp-atlassian/SKILL.md +92 -162
- package/plugins/ima-claude/skills/mcp-context7/SKILL.md +32 -64
- package/plugins/ima-claude/skills/mcp-gitea/SKILL.md +98 -188
- package/plugins/ima-claude/skills/mcp-github/SKILL.md +60 -124
- package/plugins/ima-claude/skills/mcp-memory/SKILL.md +1 -177
- package/plugins/ima-claude/skills/mcp-qdrant/SKILL.md +58 -115
- package/plugins/ima-claude/skills/mcp-sequential/SKILL.md +32 -87
- package/plugins/ima-claude/skills/mcp-serena/SKILL.md +54 -80
- package/plugins/ima-claude/skills/mcp-tavily/SKILL.md +40 -63
- package/plugins/ima-claude/skills/mcp-vestige/SKILL.md +75 -116
- package/plugins/ima-claude/skills/php-authnet/SKILL.md +32 -65
- package/plugins/ima-claude/skills/php-fp/SKILL.md +50 -129
- package/plugins/ima-claude/skills/php-fp-wordpress/SKILL.md +25 -73
- package/plugins/ima-claude/skills/phpunit-wp/SKILL.md +103 -463
- package/plugins/ima-claude/skills/playwright/SKILL.md +69 -220
- package/plugins/ima-claude/skills/prompt-starter/SKILL.md +33 -83
- package/plugins/ima-claude/skills/prompt-starter/references/code-review.md +38 -0
- package/plugins/ima-claude/skills/py-fp/SKILL.md +78 -384
- package/plugins/ima-claude/skills/quasar-fp/SKILL.md +54 -255
- package/plugins/ima-claude/skills/quickstart/SKILL.md +7 -11
- package/plugins/ima-claude/skills/rails/SKILL.md +63 -184
- package/plugins/ima-claude/skills/resume-session/SKILL.md +14 -35
- package/plugins/ima-claude/skills/rg/SKILL.md +61 -146
- package/plugins/ima-claude/skills/ruby-fp/SKILL.md +66 -163
- package/plugins/ima-claude/skills/save-session/SKILL.md +10 -39
- package/plugins/ima-claude/skills/scorecard/SKILL.md +42 -40
- package/plugins/ima-claude/skills/skill-analyzer/SKILL.md +42 -71
- package/plugins/ima-claude/skills/skill-creator/SKILL.md +79 -250
- package/plugins/ima-claude/skills/task-master/SKILL.md +11 -31
- package/plugins/ima-claude/skills/task-planner/SKILL.md +44 -153
- package/plugins/ima-claude/skills/task-runner/SKILL.md +61 -143
- package/plugins/ima-claude/skills/unit-testing/SKILL.md +59 -134
- package/plugins/ima-claude/skills/wp-ddev/SKILL.md +38 -120
- package/plugins/ima-claude/skills/wp-local/SKILL.md +26 -108
|
@@ -10,43 +10,30 @@ Execute WP-CLI commands in Flywheel Local WP environments without disrupting Cla
|
|
|
10
10
|
## Quick Start
|
|
11
11
|
|
|
12
12
|
**Prerequisites**:
|
|
13
|
-
-
|
|
14
|
-
-
|
|
13
|
+
- Recommended: Kitty terminal with `$WP_LOCAL_SITE` configured
|
|
14
|
+
- Alternative: `.wp-local` file in project root: `echo "19efkkzWB" > .wp-local`
|
|
15
15
|
|
|
16
|
-
**Run wp commands** (after alias setup in Configuration):
|
|
17
16
|
```bash
|
|
18
17
|
wpl plugin list
|
|
19
18
|
wpl db query "SELECT * FROM wp_posts LIMIT 5"
|
|
20
19
|
wpl user list
|
|
21
20
|
```
|
|
22
21
|
|
|
23
|
-
**
|
|
22
|
+
**Direct invocation** (auto-discovers install):
|
|
24
23
|
```bash
|
|
25
24
|
WP_LOCAL_SH=$(ls ~/.claude/skills/wp-local/scripts/wp-local.sh 2>/dev/null || ls ~/.claude/plugins/*/*/plugins/ima-claude/skills/wp-local/scripts/wp-local.sh 2>/dev/null | head -1)
|
|
26
25
|
bash "$WP_LOCAL_SH" plugin list
|
|
27
26
|
```
|
|
28
27
|
|
|
29
|
-
**
|
|
30
|
-
```bash
|
|
31
|
-
echo $WP_LOCAL_SITE # Should show UUID like: -hJRW0lQL
|
|
32
|
-
```
|
|
28
|
+
**Priority order**: `$WP_LOCAL_SITE` env var → `.wp-local` file → error
|
|
33
29
|
|
|
34
30
|
## How It Works
|
|
35
31
|
|
|
36
|
-
|
|
37
|
-
2. **Isolated execution**: Each wp command runs in subprocess with Local WP environment sourced
|
|
38
|
-
3. **Clean main session**: Claude Code tab environment unaffected (MCPs work normally)
|
|
39
|
-
4. **Friendly names**: Optional mapping via `~/.claude/wp-local-sites.json`
|
|
40
|
-
|
|
41
|
-
**Priority order:**
|
|
42
|
-
1. `$WP_LOCAL_SITE` environment variable (Kitty terminal integration)
|
|
43
|
-
2. `.wp-local` file (project-specific override)
|
|
44
|
-
3. Error if neither configured
|
|
32
|
+
Each `wpl` command runs in subprocess with Local WP environment sourced. Main Claude session stays clean (MCPs work normally). Optional friendly name mapping via `~/.claude/wp-local-sites.json`.
|
|
45
33
|
|
|
46
34
|
## Common Commands
|
|
47
35
|
|
|
48
|
-
### Database
|
|
49
|
-
`wp db query <sql>` · `wp db export [file]` · `wp db import <file>` · `wp search-replace <old> <new> [table...]`
|
|
36
|
+
### Database
|
|
50
37
|
```bash
|
|
51
38
|
wpl db query "SELECT * FROM wp_users"
|
|
52
39
|
wpl db export dump.sql
|
|
@@ -55,29 +42,23 @@ wpl search-replace 'old.com' 'new.com' --dry-run
|
|
|
55
42
|
wpl search-replace 'old.com' 'new.com' --all-tables
|
|
56
43
|
```
|
|
57
44
|
|
|
58
|
-
###
|
|
59
|
-
`wp plugin list` · `wp plugin activate <plugin>` · `wp plugin deactivate <plugin>` · `wp plugin install <plugin> [--activate]`
|
|
45
|
+
### Plugins
|
|
60
46
|
```bash
|
|
61
|
-
wpl plugin list
|
|
62
47
|
wpl plugin list --status=active --format=json
|
|
63
48
|
wpl plugin activate my-plugin
|
|
64
|
-
wpl plugin deactivate my-plugin
|
|
65
49
|
wpl plugin install contact-form-7 --activate
|
|
66
50
|
wpl plugin is-installed woocommerce && echo "yes"
|
|
67
51
|
```
|
|
68
52
|
|
|
69
|
-
###
|
|
70
|
-
`wp user list` · `wp user create <login> <email> [--role=<role>]` · `wp user update <user> [--field=value]`
|
|
53
|
+
### Users
|
|
71
54
|
```bash
|
|
72
|
-
wpl user list
|
|
73
55
|
wpl user list --role=administrator --format=table
|
|
74
56
|
wpl user create testuser test@example.com --role=editor
|
|
75
57
|
wpl user update 1 --display_name="Admin User"
|
|
76
58
|
wpl user add-role 2 editor
|
|
77
59
|
```
|
|
78
60
|
|
|
79
|
-
###
|
|
80
|
-
`wp theme list` · `wp theme activate <theme>` · `wp theme install <theme>`
|
|
61
|
+
### Themes
|
|
81
62
|
```bash
|
|
82
63
|
wpl theme list
|
|
83
64
|
wpl theme activate twentytwentyfour
|
|
@@ -85,16 +66,13 @@ wpl theme status flavor
|
|
|
85
66
|
```
|
|
86
67
|
|
|
87
68
|
### Cache & Transients
|
|
88
|
-
`wp cache flush` · `wp transient delete --all` · `wp transient get <key>`
|
|
89
69
|
```bash
|
|
90
70
|
wpl cache flush
|
|
91
71
|
wpl transient delete --all
|
|
92
72
|
wpl transient get my_transient_key
|
|
93
|
-
wpl transient list --format=table
|
|
94
73
|
```
|
|
95
74
|
|
|
96
75
|
### Options
|
|
97
|
-
`wp option get <key>` · `wp option update <key> <value>` · `wp option list [--search=<pattern>]`
|
|
98
76
|
```bash
|
|
99
77
|
wpl option get siteurl
|
|
100
78
|
wpl option update blogname "New Site Name"
|
|
@@ -102,20 +80,17 @@ wpl option list --search="woocommerce_*" --format=table
|
|
|
102
80
|
wpl option delete my_old_option
|
|
103
81
|
```
|
|
104
82
|
|
|
105
|
-
###
|
|
106
|
-
`wp post list [--post_type=<type>]` · `wp post create` · `wp post update <id>` · `wp post delete <id>`
|
|
83
|
+
### Posts
|
|
107
84
|
```bash
|
|
108
85
|
wpl post list --post_type=page --format=table
|
|
109
86
|
wpl post list --post_status=draft --fields=ID,post_title
|
|
110
87
|
wpl post create --post_type=post --post_title="Test" --post_status=publish
|
|
111
88
|
wpl post update 42 --post_title="Updated Title"
|
|
112
89
|
wpl post delete 42 --force
|
|
113
|
-
wpl post meta get 42 _thumbnail_id
|
|
114
90
|
wpl post meta update 42 custom_field "new value"
|
|
115
91
|
```
|
|
116
92
|
|
|
117
|
-
### Taxonomy
|
|
118
|
-
`wp term list <taxonomy>` · `wp term create <taxonomy> <term>` · `wp term update <taxonomy> <term-id>`
|
|
93
|
+
### Taxonomy
|
|
119
94
|
```bash
|
|
120
95
|
wpl term list category --format=table
|
|
121
96
|
wpl term create category "New Category" --slug=new-category
|
|
@@ -124,24 +99,19 @@ wpl term delete category 5
|
|
|
124
99
|
```
|
|
125
100
|
|
|
126
101
|
### Menu
|
|
127
|
-
`wp menu list` · `wp menu item list <menu>` · `wp menu item add-post <menu> <post-id>`
|
|
128
102
|
```bash
|
|
129
103
|
wpl menu list --format=table
|
|
130
|
-
wpl menu item list primary-menu
|
|
131
104
|
wpl menu item add-post primary-menu 42
|
|
132
105
|
wpl menu item add-custom primary-menu "Link" https://example.com
|
|
133
106
|
```
|
|
134
107
|
|
|
135
|
-
### Rewrite
|
|
136
|
-
`wp rewrite flush` · `wp rewrite list` · `wp rewrite structure <structure>`
|
|
108
|
+
### Rewrite
|
|
137
109
|
```bash
|
|
138
110
|
wpl rewrite flush
|
|
139
|
-
wpl rewrite list --format=csv
|
|
140
111
|
wpl rewrite structure '/%postname%/'
|
|
141
112
|
```
|
|
142
113
|
|
|
143
114
|
### Scaffold
|
|
144
|
-
`wp scaffold plugin <slug>` · `wp scaffold child-theme <slug>` · `wp scaffold post-type <slug>`
|
|
145
115
|
```bash
|
|
146
116
|
wpl scaffold plugin my-plugin --plugin_name="My Plugin"
|
|
147
117
|
wpl scaffold post-type product --plugin=my-plugin
|
|
@@ -149,98 +119,46 @@ wpl scaffold taxonomy genre --post_types=product --plugin=my-plugin
|
|
|
149
119
|
wpl scaffold child-theme flavor-child --parent_theme=flavor
|
|
150
120
|
```
|
|
151
121
|
|
|
152
|
-
### Eval
|
|
153
|
-
`wp eval <code>` · `wp eval-file <file>` · `wp shell`
|
|
122
|
+
### Eval
|
|
154
123
|
```bash
|
|
155
124
|
wpl eval "echo home_url();"
|
|
156
125
|
wpl eval "var_dump(wp_get_current_user());"
|
|
157
|
-
wpl eval "echo get_option('active_plugins') | print_r;"
|
|
158
126
|
wpl eval-file test-script.php
|
|
159
127
|
```
|
|
160
128
|
|
|
161
129
|
## Global Flags
|
|
162
130
|
|
|
163
|
-
These flags work with most WP-CLI commands:
|
|
164
|
-
|
|
165
131
|
| Flag | Description |
|
|
166
132
|
|---|---|
|
|
167
|
-
| `--format=<format>` |
|
|
168
|
-
| `--fields=<fields>` | Comma-separated columns
|
|
133
|
+
| `--format=<format>` | `table`, `csv`, `json`, `yaml`, `count`, `ids` |
|
|
134
|
+
| `--fields=<fields>` | Comma-separated columns |
|
|
169
135
|
| `--quiet` | Suppress informational messages |
|
|
170
|
-
| `--skip-themes` | Skip loading themes
|
|
171
|
-
| `--skip-plugins` | Skip
|
|
172
|
-
| `--skip-plugins=<plugin>` | Skip
|
|
136
|
+
| `--skip-themes` | Skip loading themes |
|
|
137
|
+
| `--skip-plugins` | Skip all plugins (debug conflicts) |
|
|
138
|
+
| `--skip-plugins=<plugin>` | Skip specific plugin |
|
|
173
139
|
| `--debug` | Show debug output |
|
|
174
|
-
| `--user=<id\|login>` | Run
|
|
175
|
-
|
|
176
|
-
## Finding More Commands
|
|
177
|
-
|
|
178
|
-
The 12 categories above cover ~90% of daily local dev usage. For everything else:
|
|
140
|
+
| `--user=<id\|login>` | Run as specific user |
|
|
179
141
|
|
|
180
142
|
```bash
|
|
181
|
-
# Browse all available commands
|
|
182
143
|
wpl help
|
|
183
|
-
|
|
184
|
-
# Get detailed help for a command group
|
|
185
144
|
wpl help plugin
|
|
186
|
-
wpl help post
|
|
187
|
-
|
|
188
|
-
# Get help for a specific subcommand
|
|
189
|
-
wpl help plugin install
|
|
190
145
|
wpl help post list
|
|
191
146
|
```
|
|
192
147
|
|
|
193
|
-
See [`references/wp-cli-reference.md`](references/wp-cli-reference.md) for
|
|
148
|
+
See [`references/wp-cli-reference.md`](references/wp-cli-reference.md) for full command reference.
|
|
194
149
|
|
|
195
150
|
## Configuration
|
|
196
151
|
|
|
197
|
-
See [`references/configuration.md`](references/configuration.md) for
|
|
198
|
-
- **Recommended**: Kitty terminal integration with `$WP_LOCAL_SITE`
|
|
199
|
-
- **Alternative**: Creating `.wp-local` file for project-specific override
|
|
200
|
-
- Finding site UUIDs
|
|
201
|
-
- Setting up friendly name mapping
|
|
202
|
-
- Shell alias setup
|
|
203
|
-
- Troubleshooting
|
|
152
|
+
See [`references/configuration.md`](references/configuration.md) for Kitty integration, UUID lookup, friendly name mapping, alias setup, troubleshooting.
|
|
204
153
|
|
|
205
|
-
**Quick Kitty Config
|
|
206
|
-
Modify Claude Code tab in `/home/eric/kitty/configs/[site].conf`:
|
|
154
|
+
**Quick Kitty Config** — modify Claude Code tab in `/home/eric/kitty/configs/[site].conf`:
|
|
207
155
|
```conf
|
|
208
156
|
launch bash -c "export WP_LOCAL_SITE='UUID'; exec bash"
|
|
209
157
|
```
|
|
210
158
|
|
|
211
|
-
## Integration
|
|
212
|
-
|
|
213
|
-
**With php-fp-wordpress**:
|
|
214
|
-
- Test plugins during development
|
|
215
|
-
- Verify security functions
|
|
216
|
-
- Check database operations
|
|
217
|
-
|
|
218
|
-
**With js-fp-wordpress**:
|
|
219
|
-
- Test script enqueuing
|
|
220
|
-
- Verify AJAX endpoints
|
|
221
|
-
- Check jQuery availability
|
|
222
|
-
|
|
223
|
-
Example workflow:
|
|
224
|
-
```bash
|
|
225
|
-
# 1. Develop plugin with php-fp-wordpress patterns
|
|
226
|
-
# 2. Test with wp-local
|
|
227
|
-
wpl plugin activate my-new-plugin
|
|
228
|
-
wpl eval "var_dump(current_user_can('edit_posts'));"
|
|
229
|
-
```
|
|
230
|
-
|
|
231
|
-
## Why This Approach?
|
|
232
|
-
|
|
233
|
-
**Problem**: Local WP environment breaks MCP servers when sourced in main session.
|
|
234
|
-
|
|
235
|
-
**Solution**: Bash subprocess isolation:
|
|
236
|
-
- Main session stays clean → MCPs work
|
|
237
|
-
- Each wp command gets proper environment → wp works
|
|
238
|
-
- No persistent environment pollution
|
|
239
|
-
- Simple, native Unix pattern
|
|
240
|
-
|
|
241
159
|
## Quality Gates
|
|
242
160
|
|
|
243
|
-
Before
|
|
244
|
-
-
|
|
245
|
-
-
|
|
246
|
-
-
|
|
161
|
+
Before destructive commands:
|
|
162
|
+
- Correct site (`.wp-local` points to intended site)
|
|
163
|
+
- Backup if needed (database modifications)
|
|
164
|
+
- Site running (Local WP app)
|