bmad-plus 0.3.3 → 0.4.1
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/CHANGELOG.md +34 -0
- package/README.md +12 -56
- package/osint-agent-package/skills/bmad-osint-investigate/osint/SKILL.md +452 -452
- package/osint-agent-package/skills/bmad-osint-investigate/osint/assets/dossier-template.md +116 -116
- package/osint-agent-package/skills/bmad-osint-investigate/osint/references/content-extraction.md +100 -100
- package/osint-agent-package/skills/bmad-osint-investigate/osint/references/platforms.md +130 -130
- package/osint-agent-package/skills/bmad-osint-investigate/osint/references/psychoprofile.md +69 -69
- package/osint-agent-package/skills/bmad-osint-investigate/osint/references/tools.md +281 -281
- package/osint-agent-package/skills/bmad-osint-investigate/osint/scripts/mcp-client.py +136 -136
- package/package.json +1 -1
- package/readme-international/README.de.md +1 -1
- package/readme-international/README.es.md +1 -1
- package/readme-international/README.fr.md +1 -1
- package/tools/cli/commands/install.js +74 -46
- package/tools/cli/i18n.js +501 -0
- package/oveanet-pack/animated-website/DEPLOYMENT.md +0 -104
- package/oveanet-pack/animated-website/README.md +0 -63
- package/oveanet-pack/animated-website/agent/animated-website-agent.md +0 -325
- package/oveanet-pack/animated-website/agent.yaml +0 -63
- package/oveanet-pack/animated-website/templates/animated-website-workflow.md +0 -55
- package/oveanet-pack/seo-audit-360/DEPLOYMENT.md +0 -115
- package/oveanet-pack/seo-audit-360/README.md +0 -66
- package/oveanet-pack/seo-audit-360/SKILL.md +0 -171
- package/oveanet-pack/seo-audit-360/agent/seo-chief.md +0 -294
- package/oveanet-pack/seo-audit-360/agent/seo-judge.md +0 -241
- package/oveanet-pack/seo-audit-360/agent/seo-scout.md +0 -171
- package/oveanet-pack/seo-audit-360/agent.yaml +0 -70
- package/oveanet-pack/seo-audit-360/checklist.md +0 -140
- package/oveanet-pack/seo-audit-360/hooks/seo-check.sh +0 -95
- package/oveanet-pack/seo-audit-360/pagespeed-playbook.md +0 -320
- package/oveanet-pack/seo-audit-360/ref/audit-schema.json +0 -187
- package/oveanet-pack/seo-audit-360/ref/cwv-thresholds.md +0 -87
- package/oveanet-pack/seo-audit-360/ref/eeat-criteria.md +0 -123
- package/oveanet-pack/seo-audit-360/ref/geo-signals.md +0 -167
- package/oveanet-pack/seo-audit-360/ref/hreflang-rules.md +0 -153
- package/oveanet-pack/seo-audit-360/ref/quality-gates.md +0 -133
- package/oveanet-pack/seo-audit-360/ref/schema-catalog.md +0 -91
- package/oveanet-pack/seo-audit-360/ref/schema-templates.json +0 -356
- package/oveanet-pack/seo-audit-360/requirements.txt +0 -14
- package/oveanet-pack/seo-audit-360/scripts/__pycache__/seo_crawl.cpython-314.pyc +0 -0
- package/oveanet-pack/seo-audit-360/scripts/__pycache__/seo_parse.cpython-314.pyc +0 -0
- package/oveanet-pack/seo-audit-360/scripts/install.ps1 +0 -53
- package/oveanet-pack/seo-audit-360/scripts/install.sh +0 -48
- package/oveanet-pack/seo-audit-360/scripts/seo_apis.py +0 -464
- package/oveanet-pack/seo-audit-360/scripts/seo_crawl.py +0 -282
- package/oveanet-pack/seo-audit-360/scripts/seo_fetch.py +0 -231
- package/oveanet-pack/seo-audit-360/scripts/seo_parse.py +0 -255
- package/oveanet-pack/seo-audit-360/scripts/seo_report.py +0 -403
- package/oveanet-pack/seo-audit-360/scripts/seo_screenshot.py +0 -202
- package/oveanet-pack/seo-audit-360/templates/seo-audit-workflow.md +0 -241
- package/oveanet-pack/seo-audit-360/tests/__pycache__/test_crawl.cpython-314-pytest-9.0.2.pyc +0 -0
- package/oveanet-pack/seo-audit-360/tests/__pycache__/test_parse.cpython-314-pytest-9.0.2.pyc +0 -0
- package/oveanet-pack/seo-audit-360/tests/fixtures/sample_page.html +0 -62
- package/oveanet-pack/seo-audit-360/tests/test_apis.py +0 -75
- package/oveanet-pack/seo-audit-360/tests/test_crawl.py +0 -121
- package/oveanet-pack/seo-audit-360/tests/test_fetch.py +0 -70
- package/oveanet-pack/seo-audit-360/tests/test_parse.py +0 -184
- package/oveanet-pack/universal-backup/DEPLOYMENT.md +0 -80
- package/oveanet-pack/universal-backup/README.md +0 -58
- package/oveanet-pack/universal-backup/agent/backup-agent.md +0 -71
- package/oveanet-pack/universal-backup/agent.yaml +0 -45
- package/oveanet-pack/universal-backup/templates/backup-workflow.md +0 -51
|
@@ -1,320 +0,0 @@
|
|
|
1
|
-
# 🎯 PageSpeed Perfection Playbook — Battle-Tested Guide
|
|
2
|
-
|
|
3
|
-
> **Version 1.0.0** — Based on 6+ real-world iterations achieving 99-100% on oveanet.ch, montpellier.ai, and oveanet.fr
|
|
4
|
-
> By Laurent ROCHETTA × AI
|
|
5
|
-
|
|
6
|
-
---
|
|
7
|
-
|
|
8
|
-
## 📐 Architecture: The 4-Phase Protocol
|
|
9
|
-
|
|
10
|
-
```
|
|
11
|
-
Phase 1: DIAGNOSTIC → Extract scores, identify all failing audits
|
|
12
|
-
Phase 2: PERFORMANCE → Self-host fonts → Inline CSS → Cache → CLS
|
|
13
|
-
Phase 3: ACCESSIBILITY → WCAG AA contrast fixes (systematic)
|
|
14
|
-
Phase 4: BEST PRACTICES & SEO → Console errors, security, meta tags
|
|
15
|
-
```
|
|
16
|
-
|
|
17
|
-
Each phase runs sequentially. **Backup before each phase.** Re-test after each phase.
|
|
18
|
-
|
|
19
|
-
---
|
|
20
|
-
|
|
21
|
-
## ⚠️ Anti-Patterns — Things That BREAK Scores
|
|
22
|
-
|
|
23
|
-
> [!CAUTION]
|
|
24
|
-
> These are real mistakes made during optimization that caused score REGRESSIONS.
|
|
25
|
-
|
|
26
|
-
### 🔴 NEVER: Async CSS Loading
|
|
27
|
-
```html
|
|
28
|
-
<!-- ❌ DISASTER — causes CLS 0.936 on mobile -->
|
|
29
|
-
<link rel="stylesheet" href="styles.css" media="print" onload="this.media='all'"/>
|
|
30
|
-
<noscript><link rel="stylesheet" href="styles.css"/></noscript>
|
|
31
|
-
```
|
|
32
|
-
**What happens:** The page renders with no styles, then FLASHES when CSS loads. PageSpeed measures this as a massive Cumulative Layout Shift (0.936 — nearly maximum). Performance dropped from 86 to 75.
|
|
33
|
-
|
|
34
|
-
**Fix:** Either load CSS synchronously or inline it entirely.
|
|
35
|
-
|
|
36
|
-
### 🔴 NEVER: External Font CDN Without Fallback
|
|
37
|
-
```html
|
|
38
|
-
<!-- ❌ Adds 300-800ms to LCP on mobile 4G -->
|
|
39
|
-
<link href="https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;600;700" rel="stylesheet"/>
|
|
40
|
-
```
|
|
41
|
-
**What happens:** DNS lookup + TLS handshake to `fonts.googleapis.com`, then another to `fonts.gstatic.com`. On 4G simulation, this adds 500ms+ to LCP.
|
|
42
|
-
|
|
43
|
-
### 🔴 NEVER: Images Without Dimensions
|
|
44
|
-
```html
|
|
45
|
-
<!-- ❌ Causes CLS because browser doesn't know the space to reserve -->
|
|
46
|
-
<img src="logo.svg" alt="Logo"/>
|
|
47
|
-
```
|
|
48
|
-
**Fix:** Always add `width` and `height`:
|
|
49
|
-
```html
|
|
50
|
-
<img src="logo.svg" alt="Logo" width="100" height="20"/>
|
|
51
|
-
```
|
|
52
|
-
|
|
53
|
-
---
|
|
54
|
-
|
|
55
|
-
## 🏆 Technique Catalog — Ordered by Impact
|
|
56
|
-
|
|
57
|
-
### [P1] Self-Host Fonts (Biggest LCP Win)
|
|
58
|
-
|
|
59
|
-
**Impact:** LCP -30-50% on mobile, eliminates 2 external requests
|
|
60
|
-
|
|
61
|
-
**Step 1:** Download fonts from Google Fonts API or copy from existing projects:
|
|
62
|
-
```
|
|
63
|
-
fonts/
|
|
64
|
-
├── space-grotesk-400-latin.woff2
|
|
65
|
-
├── space-grotesk-600-latin.woff2
|
|
66
|
-
└── space-grotesk-700-latin.woff2
|
|
67
|
-
```
|
|
68
|
-
|
|
69
|
-
**Step 2:** Update CSS `@font-face` declarations:
|
|
70
|
-
```css
|
|
71
|
-
/* ✅ Self-hosted — zero external requests */
|
|
72
|
-
@font-face {
|
|
73
|
-
font-family: 'Space Grotesk';
|
|
74
|
-
font-style: normal;
|
|
75
|
-
font-weight: 400;
|
|
76
|
-
font-display: swap;
|
|
77
|
-
src: url('fonts/space-grotesk-400-latin.woff2') format('woff2');
|
|
78
|
-
}
|
|
79
|
-
@font-face {
|
|
80
|
-
font-family: 'Space Grotesk';
|
|
81
|
-
font-style: normal;
|
|
82
|
-
font-weight: 600;
|
|
83
|
-
font-display: swap;
|
|
84
|
-
src: url('fonts/space-grotesk-600-latin.woff2') format('woff2');
|
|
85
|
-
}
|
|
86
|
-
@font-face {
|
|
87
|
-
font-family: 'Space Grotesk';
|
|
88
|
-
font-style: normal;
|
|
89
|
-
font-weight: 700;
|
|
90
|
-
font-display: swap;
|
|
91
|
-
src: url('fonts/space-grotesk-700-latin.woff2') format('woff2');
|
|
92
|
-
}
|
|
93
|
-
```
|
|
94
|
-
|
|
95
|
-
**Step 3:** Preload critical fonts in HTML `<head>`:
|
|
96
|
-
```html
|
|
97
|
-
<link rel="preload" href="fonts/space-grotesk-400-latin.woff2"
|
|
98
|
-
as="font" type="font/woff2" crossorigin fetchpriority="high"/>
|
|
99
|
-
<link rel="preload" href="fonts/space-grotesk-600-latin.woff2"
|
|
100
|
-
as="font" type="font/woff2" crossorigin/>
|
|
101
|
-
```
|
|
102
|
-
|
|
103
|
-
**Step 4:** Remove ALL Google Fonts CDN references:
|
|
104
|
-
```diff
|
|
105
|
-
-<link rel="preconnect" href="https://fonts.googleapis.com"/>
|
|
106
|
-
-<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin/>
|
|
107
|
-
-<link href="https://fonts.googleapis.com/css2?..." rel="stylesheet"/>
|
|
108
|
-
+<!-- Fonts are self-hosted, no external CDN needed -->
|
|
109
|
-
```
|
|
110
|
-
|
|
111
|
-
### How to get woff2 files from Google Fonts:
|
|
112
|
-
```bash
|
|
113
|
-
# Method 1: Use google-webfonts-helper
|
|
114
|
-
# https://gwfh.mranftl.com/fonts
|
|
115
|
-
|
|
116
|
-
# Method 2: Direct download with curl (set woff2 user-agent)
|
|
117
|
-
curl -H "User-Agent: Mozilla/5.0" \
|
|
118
|
-
"https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;600;700&display=swap" \
|
|
119
|
-
| grep -oP 'url\(\K[^)]+' | while read url; do
|
|
120
|
-
wget "$url" -P fonts/
|
|
121
|
-
done
|
|
122
|
-
```
|
|
123
|
-
|
|
124
|
-
---
|
|
125
|
-
|
|
126
|
-
### [P2] Inline ALL CSS (Zero Render-Blocking)
|
|
127
|
-
|
|
128
|
-
**Impact:** Eliminates render-blocking CSS request, reduces FCP by 100-300ms
|
|
129
|
-
|
|
130
|
-
**For PHP sites** (like montpellier.ai):
|
|
131
|
-
```php
|
|
132
|
-
<!-- ✅ CSS inlined at build time — zero render-blocking -->
|
|
133
|
-
<style><?php echo file_get_contents(__DIR__ . '/styles.css'); ?></style>
|
|
134
|
-
```
|
|
135
|
-
|
|
136
|
-
**For static HTML sites** (build script):
|
|
137
|
-
|
|
138
|
-
PowerShell build script:
|
|
139
|
-
```powershell
|
|
140
|
-
# build-dist.ps1 — Inline CSS into HTML for production
|
|
141
|
-
$css = Get-Content "styles.css" -Raw
|
|
142
|
-
$html = Get-Content "index.html" -Raw
|
|
143
|
-
|
|
144
|
-
$cssInline = " <style>`n$css`n </style>"
|
|
145
|
-
|
|
146
|
-
# Replace the critical CSS + external link with full inline
|
|
147
|
-
$pattern = ' <!-- Critical CSS.*?</style>\s*\r?\n.*?<link rel="stylesheet" href="styles.css"/>'
|
|
148
|
-
$html = $html -replace $pattern, $cssInline
|
|
149
|
-
|
|
150
|
-
$html | Set-Content "dist/index.html" -Encoding UTF8
|
|
151
|
-
```
|
|
152
|
-
|
|
153
|
-
Bash build script:
|
|
154
|
-
```bash
|
|
155
|
-
#!/bin/bash
|
|
156
|
-
# build-dist.sh — Inline CSS into HTML for production
|
|
157
|
-
CSS=$(cat styles.css)
|
|
158
|
-
sed -e '/<!-- Critical CSS/,/<link rel="stylesheet"/c\ <style>'"$CSS"'</style>' \
|
|
159
|
-
index.html > dist/index.html
|
|
160
|
-
```
|
|
161
|
-
|
|
162
|
-
> [!IMPORTANT]
|
|
163
|
-
> Keep source files separate (index.html + styles.css) for development.
|
|
164
|
-
> Only the dist/ version gets the inlined CSS for production.
|
|
165
|
-
|
|
166
|
-
---
|
|
167
|
-
|
|
168
|
-
### [P3] Cache Headers (.htaccess Template)
|
|
169
|
-
|
|
170
|
-
**Impact:** Fixes "Use efficient cache policy" audit
|
|
171
|
-
|
|
172
|
-
```apache
|
|
173
|
-
# === PageSpeed Cache & Compression — Ready to Deploy ===
|
|
174
|
-
|
|
175
|
-
<IfModule mod_expires.c>
|
|
176
|
-
ExpiresActive On
|
|
177
|
-
ExpiresDefault "access plus 1 month"
|
|
178
|
-
ExpiresByType text/html "access plus 1 hour"
|
|
179
|
-
ExpiresByType text/css "access plus 1 year"
|
|
180
|
-
ExpiresByType application/javascript "access plus 1 year"
|
|
181
|
-
ExpiresByType image/svg+xml "access plus 1 year"
|
|
182
|
-
ExpiresByType image/png "access plus 1 year"
|
|
183
|
-
ExpiresByType image/webp "access plus 1 year"
|
|
184
|
-
ExpiresByType font/woff2 "access plus 1 year"
|
|
185
|
-
ExpiresByType application/font-woff2 "access plus 1 year"
|
|
186
|
-
</IfModule>
|
|
187
|
-
|
|
188
|
-
<IfModule mod_headers.c>
|
|
189
|
-
<FilesMatch "\.(css|js|svg|png|webp|woff2|ico)$">
|
|
190
|
-
Header set Cache-Control "public, max-age=31536000, immutable"
|
|
191
|
-
</FilesMatch>
|
|
192
|
-
<FilesMatch "\.(html|php)$">
|
|
193
|
-
Header set Cache-Control "public, max-age=3600, must-revalidate"
|
|
194
|
-
</FilesMatch>
|
|
195
|
-
<FilesMatch "\.(txt|xml)$">
|
|
196
|
-
Header set Cache-Control "public, max-age=86400"
|
|
197
|
-
</FilesMatch>
|
|
198
|
-
</IfModule>
|
|
199
|
-
|
|
200
|
-
# Gzip Compression
|
|
201
|
-
<IfModule mod_deflate.c>
|
|
202
|
-
AddOutputFilterByType DEFLATE text/html text/css application/javascript
|
|
203
|
-
AddOutputFilterByType DEFLATE text/javascript application/json text/xml
|
|
204
|
-
AddOutputFilterByType DEFLATE image/svg+xml text/plain
|
|
205
|
-
</IfModule>
|
|
206
|
-
```
|
|
207
|
-
|
|
208
|
-
---
|
|
209
|
-
|
|
210
|
-
### [P4] CLS Prevention Checklist
|
|
211
|
-
|
|
212
|
-
| Element | Required Fix |
|
|
213
|
-
|---------|-------------|
|
|
214
|
-
| `<img>` tags | Add `width` and `height` attributes |
|
|
215
|
-
| CSS-loaded fonts | Use `font-display: swap` |
|
|
216
|
-
| CSS loading | NEVER use `media="print" onload` trick |
|
|
217
|
-
| Dynamic content | Reserve space with min-height |
|
|
218
|
-
| Embeds/iframes | Set explicit dimensions |
|
|
219
|
-
|
|
220
|
-
---
|
|
221
|
-
|
|
222
|
-
## 🎨 Accessibility — Contrast Ratio Reference
|
|
223
|
-
|
|
224
|
-
### The Rule
|
|
225
|
-
WCAG AA requires **4.5:1** contrast ratio for normal text, **3:1** for large text (18px+ or 14px+ bold).
|
|
226
|
-
|
|
227
|
-
### Common Color Combos on Dark Backgrounds (#0B0C15)
|
|
228
|
-
|
|
229
|
-
| Text Color | Hex | Ratio vs #0B0C15 | Pass? |
|
|
230
|
-
|-----------|-----|:-----------------:|:-----:|
|
|
231
|
-
| Pure white | `#ffffff` | 19.2:1 | ✅ |
|
|
232
|
-
| Light gray | `#d4dde3` | 12.5:1 | ✅ |
|
|
233
|
-
| Medium gray | `#a0b0b8` | 6.5:1 | ✅ |
|
|
234
|
-
| Muted gray | `#b0bec5` | 8.0:1 | ✅ |
|
|
235
|
-
| Dim gray | `#6b7b8a` | 3.7:1 | ❌ |
|
|
236
|
-
| Very dim | `#4a5568` | 2.3:1 | ❌ |
|
|
237
|
-
|
|
238
|
-
### Common Color Combos on Orange (#E8632B)
|
|
239
|
-
|
|
240
|
-
| Text Color | Hex | Ratio vs #E8632B | Pass? |
|
|
241
|
-
|-----------|-----|:-----------------:|:-----:|
|
|
242
|
-
| White | `#ffffff` | 3.3:1 | ❌ FAIL |
|
|
243
|
-
| Light cream | `#fff5e6` | 3.1:1 | ❌ FAIL |
|
|
244
|
-
| Dark brown | `#1a0800` | 8.5:1 | ✅ |
|
|
245
|
-
| Black | `#000000` | 4.0:1 | ✅ (large) |
|
|
246
|
-
|
|
247
|
-
> [!WARNING]
|
|
248
|
-
> **White text on orange buttons is a classic fail.** Ratio is only 3.3:1.
|
|
249
|
-
> Use dark text (`#1a0800`) instead for buttons, badges, and active states with orange backgrounds.
|
|
250
|
-
|
|
251
|
-
### Elements Commonly Flagged by PageSpeed
|
|
252
|
-
1. **CTA buttons** (`.btn-primary`) — white on primary color
|
|
253
|
-
2. **Active language buttons** (`.lang-btn.active`) — white on primary
|
|
254
|
-
3. **Pricing badges** ("Most Popular") — white on primary
|
|
255
|
-
4. **Footer text** — dim on very dark background
|
|
256
|
-
5. **Form labels** — muted on dark
|
|
257
|
-
6. **Badge text** (partner badges, sponsor badges) — muted on dark with transparency
|
|
258
|
-
|
|
259
|
-
---
|
|
260
|
-
|
|
261
|
-
## 📊 Score Tracking Template
|
|
262
|
-
|
|
263
|
-
```markdown
|
|
264
|
-
| Iteration | Perf (M) | A11y (M) | Perf (D) | A11y (D) | BP | SEO | Changes |
|
|
265
|
-
|:---------:|:--------:|:--------:|:--------:|:--------:|:---:|:---:|---------|
|
|
266
|
-
| Baseline | ? | ? | ? | ? | ? | ? | Initial |
|
|
267
|
-
| #1 | | | | | | | |
|
|
268
|
-
| #2 | | | | | | | |
|
|
269
|
-
```
|
|
270
|
-
|
|
271
|
-
---
|
|
272
|
-
|
|
273
|
-
## 🔧 PageSpeed JavaScript Extraction Snippets
|
|
274
|
-
|
|
275
|
-
Use these in the browser to extract structured data from PageSpeed results:
|
|
276
|
-
|
|
277
|
-
### Extract All Scores
|
|
278
|
-
```javascript
|
|
279
|
-
JSON.stringify({
|
|
280
|
-
gauges: Array.from(document.querySelectorAll('.lh-gauge__percentage'))
|
|
281
|
-
.map(g => g.textContent.trim()),
|
|
282
|
-
labels: Array.from(document.querySelectorAll('.lh-gauge__label'))
|
|
283
|
-
.map(l => l.textContent.trim())
|
|
284
|
-
});
|
|
285
|
-
```
|
|
286
|
-
|
|
287
|
-
### Extract Core Web Vitals
|
|
288
|
-
```javascript
|
|
289
|
-
JSON.stringify({
|
|
290
|
-
metrics: Array.from(document.querySelectorAll('.lh-metric'))
|
|
291
|
-
.map(m => ({
|
|
292
|
-
name: m.querySelector('.lh-metric__title')?.textContent?.trim(),
|
|
293
|
-
value: m.querySelector('.lh-metric__value')?.textContent?.trim()
|
|
294
|
-
}))
|
|
295
|
-
});
|
|
296
|
-
```
|
|
297
|
-
|
|
298
|
-
### Extract Failing Audits
|
|
299
|
-
```javascript
|
|
300
|
-
JSON.stringify({
|
|
301
|
-
failed: Array.from(document.querySelectorAll('.lh-audit--fail .lh-audit__title'))
|
|
302
|
-
.map(a => a.textContent.trim().substring(0, 150)),
|
|
303
|
-
warnings: Array.from(document.querySelectorAll('.lh-audit--average .lh-audit__title'))
|
|
304
|
-
.map(a => a.textContent.trim().substring(0, 150))
|
|
305
|
-
});
|
|
306
|
-
```
|
|
307
|
-
|
|
308
|
-
---
|
|
309
|
-
|
|
310
|
-
## 🏁 Exit Conditions
|
|
311
|
-
|
|
312
|
-
The PageSpeed Perfection Loop STOPS when:
|
|
313
|
-
- ✅ **ALL 4 scores = 100/100** → Perfection achieved
|
|
314
|
-
- ⚠️ **After 8 iterations** → Report remaining issues with root cause analysis
|
|
315
|
-
- 🟡 **Only server-side issues remain** (TTFB, CDN, HTTP/2) → Report as "requires server-side changes"
|
|
316
|
-
- 🟡 **Only third-party script issues remain** (Cloudflare Turnstile, analytics) → Report as "not fixable client-side"
|
|
317
|
-
|
|
318
|
-
---
|
|
319
|
-
|
|
320
|
-
*Built with ❤️ in Montpellier, France — by Laurent ROCHETTA × AI*
|
|
@@ -1,187 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
-
"title": "BMAD+ SEO Audit Result",
|
|
4
|
-
"description": "Standardized JSON format for SEO audit results. Compatible with dashboards, MCP Server, and external tools.",
|
|
5
|
-
"version": "1.0.0",
|
|
6
|
-
"author": "Laurent Rochetta",
|
|
7
|
-
"type": "object",
|
|
8
|
-
"required": ["engine", "version", "domain", "timestamp", "score", "issues"],
|
|
9
|
-
"properties": {
|
|
10
|
-
"engine": {
|
|
11
|
-
"type": "string",
|
|
12
|
-
"const": "bmad-seo-engine",
|
|
13
|
-
"description": "Engine identifier"
|
|
14
|
-
},
|
|
15
|
-
"version": {
|
|
16
|
-
"type": "string",
|
|
17
|
-
"description": "Engine version",
|
|
18
|
-
"examples": ["2.1.0"]
|
|
19
|
-
},
|
|
20
|
-
"domain": {
|
|
21
|
-
"type": "string",
|
|
22
|
-
"description": "Audited domain (without protocol)",
|
|
23
|
-
"examples": ["example.com"]
|
|
24
|
-
},
|
|
25
|
-
"url": {
|
|
26
|
-
"type": "string",
|
|
27
|
-
"format": "uri",
|
|
28
|
-
"description": "Full URL audited"
|
|
29
|
-
},
|
|
30
|
-
"timestamp": {
|
|
31
|
-
"type": "string",
|
|
32
|
-
"format": "date-time",
|
|
33
|
-
"description": "ISO 8601 timestamp of audit completion"
|
|
34
|
-
},
|
|
35
|
-
"business_type": {
|
|
36
|
-
"type": "string",
|
|
37
|
-
"enum": ["saas", "ecommerce", "local", "publisher", "agency", "other"],
|
|
38
|
-
"description": "Detected business type"
|
|
39
|
-
},
|
|
40
|
-
"pages_analyzed": {
|
|
41
|
-
"type": "integer",
|
|
42
|
-
"minimum": 1,
|
|
43
|
-
"description": "Number of pages analyzed"
|
|
44
|
-
},
|
|
45
|
-
"score": {
|
|
46
|
-
"type": "object",
|
|
47
|
-
"required": ["total", "categories"],
|
|
48
|
-
"properties": {
|
|
49
|
-
"total": {
|
|
50
|
-
"type": "integer",
|
|
51
|
-
"minimum": 0,
|
|
52
|
-
"maximum": 100,
|
|
53
|
-
"description": "Weighted SEO Health Score"
|
|
54
|
-
},
|
|
55
|
-
"rating": {
|
|
56
|
-
"type": "string",
|
|
57
|
-
"enum": ["excellent", "good", "needs_work", "poor", "critical"],
|
|
58
|
-
"description": "Score interpretation"
|
|
59
|
-
},
|
|
60
|
-
"categories": {
|
|
61
|
-
"type": "object",
|
|
62
|
-
"properties": {
|
|
63
|
-
"technical": { "type": "integer", "minimum": 0, "maximum": 100 },
|
|
64
|
-
"content_eeat": { "type": "integer", "minimum": 0, "maximum": 100 },
|
|
65
|
-
"on_page": { "type": "integer", "minimum": 0, "maximum": 100 },
|
|
66
|
-
"schema": { "type": "integer", "minimum": 0, "maximum": 100 },
|
|
67
|
-
"performance": { "type": "integer", "minimum": 0, "maximum": 100 },
|
|
68
|
-
"ai_readiness": { "type": "integer", "minimum": 0, "maximum": 100 },
|
|
69
|
-
"images": { "type": "integer", "minimum": 0, "maximum": 100 }
|
|
70
|
-
},
|
|
71
|
-
"description": "Score per category (0-100)"
|
|
72
|
-
}
|
|
73
|
-
}
|
|
74
|
-
},
|
|
75
|
-
"issues": {
|
|
76
|
-
"type": "array",
|
|
77
|
-
"items": {
|
|
78
|
-
"type": "object",
|
|
79
|
-
"required": ["id", "severity", "category", "title"],
|
|
80
|
-
"properties": {
|
|
81
|
-
"id": {
|
|
82
|
-
"type": "string",
|
|
83
|
-
"description": "Unique issue identifier",
|
|
84
|
-
"examples": ["missing-meta-description", "multiple-h1"]
|
|
85
|
-
},
|
|
86
|
-
"severity": {
|
|
87
|
-
"type": "string",
|
|
88
|
-
"enum": ["critical", "high", "medium", "low"]
|
|
89
|
-
},
|
|
90
|
-
"category": {
|
|
91
|
-
"type": "string",
|
|
92
|
-
"enum": ["technical", "content", "on_page", "schema", "performance", "geo", "images"]
|
|
93
|
-
},
|
|
94
|
-
"title": {
|
|
95
|
-
"type": "string",
|
|
96
|
-
"description": "Human-readable issue title"
|
|
97
|
-
},
|
|
98
|
-
"description": {
|
|
99
|
-
"type": "string",
|
|
100
|
-
"description": "Detailed explanation"
|
|
101
|
-
},
|
|
102
|
-
"affected_urls": {
|
|
103
|
-
"type": "array",
|
|
104
|
-
"items": { "type": "string", "format": "uri" },
|
|
105
|
-
"description": "Pages affected by this issue"
|
|
106
|
-
},
|
|
107
|
-
"fix": {
|
|
108
|
-
"type": "string",
|
|
109
|
-
"description": "Auto-generated fix code (HTML, JSON-LD, etc.)"
|
|
110
|
-
},
|
|
111
|
-
"quick_win": {
|
|
112
|
-
"type": "boolean",
|
|
113
|
-
"description": "True if high impact / low effort"
|
|
114
|
-
},
|
|
115
|
-
"impact": {
|
|
116
|
-
"type": "string",
|
|
117
|
-
"enum": ["high", "medium", "low"]
|
|
118
|
-
},
|
|
119
|
-
"effort": {
|
|
120
|
-
"type": "string",
|
|
121
|
-
"enum": ["high", "medium", "low"]
|
|
122
|
-
}
|
|
123
|
-
}
|
|
124
|
-
}
|
|
125
|
-
},
|
|
126
|
-
"pages": {
|
|
127
|
-
"type": "array",
|
|
128
|
-
"items": {
|
|
129
|
-
"type": "object",
|
|
130
|
-
"properties": {
|
|
131
|
-
"url": { "type": "string", "format": "uri" },
|
|
132
|
-
"status": { "type": "integer" },
|
|
133
|
-
"title": { "type": "string" },
|
|
134
|
-
"word_count": { "type": "integer" },
|
|
135
|
-
"schema_types": { "type": "array", "items": { "type": "string" } },
|
|
136
|
-
"eeat_score": { "type": "integer", "minimum": 0, "maximum": 100 }
|
|
137
|
-
}
|
|
138
|
-
},
|
|
139
|
-
"description": "Per-page analysis data"
|
|
140
|
-
},
|
|
141
|
-
"geo": {
|
|
142
|
-
"type": "object",
|
|
143
|
-
"properties": {
|
|
144
|
-
"ai_readiness_score": { "type": "integer", "minimum": 0, "maximum": 100 },
|
|
145
|
-
"ai_crawlers_allowed": { "type": "array", "items": { "type": "string" } },
|
|
146
|
-
"has_llms_txt": { "type": "boolean" },
|
|
147
|
-
"citability_score": { "type": "integer", "minimum": 0, "maximum": 100 }
|
|
148
|
-
},
|
|
149
|
-
"description": "GEO / AI search readiness metrics"
|
|
150
|
-
},
|
|
151
|
-
"pagespeed": {
|
|
152
|
-
"type": "object",
|
|
153
|
-
"properties": {
|
|
154
|
-
"mobile": {
|
|
155
|
-
"type": "object",
|
|
156
|
-
"properties": {
|
|
157
|
-
"performance": { "type": "integer" },
|
|
158
|
-
"accessibility": { "type": "integer" },
|
|
159
|
-
"best_practices": { "type": "integer" },
|
|
160
|
-
"seo": { "type": "integer" }
|
|
161
|
-
}
|
|
162
|
-
},
|
|
163
|
-
"desktop": {
|
|
164
|
-
"type": "object",
|
|
165
|
-
"properties": {
|
|
166
|
-
"performance": { "type": "integer" },
|
|
167
|
-
"accessibility": { "type": "integer" },
|
|
168
|
-
"best_practices": { "type": "integer" },
|
|
169
|
-
"seo": { "type": "integer" }
|
|
170
|
-
}
|
|
171
|
-
}
|
|
172
|
-
},
|
|
173
|
-
"description": "PageSpeed Insights scores"
|
|
174
|
-
},
|
|
175
|
-
"monitoring": {
|
|
176
|
-
"type": "object",
|
|
177
|
-
"properties": {
|
|
178
|
-
"previous_score": { "type": "integer" },
|
|
179
|
-
"previous_date": { "type": "string", "format": "date" },
|
|
180
|
-
"delta": { "type": "integer" },
|
|
181
|
-
"issues_resolved": { "type": "integer" },
|
|
182
|
-
"issues_new": { "type": "integer" }
|
|
183
|
-
},
|
|
184
|
-
"description": "Comparison with previous audit (if available)"
|
|
185
|
-
}
|
|
186
|
-
}
|
|
187
|
-
}
|
|
@@ -1,87 +0,0 @@
|
|
|
1
|
-
# Core Web Vitals — Thresholds & Optimization Guide (March 2026)
|
|
2
|
-
|
|
3
|
-
> Author: Laurent Rochetta | BMAD+ SEO Engine v2.0
|
|
4
|
-
|
|
5
|
-
## Current Metrics
|
|
6
|
-
|
|
7
|
-
| Metric | Good | Needs Improvement | Poor |
|
|
8
|
-
|--------|------|-------------------|------|
|
|
9
|
-
| **LCP** (Largest Contentful Paint) | ≤2.5s | 2.5–4.0s | >4.0s |
|
|
10
|
-
| **INP** (Interaction to Next Paint) | ≤200ms | 200–500ms | >500ms |
|
|
11
|
-
| **CLS** (Cumulative Layout Shift) | ≤0.1 | 0.1–0.25 | >0.25 |
|
|
12
|
-
|
|
13
|
-
> **INP replaced FID on March 12, 2024.** FID was fully removed from all Chrome tools on September 9, 2024. Never reference FID.
|
|
14
|
-
|
|
15
|
-
## Key Facts
|
|
16
|
-
- Evaluation uses the **75th percentile** of real user data (CrUX field data)
|
|
17
|
-
- Assessment at **page level** AND **origin level**
|
|
18
|
-
- CWV is a **tiebreaker** signal — matters most when content quality is similar
|
|
19
|
-
- Thresholds **unchanged since original definitions**
|
|
20
|
-
- December 2025 core update appeared to weight **mobile CWV more heavily**
|
|
21
|
-
- As of October 2025: 57.1% desktop, 49.7% mobile sites pass all three CWV
|
|
22
|
-
- **Mobile-first indexing 100% complete** since July 5, 2024
|
|
23
|
-
|
|
24
|
-
## LCP Diagnostic Subparts (Feb 2025 CrUX)
|
|
25
|
-
|
|
26
|
-
| Subpart | Description | Target |
|
|
27
|
-
|---------|-------------|--------|
|
|
28
|
-
| TTFB | Server response time | <800ms |
|
|
29
|
-
| Resource Load Delay | TTFB to resource request | Minimize |
|
|
30
|
-
| Resource Load Time | LCP resource download | Size-dependent |
|
|
31
|
-
| Element Render Delay | Loaded to painted | Minimize |
|
|
32
|
-
|
|
33
|
-
**Total LCP = TTFB + Load Delay + Load Time + Render Delay**
|
|
34
|
-
|
|
35
|
-
## Common Bottlenecks
|
|
36
|
-
|
|
37
|
-
### LCP
|
|
38
|
-
- Unoptimized hero images → use WebP/AVIF, add `<link rel="preload">`
|
|
39
|
-
- Render-blocking CSS/JS → defer, async, critical CSS inline
|
|
40
|
-
- Slow TTFB (>200ms) → CDN, caching, edge compute
|
|
41
|
-
- Third-party blocking → defer analytics, chat widgets
|
|
42
|
-
- Font delay → `font-display: swap` + preload
|
|
43
|
-
|
|
44
|
-
### INP
|
|
45
|
-
- Long JS tasks on main thread → break tasks <50ms, use `scheduler.yield()`
|
|
46
|
-
- Heavy event handlers → debounce, requestAnimationFrame
|
|
47
|
-
- Excessive DOM (>1,500 elements)
|
|
48
|
-
- Third-party scripts hijacking main thread
|
|
49
|
-
- Layout thrashing (forced reflows)
|
|
50
|
-
|
|
51
|
-
### CLS
|
|
52
|
-
- Images/iframes without width/height dimensions
|
|
53
|
-
- Dynamic content injected above existing content
|
|
54
|
-
- Font swap causing layout shift → preload + font-display
|
|
55
|
-
- Ads/embeds without reserved space
|
|
56
|
-
|
|
57
|
-
## Measurement Sources
|
|
58
|
-
|
|
59
|
-
### Field Data (used for ranking)
|
|
60
|
-
- Chrome User Experience Report (CrUX)
|
|
61
|
-
- PageSpeed Insights (uses CrUX)
|
|
62
|
-
- Search Console Core Web Vitals report
|
|
63
|
-
|
|
64
|
-
### Lab Data (for debugging)
|
|
65
|
-
- Lighthouse 13.0 (Oct 2025, restructured audits)
|
|
66
|
-
- WebPageTest
|
|
67
|
-
- Chrome DevTools
|
|
68
|
-
|
|
69
|
-
## Optimization Priority
|
|
70
|
-
1. **LCP** — Most impactful for perceived performance
|
|
71
|
-
2. **CLS** — Most common UX issue
|
|
72
|
-
3. **INP** — Critical for interactive applications
|
|
73
|
-
|
|
74
|
-
## API Tools
|
|
75
|
-
```bash
|
|
76
|
-
# PageSpeed Insights API
|
|
77
|
-
curl "https://www.googleapis.com/pagespeedonline/v5/runPagespeed?url=URL&key=API_KEY"
|
|
78
|
-
|
|
79
|
-
# Lighthouse CLI
|
|
80
|
-
npx lighthouse URL --output json --output-path report.json
|
|
81
|
-
```
|
|
82
|
-
|
|
83
|
-
## 2025–2026 Updates
|
|
84
|
-
- **Lighthouse 13.0** (Oct 2025): reorganized performance categories
|
|
85
|
-
- **CrUX Vis** replaced CrUX Dashboard (Nov 2025) → cruxvis.withgoogle.com
|
|
86
|
-
- **LCP subparts** in CrUX (Feb 2025)
|
|
87
|
-
- **Soft Navigations API** (Chrome 139+, July 2025): experimental SPA CWV measurement — no ranking impact yet
|