opencode-skills-antigravity 1.0.11 → 1.0.13

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.
Files changed (33) hide show
  1. package/bundled-skills/aegisops-ai/SKILL.md +127 -0
  2. package/bundled-skills/docs/integrations/jetski-cortex.md +3 -3
  3. package/bundled-skills/docs/integrations/jetski-gemini-loader/README.md +1 -1
  4. package/bundled-skills/docs/maintainers/repo-growth-seo.md +3 -3
  5. package/bundled-skills/docs/maintainers/skills-update-guide.md +1 -1
  6. package/bundled-skills/docs/users/bundles.md +1 -1
  7. package/bundled-skills/docs/users/claude-code-skills.md +1 -1
  8. package/bundled-skills/docs/users/gemini-cli-skills.md +1 -1
  9. package/bundled-skills/docs/users/getting-started.md +1 -1
  10. package/bundled-skills/docs/users/kiro-integration.md +1 -1
  11. package/bundled-skills/docs/users/usage.md +4 -4
  12. package/bundled-skills/docs/users/visual-guide.md +4 -4
  13. package/bundled-skills/snowflake-development/SKILL.md +228 -0
  14. package/bundled-skills/wordpress/SKILL.md +281 -4
  15. package/bundled-skills/wordpress-penetration-testing/SKILL.md +106 -1
  16. package/bundled-skills/wordpress-plugin-development/SKILL.md +296 -3
  17. package/bundled-skills/wordpress-theme-development/SKILL.md +316 -3
  18. package/bundled-skills/wordpress-woocommerce-development/SKILL.md +442 -2
  19. package/bundled-skills/xvary-stock-research/LICENSE +21 -0
  20. package/bundled-skills/xvary-stock-research/SKILL.md +103 -0
  21. package/bundled-skills/xvary-stock-research/assets/nvda-deep-dive-hero.png +0 -0
  22. package/bundled-skills/xvary-stock-research/assets/nvda-deep-dive-scenarios.png +0 -0
  23. package/bundled-skills/xvary-stock-research/assets/nvda-deep-dive-thesis.png +0 -0
  24. package/bundled-skills/xvary-stock-research/assets/social-preview.png +0 -0
  25. package/bundled-skills/xvary-stock-research/examples/nvda-analysis.md +60 -0
  26. package/bundled-skills/xvary-stock-research/references/edgar-guide.md +53 -0
  27. package/bundled-skills/xvary-stock-research/references/methodology.md +153 -0
  28. package/bundled-skills/xvary-stock-research/references/scoring.md +111 -0
  29. package/bundled-skills/xvary-stock-research/tests/test_edgar.py +90 -0
  30. package/bundled-skills/xvary-stock-research/tests/test_market.py +113 -0
  31. package/bundled-skills/xvary-stock-research/tools/edgar.py +495 -0
  32. package/bundled-skills/xvary-stock-research/tools/market.py +302 -0
  33. package/package.json +1 -1
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: wordpress-plugin-development
3
- description: "WordPress plugin development workflow covering plugin architecture, hooks, admin interfaces, REST API, and security best practices."
3
+ description: "WordPress plugin development workflow covering plugin architecture, hooks, admin interfaces, REST API, security best practices, and WordPress 7.0 features: Real-Time Collaboration, AI Connectors, Abilities API, DataViews, and PHP-only blocks."
4
4
  category: granular-workflow-bundle
5
5
  risk: safe
6
6
  source: personal
@@ -11,7 +11,35 @@ date_added: "2026-02-27"
11
11
 
12
12
  ## Overview
13
13
 
14
- Specialized workflow for creating WordPress plugins with proper architecture, hooks system, admin interfaces, REST API endpoints, and security practices.
14
+ Specialized workflow for creating WordPress plugins with proper architecture, hooks system, admin interfaces, REST API endpoints, and security practices. Now includes WordPress 7.0 features for modern plugin development.
15
+
16
+ ## WordPress 7.0 Plugin Development
17
+
18
+ ### Key Features for Plugin Developers
19
+
20
+ 1. **Real-Time Collaboration (RTC) Compatibility**
21
+ - Yjs-based CRDT for simultaneous editing
22
+ - Custom transport via `sync.providers` filter
23
+ - **Requirement**: Register post meta with `show_in_rest => true`
24
+
25
+ 2. **AI Connector Integration**
26
+ - Provider-agnostic AI via `wp_ai_client_prompt()`
27
+ - Settings > Connectors admin screen
28
+ - Works with OpenAI, Claude, Gemini, Ollama
29
+
30
+ 3. **Abilities API**
31
+ - Declare plugin capabilities for AI agents
32
+ - REST API: `/wp-json/abilities/v1/manifest`
33
+ - MCP adapter support
34
+
35
+ 4. **DataViews & DataForm**
36
+ - Modern admin interfaces
37
+ - Replaces WP_List_Table patterns
38
+ - Built-in validation
39
+
40
+ 5. **PHP-Only Blocks**
41
+ - Register blocks without JavaScript
42
+ - Auto-generated Inspector controls
15
43
 
