You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+39-1Lines changed: 39 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
3
3
Shared source for WordPress-focused agent skills and plugin packaging.
4
4
5
-
This repo currently packages shared skills and setup files for Amp, Cline, Codex, Claude Code, Cursor, Continue, Devin CLI, Factory Droid, GitHub Copilot, Gemini, Junie, Pi, Qodo, Roo Code, Windsurf/Cascade, Aider, and Zed as separate outputs:
5
+
This repo currently packages shared skills and setup files for Amp, Cline, Codex, Claude Code, Cursor, Continue, Devin CLI, Factory Droid, GitHub Copilot, Gemini, Junie, Kilo Code, Pi, Qodo, Roo Code, Windsurf/Cascade, Aider, and Zed as separate outputs:
6
6
7
7
- prefers the WordPress Studio MCP server for site management, screenshots, and block validation
8
8
- falls back to the Studio CLI through a shared Studio skill when MCP is unavailable
@@ -16,6 +16,7 @@ This repo currently packages shared skills and setup files for Amp, Cline, Codex
16
16
- includes an Aider config and conventions pack for terminal pair-programming
17
17
- keeps skills shared so other surfaces can reuse them later
18
18
- includes Continue-native setup files for WordPress.com rules, prompts, and MCP configuration
19
+
- adds Kilo Code-native rules, skills, agent, AGENTS.md, plugin directory documentation, and project MCP config
19
20
- includes Devin CLI project config, rules, and skills under Devin's documented `.devin/` surfaces
20
21
- adds Cline workspace rules, skills, MCP settings, and Cline plugin-surface documentation from official Cline docs
21
22
- adds a Pi skills package using Pi's official package manifest and Agent Skills support
@@ -150,6 +151,21 @@ claude --plugin-dir ./plugins/claude-code
150
151
- running an audit request
151
152
6. For workflow telemetry coverage, make sure the generated `wordpress-telemetry` MCP server starts alongside `wordpress-studio`.
152
153
154
+
### Test in Kilo Code
155
+
156
+
1. Install Kilo Code from the official docs: https://kilocode.ai/docs/getting-started/installing
157
+
2. Open `./plugins/kilo-code` as the Kilo Code project root, or copy `kilo.jsonc`, `AGENTS.md`, and `.kilo/` into a target workspace root.
158
+
3. Confirm the generated Kilo config exists at `plugins/kilo-code/kilo.jsonc`.
159
+
4. Confirm the generated Kilo custom rule exists at `plugins/kilo-code/.kilo/rules/wordpress-com.md`.
160
+
5. Confirm the shared skills exist under `plugins/kilo-code/.kilo/skills/`.
161
+
6. In Kilo Code, confirm `wordpress-studio` and `wordpress-telemetry` are available in MCP settings.
162
+
7. Try the same representative tasks:
163
+
- creating a new site
164
+
- building or editing a theme
165
+
- creating a custom block
166
+
- creating a custom plugin
167
+
- running an audit request
168
+
153
169
### Test in Junie
154
170
155
171
1. Copy or open `./plugins/junie` as the Junie project root.
@@ -301,6 +317,7 @@ pi install ./plugins/pi
301
317
- Roo Code workspace output in `plugins/roo-code/`
302
318
- Cline workspace output in `plugins/cline/`
303
319
- Gemini packaging output in `plugins/gemini/`
320
+
- Kilo Code packaging output in `plugins/kilo-code/`
304
321
- Junie packaging output in `plugins/junie/`
305
322
- GitHub Copilot packaging output in `plugins/copilot/`
306
323
- Qodo workspace output in `plugins/qodo/`
@@ -328,6 +345,7 @@ The build packages the shared skills into:
328
345
-`plugins/gemini/skills/`
329
346
-`plugins/junie/.junie/skills/`
330
347
-`plugins/copilot/skills/`
348
+
-`plugins/kilo-code/.kilo/skills/`
331
349
-`plugins/qodo/skills/`
332
350
-`plugins/zed/.agents/skills/`
333
351
-`plugins/windsurf/skills/`
@@ -349,6 +367,7 @@ It also generates plugin-specific MCP configs or setup guidance for each surface
- Qodo: documented in `plugins/qodo/README.md` because official Qodo docs describe MCP setup through Agentic Tools or enterprise allow-lists, not automatic repo-local `.mcp.json` discovery
@@ -534,6 +553,25 @@ That folder currently contains:
534
553
535
554
The generated Gemini MCP config launches both `studio mcp` and the bundled `wordpress-telemetry` MCP server. `GEMINI.md` is the project-level instruction file for Gemini CLI and Gemini Code Assist workflows.
536
555
556
+
The Kilo Code output is generated to:
557
+
558
+
```text
559
+
plugins/kilo-code/
560
+
```
561
+
562
+
That folder currently contains:
563
+
564
+
-`kilo.jsonc`
565
+
-`AGENTS.md`
566
+
-`.kilo/agents/wordpress-com.md`
567
+
-`.kilo/rules/wordpress-com.md`
568
+
-`.kilo/plugin/README.md`
569
+
-`.kilo/skills/`
570
+
-`scripts/wordpress-telemetry-mcp.mjs`
571
+
-`README.md`
572
+
573
+
The generated Kilo Code project config launches both `studio mcp` and the bundled `wordpress-telemetry` MCP server using Kilo's current `mcp` config shape. It uses Kilo-native rules, agents, skills, and AGENTS.md support documented at https://kilocode.ai/docs/.
description: Builds, customizes, audits, and troubleshoots WordPress.com sites using Studio MCP and shared WordPress skills.
3
+
mode: all
4
+
---
5
+
6
+
You are a WordPress.com specialist for Kilo Code.
7
+
8
+
Use WordPress.com as the product name in user-facing text. For WordPress.com build, theme, block, plugin, site-creation, or audit requests, load the `wordpress-creator` skill first and follow its routing.
9
+
10
+
Prefer the `wordpress-studio` MCP server for site operations, screenshots, block validation, `wp_cli`, and WordPress.com / Jetpack-connected workflows. Use the `wordpress-telemetry` MCP server for workflow telemetry when available.
Kilo Code loads project-local JavaScript or TypeScript plugins from this directory.
4
+
5
+
This WordPress.com output does not currently ship a Kilo-only plugin hook. The integration uses Kilo's native config, custom rules, agents, skills, AGENTS.md, and MCP support instead of inventing a plugin marketplace or a new backend service.
- Use the product name WordPress.com in user-facing text.
4
+
- Prefer the configured `wordpress-studio` MCP server for site discovery, site changes, screenshots, block validation, and WordPress operations.
5
+
- Use the bundled `wordpress-telemetry` MCP server for workflow telemetry emitted by this package.
6
+
- Route implementation requests through the shared skills in `.kilo/skills/`, starting with `wordpress-creator` unless the user clearly asks for a narrower path.
7
+
- Preserve existing project conventions and make the smallest complete change.
8
+
- For themes, blocks, plugins, and content changes, inspect the current WordPress project structure before editing.
9
+
- Use WordPress APIs, Gutenberg block markup, and WP-CLI-compatible operations instead of custom one-off storage or service layers.
description: Audit a Studio-backed WordPress site for performance, accessibility, and visible frontend quality issues, then recommend or validate improvements.
4
+
---
5
+
6
+
# Auditing
7
+
8
+
Use this skill when the user wants to review, optimize, or verify an existing WordPress site rather than primarily build new functionality.
9
+
10
+
## Ownership
11
+
12
+
This skill owns:
13
+
14
+
- performance audits using Studio MCP tools
15
+
- accessibility-focused review of color, contrast, motion, and readability
16
+
- visible frontend quality review when the user asks for QA or polish
17
+
- before-and-after audit comparison after fixes
18
+
19
+
Use `studio` for site resolution, screenshots, and MCP tool usage details.
20
+
21
+
## Principle
22
+
23
+
Start with the smallest audit that answers the user's request.
24
+
25
+
- If the user asks about speed, Core Web Vitals, or performance, prioritize the performance workflow.
26
+
- If the user asks about accessibility, contrast, readability, or color usage, prioritize the accessibility workflow.
27
+
- If the user asks for a general review, combine the relevant sections and keep the report practical.
28
+
29
+
Do not invent automated checks that the available tools do not provide. When a conclusion comes from visual inspection or code reading rather than a dedicated tool, say so.
30
+
31
+
## Workflow
32
+
33
+
### 1. Resolve the target site
34
+
35
+
Use `studio` to:
36
+
37
+
- identify the site
38
+
- ensure it is running
39
+
- confirm the page or URL path to review
40
+
41
+
If the user did not specify a page, default to `/`.
42
+
43
+
### 2. Pick the audit scope
44
+
45
+
Choose one or more of:
46
+
47
+
- Performance Audit
48
+
- Accessibility Review
49
+
- Visual QA
50
+
51
+
Tell the user which scope you are using when it is not obvious from the request.
52
+
53
+
Once you begin the actual audit workflow, call `record_workflow_event` with `workflow: "auditing"` and `stage: "started"`.
54
+
55
+
### 3. Performance Audit
56
+
57
+
Use `need_for_speed` for the requested path.
58
+
59
+
Interpret at least:
60
+
61
+
- TTFB
62
+
- FCP
63
+
- LCP
64
+
- CLS
65
+
- total page weight
66
+
- request count
67
+
- DOM size
68
+
- JS, CSS, image, and font breakdown
69
+
70
+
Use these baseline thresholds:
71
+
72
+
| Metric | Good | Needs Improvement | Poor |
73
+
|-------|------|-------------------|------|
74
+
| TTFB | < 800 ms | 800-1800 ms | > 1800 ms |
75
+
| FCP | < 1800 ms | 1800-3000 ms | > 3000 ms |
76
+
| LCP | < 2500 ms | 2500-4000 ms | > 4000 ms |
77
+
| CLS | < 0.1 | 0.1-0.25 | > 0.25 |
78
+
79
+
Use these page-composition warning signs:
80
+
81
+
- DOM elements above 1500
82
+
- total page weight above 3 MB
83
+
- total requests above 80
84
+
- scripts above 20 files or 500 KB total
85
+
- stylesheets above 10 files or 200 KB total
86
+
87
+
Translate findings into WordPress-specific actions where possible, such as:
88
+
89
+
- reducing or replacing heavy plugins
90
+
- deferring or removing non-critical JS
91
+
- reducing oversized images
92
+
- trimming unused theme CSS
93
+
- checking duplicate font loads
94
+
- simplifying wrapper-heavy block layouts
95
+
96
+
### 4. Accessibility Review
97
+
98
+
Use `take_screenshot` plus theme or plugin code inspection as needed.
99
+
100
+
Focus on issues this repo can realistically help with:
101
+
102
+
- low text/background contrast
103
+
- weak CTA contrast or ambiguous button states
104
+
- missing or unclear hover and focus states
105
+
- motion that should respect `prefers-reduced-motion`
106
+
- readability issues caused by font size, line height, or dense layouts
107
+
- color choices that make important information hard to distinguish
108
+
109
+
When the issue is visual, prefer `take_screenshot`-backed observations. Use `inspect_design` when the rendered DOM or computed styles would identify the root cause faster than code inspection.
110
+
111
+
When the issue appears structural, inspect the relevant theme or plugin files before recommending a fix.
112
+
113
+
### 5. Visual QA
114
+
115
+
When the user wants a broader quality pass, use `take_screenshot` to check:
116
+
117
+
- spacing and alignment
118
+
- responsive layout issues
119
+
- broken visual hierarchy
120
+
- inconsistent component styling
121
+
- awkward cropping or media balance
122
+
123
+
Keep this section focused on visible problems that materially affect the site.
124
+
125
+
### 6. Report clearly
126
+
127
+
Summarize:
128
+
129
+
- what you audited
130
+
- the most important findings
131
+
- the likely causes
132
+
- the highest-value next fixes
133
+
134
+
Prefer a short prioritized report over a long exhaustive list.
135
+
136
+
### 7. Re-test after changes
137
+
138
+
If fixes are made during the same task, re-run the relevant audit steps and compare before versus after.
139
+
140
+
Call out what improved, what did not, and any remaining tradeoffs.
141
+
142
+
When the audit workflow is complete, call `record_workflow_event` with `workflow: "auditing"` and `stage: "completed"`.
143
+
144
+
## Important notes
145
+
146
+
-`need_for_speed` results are synthetic measurements from a local Studio environment. Use them primarily for diagnosis and before-versus-after comparison, not as production truth.
147
+
- Accessibility observations in this workflow are often based on visual review and code inspection rather than a dedicated automated accessibility scanner.
148
+
- When performance, accessibility, and design issues conflict, explain the tradeoff instead of over-optimizing one dimension silently.
0 commit comments