16
44
  ## When to Use This Workflow
17
45
 
@@ -21,6 +49,7 @@ Use this workflow when:
21
49
  - Building admin interfaces
22
50
  - Adding REST API endpoints
23
51
  - Integrating third-party services
52
+ - Implementing WordPress 7.0 AI/Collaboration features
24
53
 
25
54
  ## Workflow Phases
26
55
 
@@ -37,6 +66,20 @@ Use this workflow when:
37
66
  4. Set up autoloading
38
67
  5. Configure text domain
39
68
 
69
+ #### WordPress 7.0 Plugin Header
70
+ ```php
71
+ /*
72
+ Plugin Name: My Plugin
73
+ Plugin URI: https://example.com/my-plugin
74
+ Description: A WordPress 7.0 compatible plugin with AI and RTC support
75
+ Version: 1.0.0
76
+ Requires at least: 6.0
77
+ Requires PHP: 7.4
78
+ Author: Developer Name
79
+ License: GPL2+
80
+ */
81
+ ```
82
+
40
83
  #### Copy-Paste Prompts
41
84
  ```
42
85
  Use @app-builder to scaffold a new WordPress plugin
@@ -54,6 +97,11 @@ Use @app-builder to scaffold a new WordPress plugin
54
97
  4. Set up dependency injection
55
98
  5. Configure plugin lifecycle
56
99
 
100
+ #### WordPress 7.0 Architecture Considerations
101
+ - Prepare for iframed editor compatibility
102
+ - Design for collaboration-aware data flows
103
+ - Consider Abilities API for AI integration
104
+
57
105
  #### Copy-Paste Prompts
58
106
  ```
59
107
  Use @backend-dev-guidelines to design plugin architecture
@@ -88,6 +136,39 @@ Use @wordpress-penetration-testing to understand WordPress hooks
88
136
  4. Add settings sections/fields
89
137
  5. Create admin notices
90
138
 
139
+ #### WordPress 7.0 Admin Considerations
140
+ - Test with new admin color scheme
141
+ - Consider DataViews for data displays
142
+ - Implement view transitions
143
+ - Use new validation patterns
144
+
145
+ #### DataViews Example
146
+ ```javascript
147
+ import { DataViews } from '@wordpress/dataviews';
148
+
149
+ const MyPluginDataView = () => {
150
+ const data = [/* records */];
151
+ const fields = [
152
+ { id: 'title', label: 'Title', sortable: true },
153
+ { id: 'status', label: 'Status', filterBy: true }
154
+ ];
155
+ const view = {
156
+ type: 'table',
157
+ perPage: 10,
158
+ sort: { field: 'title', direction: 'asc' }
159
+ };
160
+
161
+ return (
162
+ <DataViews
163
+ data={data}
164
+ fields={fields}
165
+ view={view}
166
+ onChangeView={handleViewChange}
167
+ />
168
+ );
169
+ };
170
+ ```
171
+
91
172
  #### Copy-Paste Prompts
92
173
  ```
93
174
  Use @frontend-developer to create WordPress admin interface
@@ -106,6 +187,23 @@ Use @frontend-developer to create WordPress admin interface
106
187
  4. Set up data sanitization
107
188
  5. Create data upgrade routines
108
189
 
190
+ #### RTC-Compatible Post Meta
191
+ ```php
192
+ // Register meta for Real-Time Collaboration
193
+ register_post_meta('post', 'my_custom_field', [
194
+ 'type' => 'string',
195
+ 'single' => true,
196
+ 'show_in_rest' => true, // Required for RTC
197
+ 'sanitize_callback' => 'sanitize_text_field',
198
+ ]);
199
+
200
+ // For WP 7.0, also consider:
201
+ register_term_meta('category', 'my_term_field', [
202
+ 'type' => 'string',
203
+ 'show_in_rest' => true,
204
+ ]);
205
+ ```
206
+
109
207
  #### Copy-Paste Prompts
110
208
  ```
111
209
  Use @database-design to design plugin database schema
@@ -124,6 +222,11 @@ Use @database-design to design plugin database schema
124
222
  4. Add request validation
125
223
  5. Document API endpoints
126
224
 
225
+ #### WordPress 7.0 REST API Enhancements
226
+ - Abilities API integration
227
+ - AI Connector endpoints
228
+ - Enhanced validation
229
+
127
230
  #### Copy-Paste Prompts
128
231
  ```
129
232
  Use @api-design-principles to create WordPress REST API endpoints
@@ -142,12 +245,180 @@ Use @api-design-principles to create WordPress REST API endpoints
142
245
  4. Escape all outputs
143
246
  5. Secure database queries
144
247
 
248
+ #### WordPress 7.0 Security Considerations
249
+ - Test Abilities API permission boundaries
250
+ - Validate AI connector credential handling
251
+ - Review collaboration data isolation
252
+ - PHP 7.4+ requirement compliance
253
+
145
254
  #### Copy-Paste Prompts
146
255
  ```
147
256
  Use @wordpress-penetration-testing to audit plugin security
148
257
  ```
149
258
 
150
- ### Phase 8: Testing
259
+ ### Phase 8: WordPress 7.0 Features
260
+
261
+ #### Skills to Invoke
262
+ - `api-design-principles` - AI integration
263
+ - `backend-dev-guidelines` - Block development
264
+
265
+ #### AI Connector Implementation
266
+ ```php
267
+ // Using WordPress 7.0 AI Connector
268
+ add_action('save_post', 'my_plugin_generate_ai_summary', 10, 2);
269
+
270
+ function my_plugin_generate_ai_summary($post_id, $post) {
271
+ if (wp_is_post_autosave($post_id) || wp_is_post_revision($post_id)) {
272
+ return;
273
+ }
274
+
275
+ // Check if AI client is available
276
+ if (!function_exists('wp_ai_client_prompt')) {
277
+ return;
278
+ }
279
+
280
+ $content = strip_tags($post->post_content);
281
+ if (empty($content)) {
282
+ return;
283
+ }
284
+
285
+ // Build prompt - direct string concatenation for input
286
+ $result = wp_ai_client_prompt(
287
+ 'Create a compelling 2-sentence summary for social media: ' . substr($content, 0, 1000)
288
+ );
289
+
290
+ if (is_wp_error($result)) {
291
+ return;
292
+ }
293
+
294
+ // Set temperature for consistent output
295
+ $result->using_temperature(0.3);
296
+ $summary = $result->generate_text();
297
+
298
+ if ($summary && !is_wp_error($summary)) {
299
+ update_post_meta($post_id, '_ai_summary', sanitize_textarea_field($summary));
300
+ }
301
+ }
302
+ ```
303
+
304
+ #### Abilities API Registration
305
+ ```php
306
+ // Register ability categories on their own hook
307
+ add_action('wp_abilities_api_categories_init', function() {
308
+ wp_register_ability_category('content-creation', [
309
+ 'label' => __('Content Creation', 'my-plugin'),
310
+ 'description' => __('Abilities for generating and managing content', 'my-plugin'),
311
+ ]);
312
+ });
313
+
314
+ // Register abilities on their own hook
315
+ add_action('wp_abilities_api_init', function() {
316
+ wp_register_ability('my-plugin/generate-summary', [
317
+ 'label' => __('Generate Summary', 'my-plugin'),
318
+ 'description' => __('Creates an AI-powered summary of content', 'my-plugin'),
319
+ 'category' => 'content-creation',
320
+ 'input_schema' => [
321
+ 'type' => 'object',
322
+ 'properties' => [
323
+ 'content' => ['type' => 'string'],
324
+ 'length' => ['type' => 'integer', 'default' => 2]
325
+ ],
326
+ 'required' => ['content']
327
+ ],
328
+ 'output_schema' => [
329
+ 'type' => 'object',
330
+ 'properties' => [
331
+ 'summary' => ['type' => 'string']
332
+ ]
333
+ ],
334
+ 'execute_callback' => 'my_plugin_generate_summary_cb',
335
+ 'permission_callback' => function() {
336
+ return current_user_can('edit_posts');
337
+ }
338
+ ]);
339
+ });
340
+
341
+ // Handler callback
342
+ function my_plugin_generate_summary_cb($input) {
343
+ $content = isset($input['content']) ? $input['content'] : '';
344
+ $length = isset($input['length']) ? absint($input['length']) : 2;
345
+
346
+ if (empty($content)) {
347
+ return new WP_Error('empty_content', 'No content provided');
348
+ }
349
+
350
+ if (!function_exists('wp_ai_client_prompt')) {
351
+ return new WP_Error('ai_unavailable', 'AI not available');
352
+ }
353
+
354
+ $prompt = sprintf('Create a %d-sentence summary of: %s', $length, substr($content, 0, 2000));
355
+
356
+ $result = wp_ai_client_prompt($prompt)
357
+ ->using_temperature(0.3)
358
+ ->generate_text();
359
+
360
+ if (is_wp_error($result)) {
361
+ return $result;
362
+ }
363
+
364
+ return ['summary' => sanitize_textarea_field($result)];
365
+ }
366
+ ```
367
+
368
+ #### PHP-Only Block Registration
369
+ ```php
370
+ // Register block entirely in PHP (WordPress 7.0)
371
+ // Note: For full PHP-only blocks, use block.json with PHP render_callback
372
+
373
+ // First, create a block.json file in build/ or includes/blocks/
374
+ // Then register in PHP:
375
+
376
+ // Simple PHP-only block registration (WordPress 7.0+)
377
+ if (function_exists('register_block_type')) {
378
+ register_block_type('my-plugin/featured-post', [
379
+ 'render_callback' => function($attributes, $content, $block) {
380
+ $post_id = isset($attributes['postId']) ? absint($attributes['postId']) : 0;
381
+
382
+ if (!$post_id) {
383
+ $post_id = get_the_ID();
384
+ }
385
+
386
+ $post = get_post($post_id);
387
+
388
+ if (!$post) {
389
+ return '';
390
+ }
391
+
392
+ $title = esc_html($post->post_title);
393
+ $excerpt = esc_html(get_the_excerpt($post));
394
+
395
+ return sprintf(
396
+ '<div class="featured-post"><h2>%s</h2><p>%s</p></div>',
397
+ $title,
398
+ $excerpt
399
+ );
400
+ },
401
+ 'attributes' => [
402
+ 'postId' => ['type' => 'integer', 'default' => 0],
403
+ 'showExcerpt' => ['type' => 'boolean', 'default' => true]
404
+ ],
405
+ ]);
406
+ }
407
+ ```
408
+
409
+ #### Disable Collaboration (if needed)
410
+ ```javascript
411
+ // Disable RTC for specific post types
412
+ import { addFilter } from '@wordpress/hooks';
413
+
414
+ addFilter(
415
+ 'sync.providers',
416
+ 'my-plugin/disable-collab',
417
+ () => []
418
+ );
419
+ ```
420
+
421
+ ### Phase 9: Testing
151
422
 
152
423
  #### Skills to Invoke
153
424
  - `test-automator` - Test automation
@@ -160,6 +431,12 @@ Use @wordpress-penetration-testing to audit plugin security
160
431
  4. Test with WordPress test suite
161
432
  5. Configure CI
162
433
 
434
+ #### WordPress 7.0 Testing Priorities
435
+ - Test RTC compatibility
436
+ - Verify AI connector functionality
437
+ - Validate DataViews integration
438
+ - Test Interactivity API with watch()
439
+
163
440
  #### Copy-Paste Prompts
164
441
  ```
165
442
  Use @test-automator to set up plugin testing
@@ -183,10 +460,25 @@ plugin-name/
183
460
  │ ├── class-plugin-public.php
184
461
  │ ├── css/
185
462
  │ └── js/
463
+ ├── blocks/ # PHP-only blocks (WP 7.0)
464
+ ├── abilities/ # Abilities API
465
+ ├── ai/ # AI Connector integration
186
466
  ├── languages/
187
467
  └── vendor/
188
468
  ```
189
469
 
470
+ ## WordPress 7.0 Compatibility Checklist
471
+
472
+ - [ ] PHP 7.4+ requirement documented
473
+ - [ ] Post meta registered with `show_in_rest => true` for RTC
474
+ - [ ] Meta boxes migrated to block-based UIs
475
+ - [ ] AI Connector integration tested
476
+ - [ ] Abilities API registered (if applicable)
477
+ - [ ] DataViews integration tested (if applicable)
478
+ - [ ] Interactivity API uses `watch()` not `effect`
479
+ - [ ] Tested with iframed editor
480
+ - [ ] Collaboration fallback works (post locking)
481
+
190
482
  ## Quality Gates
191
483
 
192
484
  - [ ] Plugin activates without errors
@@ -195,6 +487,7 @@ plugin-name/
195
487
  - [ ] Security measures implemented
196
488
  - [ ] Tests passing
197
489
  - [ ] Documentation complete
490
+ - [ ] WordPress 7.0 compatibility verified
198
491
 
199
492
  ## Related Workflow Bundles
200
493