specialist-agent 2.13.0 → 3.2.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/LICENSE +1 -1
- package/README.md +33 -207
- package/dist/catalog.json +15529 -0
- package/dist/hw-worker.mjs +254 -0
- package/dist/icones/icone.ico +0 -0
- package/dist/icones/icone.png +0 -0
- package/dist/interface/assets/figtree-latin-400-normal-g7Dtegnw.woff2 +0 -0
- package/dist/interface/assets/figtree-latin-500-normal-BWnGEVsr.woff2 +0 -0
- package/dist/interface/assets/figtree-latin-600-normal-Cv_xCTDl.woff2 +0 -0
- package/dist/interface/assets/figtree-latin-700-normal-th6qEP7c.woff2 +0 -0
- package/dist/interface/assets/figtree-latin-ext-400-normal-CXAzuTZb.woff2 +0 -0
- package/dist/interface/assets/figtree-latin-ext-500-normal-Du0rIuHj.woff2 +0 -0
- package/dist/interface/assets/figtree-latin-ext-600-normal-DJlfifZj.woff2 +0 -0
- package/dist/interface/assets/figtree-latin-ext-700-normal-CS4sQkGV.woff2 +0 -0
- package/dist/interface/assets/index-BIyqZkro.css +1 -0
- package/dist/interface/assets/index-zAegy908.js +13 -0
- package/dist/interface/assets/jetbrains-mono-latin-400-normal-V6pRDFza.woff2 +0 -0
- package/dist/interface/assets/jetbrains-mono-latin-500-normal-BWZEU5yA.woff2 +0 -0
- package/dist/interface/assets/jetbrains-mono-latin-600-normal-C8RAYTDA.woff2 +0 -0
- package/dist/interface/assets/jetbrains-mono-latin-ext-400-normal-Bc8Ftmh3.woff2 +0 -0
- package/dist/interface/assets/jetbrains-mono-latin-ext-500-normal-Cut-4mMH.woff2 +0 -0
- package/dist/interface/assets/jetbrains-mono-latin-ext-600-normal-BfB_LPfz.woff2 +0 -0
- package/dist/interface/assets/unbounded-latin-500-normal-4slEIF53.woff2 +0 -0
- package/dist/interface/assets/unbounded-latin-700-normal-CaoNriVp.woff2 +0 -0
- package/dist/interface/assets/unbounded-latin-ext-500-normal-BTIpesyw.woff2 +0 -0
- package/dist/interface/assets/unbounded-latin-ext-700-normal-BLzWLLjG.woff2 +0 -0
- package/dist/interface/icones/apple-touch-icon.png +0 -0
- package/dist/interface/icones/favicon-32.png +0 -0
- package/dist/interface/icones/icone-192.png +0 -0
- package/dist/interface/icones/icone-512.png +0 -0
- package/dist/interface/icones/icone-mascara-512.png +0 -0
- package/dist/interface/index.html +19 -0
- package/dist/interface/manifest.webmanifest +19 -0
- package/dist/interface/sw.js +63 -0
- package/dist/specialist-agent.mjs +6919 -0
- package/dist/usage-worker.mjs +174 -0
- package/package.json +32 -57
- package/.claude-plugin/marketplace.json +0 -52
- package/.claude-plugin/plugin.json +0 -37
- package/.codex/INSTALL.md +0 -145
- package/.cursor-plugin/marketplace.json +0 -52
- package/.cursor-plugin/plugin.json +0 -37
- package/.opencode/INSTALL.md +0 -127
- package/.opencode/opencode.json +0 -186
- package/agents/analyst-lite.md +0 -48
- package/agents/analyst.md +0 -396
- package/agents/api-lite.md +0 -43
- package/agents/api.md +0 -427
- package/agents/architect-lite.md +0 -104
- package/agents/architect.md +0 -571
- package/agents/autopilot-lite.md +0 -46
- package/agents/autopilot.md +0 -196
- package/agents/cloud-lite.md +0 -75
- package/agents/cloud.md +0 -213
- package/agents/data-lite.md +0 -67
- package/agents/data.md +0 -306
- package/agents/debugger-lite.md +0 -46
- package/agents/debugger.md +0 -410
- package/agents/deps-lite.md +0 -41
- package/agents/deps.md +0 -363
- package/agents/designer-lite.md +0 -67
- package/agents/designer.md +0 -195
- package/agents/devops-lite.md +0 -67
- package/agents/devops.md +0 -205
- package/agents/docs-lite.md +0 -42
- package/agents/docs.md +0 -454
- package/agents/executor-lite.md +0 -61
- package/agents/executor.md +0 -695
- package/agents/explorer-lite.md +0 -55
- package/agents/explorer.md +0 -152
- package/agents/finance-lite.md +0 -66
- package/agents/finance.md +0 -255
- package/agents/i18n-lite.md +0 -44
- package/agents/i18n.md +0 -594
- package/agents/legal-lite.md +0 -113
- package/agents/legal.md +0 -302
- package/agents/marketing-lite.md +0 -25
- package/agents/marketing.md +0 -188
- package/agents/memory.md +0 -166
- package/agents/orchestrator-lite.md +0 -40
- package/agents/orchestrator.md +0 -512
- package/agents/pair-lite.md +0 -38
- package/agents/pair.md +0 -310
- package/agents/perf-lite.md +0 -42
- package/agents/perf.md +0 -320
- package/agents/planner-lite.md +0 -59
- package/agents/planner.md +0 -272
- package/agents/product-lite.md +0 -25
- package/agents/product.md +0 -195
- package/agents/refactor-lite.md +0 -42
- package/agents/refactor.md +0 -467
- package/agents/ripple-lite.md +0 -106
- package/agents/ripple.md +0 -166
- package/agents/scout-lite.md +0 -37
- package/agents/scout.md +0 -224
- package/agents/security-lite.md +0 -66
- package/agents/security.md +0 -252
- package/agents/sentry-triage-lite.md +0 -54
- package/agents/sentry-triage.md +0 -217
- package/agents/starter-lite.md +0 -80
- package/agents/starter.md +0 -300
- package/agents/support-lite.md +0 -24
- package/agents/support.md +0 -191
- package/agents/tdd-lite.md +0 -43
- package/agents/tdd.md +0 -329
- package/agents/tester-lite.md +0 -71
- package/agents/tester.md +0 -237
- package/cli/architectures.mjs +0 -713
- package/cli/detect-architecture.mjs +0 -752
- package/cli/generate-architecture.mjs +0 -1096
- package/cli/index.mjs +0 -1217
- package/cli/recommend-architecture.mjs +0 -870
- package/hooks/after-review.mjs +0 -130
- package/hooks/after-task.mjs +0 -117
- package/hooks/before-plan.mjs +0 -155
- package/hooks/before-review.mjs +0 -139
- package/hooks/hooks.json +0 -66
- package/hooks/lifecycle.json +0 -91
- package/hooks/native/auto-dispatch.mjs +0 -207
- package/hooks/native/auto-format.mjs +0 -176
- package/hooks/native/mcp-discovery.mjs +0 -168
- package/hooks/native/security-config.json +0 -38
- package/hooks/native/security-guard.mjs +0 -323
- package/hooks/native/session-context.mjs +0 -179
- package/hooks/native/session-end.mjs +0 -42
- package/hooks/native/utils.mjs +0 -62
- package/hooks/on-error.mjs +0 -129
- package/hooks/session-end.mjs +0 -185
- package/hooks/session-start.mjs +0 -154
- package/packs/angular/ARCHITECTURE.md +0 -814
- package/packs/angular/CLAUDE.md +0 -105
- package/packs/angular/agents/builder.md +0 -113
- package/packs/angular/agents/doctor.md +0 -187
- package/packs/angular/agents/migrator.md +0 -101
- package/packs/angular/agents/reviewer.md +0 -252
- package/packs/angular/agents-lite/builder.md +0 -65
- package/packs/angular/agents-lite/doctor.md +0 -64
- package/packs/angular/agents-lite/migrator.md +0 -75
- package/packs/angular/agents-lite/reviewer.md +0 -69
- package/packs/angular/skills/dev-create-component/SKILL.md +0 -56
- package/packs/angular/skills/dev-create-injectable/SKILL.md +0 -60
- package/packs/angular/skills/dev-create-module/SKILL.md +0 -49
- package/packs/angular/skills/dev-create-service/SKILL.md +0 -34
- package/packs/angular/skills/dev-create-test/SKILL.md +0 -78
- package/packs/angular/skills/dev-generate-types/SKILL.md +0 -37
- package/packs/angular/skills/docs-onboard/SKILL.md +0 -42
- package/packs/angular/skills/migration-migrate-component/SKILL.md +0 -42
- package/packs/angular/skills/migration-migrate-module/SKILL.md +0 -25
- package/packs/angular/skills/review-check-architecture/SKILL.md +0 -67
- package/packs/angular/skills/review-fix-violations/SKILL.md +0 -43
- package/packs/angular/skills/review-review/SKILL.md +0 -43
- package/packs/astro/ARCHITECTURE.md +0 -718
- package/packs/astro/CLAUDE.md +0 -106
- package/packs/astro/agents/builder.md +0 -123
- package/packs/astro/agents/doctor.md +0 -200
- package/packs/astro/agents/migrator.md +0 -105
- package/packs/astro/agents/reviewer.md +0 -253
- package/packs/astro/agents-lite/builder.md +0 -71
- package/packs/astro/agents-lite/doctor.md +0 -66
- package/packs/astro/agents-lite/migrator.md +0 -71
- package/packs/astro/agents-lite/reviewer.md +0 -70
- package/packs/astro/skills/dev-create-component/SKILL.md +0 -50
- package/packs/astro/skills/dev-create-island/SKILL.md +0 -63
- package/packs/astro/skills/dev-create-module/SKILL.md +0 -49
- package/packs/astro/skills/dev-create-service/SKILL.md +0 -34
- package/packs/astro/skills/dev-create-test/SKILL.md +0 -76
- package/packs/astro/skills/dev-generate-types/SKILL.md +0 -37
- package/packs/astro/skills/docs-onboard/SKILL.md +0 -51
- package/packs/astro/skills/migration-migrate-component/SKILL.md +0 -48
- package/packs/astro/skills/migration-migrate-module/SKILL.md +0 -25
- package/packs/astro/skills/review-check-architecture/SKILL.md +0 -72
- package/packs/astro/skills/review-fix-violations/SKILL.md +0 -43
- package/packs/astro/skills/review-review/SKILL.md +0 -45
- package/packs/nextjs/ARCHITECTURE.md +0 -1033
- package/packs/nextjs/CLAUDE.md +0 -106
- package/packs/nextjs/agents/builder.md +0 -132
- package/packs/nextjs/agents/doctor.md +0 -226
- package/packs/nextjs/agents/migrator.md +0 -101
- package/packs/nextjs/agents/reviewer.md +0 -243
- package/packs/nextjs/agents-lite/builder.md +0 -74
- package/packs/nextjs/agents-lite/doctor.md +0 -74
- package/packs/nextjs/agents-lite/migrator.md +0 -75
- package/packs/nextjs/agents-lite/reviewer.md +0 -73
- package/packs/nextjs/skills/dev-create-component/SKILL.md +0 -82
- package/packs/nextjs/skills/dev-create-hook/SKILL.md +0 -90
- package/packs/nextjs/skills/dev-create-module/SKILL.md +0 -63
- package/packs/nextjs/skills/dev-create-service/SKILL.md +0 -35
- package/packs/nextjs/skills/dev-create-test/SKILL.md +0 -106
- package/packs/nextjs/skills/dev-generate-types/SKILL.md +0 -37
- package/packs/nextjs/skills/docs-onboard/SKILL.md +0 -55
- package/packs/nextjs/skills/migration-migrate-component/SKILL.md +0 -58
- package/packs/nextjs/skills/migration-migrate-module/SKILL.md +0 -25
- package/packs/nextjs/skills/review-check-architecture/SKILL.md +0 -101
- package/packs/nextjs/skills/review-fix-violations/SKILL.md +0 -48
- package/packs/nextjs/skills/review-review/SKILL.md +0 -47
- package/packs/nuxt/ARCHITECTURE.md +0 -831
- package/packs/nuxt/CLAUDE.md +0 -111
- package/packs/nuxt/agents/builder.md +0 -120
- package/packs/nuxt/agents/doctor.md +0 -198
- package/packs/nuxt/agents/migrator.md +0 -101
- package/packs/nuxt/agents/reviewer.md +0 -255
- package/packs/nuxt/agents-lite/builder.md +0 -67
- package/packs/nuxt/agents-lite/doctor.md +0 -67
- package/packs/nuxt/agents-lite/migrator.md +0 -80
- package/packs/nuxt/agents-lite/reviewer.md +0 -71
- package/packs/nuxt/skills/dev-create-component/SKILL.md +0 -60
- package/packs/nuxt/skills/dev-create-composable/SKILL.md +0 -33
- package/packs/nuxt/skills/dev-create-module/SKILL.md +0 -49
- package/packs/nuxt/skills/dev-create-service/SKILL.md +0 -34
- package/packs/nuxt/skills/dev-create-test/SKILL.md +0 -61
- package/packs/nuxt/skills/dev-generate-types/SKILL.md +0 -37
- package/packs/nuxt/skills/docs-onboard/SKILL.md +0 -49
- package/packs/nuxt/skills/migration-migrate-component/SKILL.md +0 -48
- package/packs/nuxt/skills/migration-migrate-module/SKILL.md +0 -25
- package/packs/nuxt/skills/review-check-architecture/SKILL.md +0 -71
- package/packs/nuxt/skills/review-fix-violations/SKILL.md +0 -43
- package/packs/nuxt/skills/review-review/SKILL.md +0 -45
- package/packs/react/ARCHITECTURE.md +0 -991
- package/packs/react/CLAUDE.md +0 -102
- package/packs/react/agents/builder.md +0 -113
- package/packs/react/agents/doctor.md +0 -203
- package/packs/react/agents/migrator.md +0 -101
- package/packs/react/agents/reviewer.md +0 -252
- package/packs/react/agents-lite/builder.md +0 -65
- package/packs/react/agents-lite/doctor.md +0 -64
- package/packs/react/agents-lite/migrator.md +0 -74
- package/packs/react/agents-lite/reviewer.md +0 -69
- package/packs/react/skills/dev-create-component/SKILL.md +0 -53
- package/packs/react/skills/dev-create-hook/SKILL.md +0 -78
- package/packs/react/skills/dev-create-module/SKILL.md +0 -51
- package/packs/react/skills/dev-create-service/SKILL.md +0 -34
- package/packs/react/skills/dev-create-test/SKILL.md +0 -92
- package/packs/react/skills/dev-generate-types/SKILL.md +0 -37
- package/packs/react/skills/docs-onboard/SKILL.md +0 -42
- package/packs/react/skills/migration-migrate-component/SKILL.md +0 -44
- package/packs/react/skills/migration-migrate-module/SKILL.md +0 -25
- package/packs/react/skills/review-check-architecture/SKILL.md +0 -73
- package/packs/react/skills/review-fix-violations/SKILL.md +0 -45
- package/packs/react/skills/review-review/SKILL.md +0 -44
- package/packs/svelte/ARCHITECTURE.md +0 -975
- package/packs/svelte/CLAUDE.md +0 -102
- package/packs/svelte/agents/builder.md +0 -114
- package/packs/svelte/agents/doctor.md +0 -174
- package/packs/svelte/agents/migrator.md +0 -101
- package/packs/svelte/agents/reviewer.md +0 -238
- package/packs/svelte/agents-lite/builder.md +0 -66
- package/packs/svelte/agents-lite/doctor.md +0 -67
- package/packs/svelte/agents-lite/migrator.md +0 -82
- package/packs/svelte/agents-lite/reviewer.md +0 -70
- package/packs/svelte/skills/dev-create-component/SKILL.md +0 -77
- package/packs/svelte/skills/dev-create-module/SKILL.md +0 -59
- package/packs/svelte/skills/dev-create-service/SKILL.md +0 -35
- package/packs/svelte/skills/dev-create-store/SKILL.md +0 -94
- package/packs/svelte/skills/dev-create-test/SKILL.md +0 -98
- package/packs/svelte/skills/dev-generate-types/SKILL.md +0 -37
- package/packs/svelte/skills/docs-onboard/SKILL.md +0 -47
- package/packs/svelte/skills/migration-migrate-component/SKILL.md +0 -51
- package/packs/svelte/skills/migration-migrate-module/SKILL.md +0 -25
- package/packs/svelte/skills/review-check-architecture/SKILL.md +0 -79
- package/packs/svelte/skills/review-fix-violations/SKILL.md +0 -47
- package/packs/svelte/skills/review-review/SKILL.md +0 -45
- package/packs/vue/ARCHITECTURE.md +0 -798
- package/packs/vue/CLAUDE.md +0 -102
- package/packs/vue/agents/builder.md +0 -112
- package/packs/vue/agents/doctor.md +0 -185
- package/packs/vue/agents/migrator.md +0 -101
- package/packs/vue/agents/reviewer.md +0 -249
- package/packs/vue/agents-lite/builder.md +0 -65
- package/packs/vue/agents-lite/doctor.md +0 -63
- package/packs/vue/agents-lite/migrator.md +0 -73
- package/packs/vue/agents-lite/reviewer.md +0 -68
- package/packs/vue/skills/dev-create-component/SKILL.md +0 -58
- package/packs/vue/skills/dev-create-composable/SKILL.md +0 -31
- package/packs/vue/skills/dev-create-module/SKILL.md +0 -50
- package/packs/vue/skills/dev-create-service/SKILL.md +0 -34
- package/packs/vue/skills/dev-create-test/SKILL.md +0 -62
- package/packs/vue/skills/dev-generate-types/SKILL.md +0 -37
- package/packs/vue/skills/docs-onboard/SKILL.md +0 -42
- package/packs/vue/skills/migration-migrate-component/SKILL.md +0 -41
- package/packs/vue/skills/migration-migrate-module/SKILL.md +0 -25
- package/packs/vue/skills/review-check-architecture/SKILL.md +0 -73
- package/packs/vue/skills/review-fix-violations/SKILL.md +0 -42
- package/packs/vue/skills/review-review/SKILL.md +0 -43
- package/skills/audit/SKILL.md +0 -231
- package/skills/autofix/SKILL.md +0 -166
- package/skills/autopilot/SKILL.md +0 -286
- package/skills/brainstorm/SKILL.md +0 -298
- package/skills/checkpoint/SKILL.md +0 -217
- package/skills/codereview/SKILL.md +0 -268
- package/skills/commit/SKILL.md +0 -150
- package/skills/copywriting/SKILL.md +0 -218
- package/skills/cro/SKILL.md +0 -234
- package/skills/debug/SKILL.md +0 -210
- package/skills/design-review/SKILL.md +0 -217
- package/skills/discovery/SKILL.md +0 -218
- package/skills/estimate/SKILL.md +0 -154
- package/skills/finish/SKILL.md +0 -220
- package/skills/grill/SKILL.md +0 -270
- package/skills/health/SKILL.md +0 -251
- package/skills/improve-architecture/SKILL.md +0 -205
- package/skills/learn/SKILL.md +0 -260
- package/skills/lint/SKILL.md +0 -126
- package/skills/migrate-architecture/SKILL.md +0 -242
- package/skills/migrate-framework/SKILL.md +0 -172
- package/skills/onboard/SKILL.md +0 -168
- package/skills/plan/SKILL.md +0 -141
- package/skills/prd/SKILL.md +0 -241
- package/skills/recall/SKILL.md +0 -112
- package/skills/remember/SKILL.md +0 -108
- package/skills/seo-audit/SKILL.md +0 -240
- package/skills/tdd/SKILL.md +0 -201
- package/skills/tutorial/SKILL.md +0 -346
- package/skills/verify/SKILL.md +0 -168
- package/skills/worktree/SKILL.md +0 -168
- package/skills/write-skill/SKILL.md +0 -225
- package/templates/autopilot/PROMPT.md +0 -39
- package/templates/autopilot/README.md +0 -122
- package/templates/autopilot/devcontainer.json +0 -21
- package/templates/industry/ecommerce.md +0 -127
- package/templates/industry/fintech.md +0 -161
- package/templates/industry/saas.md +0 -134
- package/templates/session-memory.json +0 -48
- package/templates/skill-template/SKILL.md +0 -90
|
@@ -1,240 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: seo-audit
|
|
3
|
-
description: "Use when auditing a website or web application for SEO issues - covering meta tags, structured data, content structure, Core Web Vitals indicators, and crawlability."
|
|
4
|
-
user-invocable: true
|
|
5
|
-
argument-hint: "[path or URL]"
|
|
6
|
-
allowed-tools: Read, Bash, Glob, Grep
|
|
7
|
-
---
|
|
8
|
-
|
|
9
|
-
# /seo-audit - SEO Technical Audit
|
|
10
|
-
|
|
11
|
-
Audit web application source code for SEO issues - meta tags, structured data, content structure, Core Web Vitals indicators, and crawlability - producing a scored report with actionable fixes.
|
|
12
|
-
|
|
13
|
-
**Target:** $ARGUMENTS
|
|
14
|
-
|
|
15
|
-
## When to Use
|
|
16
|
-
|
|
17
|
-
- Before launching a new website or landing page
|
|
18
|
-
- After major frontend refactors that may have broken SEO
|
|
19
|
-
- When organic search traffic has dropped
|
|
20
|
-
- During framework migration (SSR/SSG changes)
|
|
21
|
-
- When adding i18n and need hreflang setup
|
|
22
|
-
- Before a marketing campaign that depends on organic traffic
|
|
23
|
-
- NOT for: content strategy or keyword research (use `@marketing` SEO mode)
|
|
24
|
-
- NOT for: design or UX issues (use `/design-review`)
|
|
25
|
-
- NOT for: pure performance optimization (use `@perf`)
|
|
26
|
-
|
|
27
|
-
## Workflow
|
|
28
|
-
|
|
29
|
-
### Step 1: Scope & Rendering Strategy Detection
|
|
30
|
-
|
|
31
|
-
1. **Identify pages/routes to audit:**
|
|
32
|
-
|
|
33
|
-
```bash
|
|
34
|
-
# Find page/route files
|
|
35
|
-
find $TARGET -path "*/pages/*" -o -path "*/app/*" -o -path "*/routes/*" | grep -E "\.(tsx?|vue|svelte|astro)$" | grep -v "_\|layout\|error\|loading" | head -30
|
|
36
|
-
```
|
|
37
|
-
|
|
38
|
-
2. **Detect rendering strategy:**
|
|
39
|
-
|
|
40
|
-
```bash
|
|
41
|
-
# Check for SSR/SSG configuration
|
|
42
|
-
grep -rn "getStaticProps\|getServerSideProps\|generateStaticParams\|getStaticPaths" $TARGET --include="*.ts" --include="*.tsx" 2>/dev/null | head -10
|
|
43
|
-
grep -rn "defineNuxtConfig\|ssr:\|prerender" $TARGET --include="*.ts" --include="*.config.*" 2>/dev/null | head -5
|
|
44
|
-
grep -rn "export const prerender\|export const ssr" $TARGET --include="*.ts" --include="*.svelte" 2>/dev/null | head -5
|
|
45
|
-
```
|
|
46
|
-
|
|
47
|
-
3. **Classify:** SSR (server-rendered), SSG (static), CSR (client-only), ISR (incremental), Hybrid
|
|
48
|
-
|
|
49
|
-
**Output:**
|
|
50
|
-
```markdown
|
|
51
|
-
## Scope
|
|
52
|
-
- Pages: [N] routes detected
|
|
53
|
-
- Framework: [Next.js/Nuxt/SvelteKit/Astro/other]
|
|
54
|
-
- Rendering: [SSR/SSG/CSR/ISR/Hybrid]
|
|
55
|
-
- i18n: [detected/not detected]
|
|
56
|
-
```
|
|
57
|
-
|
|
58
|
-
### Step 2: Technical SEO Audit
|
|
59
|
-
|
|
60
|
-
Check meta tags and structured data for each page:
|
|
61
|
-
|
|
62
|
-
| Check | What to Look For | Impact |
|
|
63
|
-
|-------|------------------|--------|
|
|
64
|
-
| Title tag | Unique, 50-60 chars, keyword-rich | HIGH |
|
|
65
|
-
| Meta description | Unique, 150-160 chars, compelling | HIGH |
|
|
66
|
-
| Open Graph tags | og:title, og:description, og:image, og:url | MEDIUM |
|
|
67
|
-
| Twitter cards | twitter:card, twitter:title, twitter:image | MEDIUM |
|
|
68
|
-
| Canonical URL | Self-referencing canonical on every page | HIGH |
|
|
69
|
-
| Robots meta | Proper noindex/nofollow where needed | HIGH |
|
|
70
|
-
| Structured data | JSON-LD for relevant schema types | MEDIUM |
|
|
71
|
-
| Hreflang | Present if multi-language | HIGH (if i18n) |
|
|
72
|
-
| Favicon | Present and proper size | LOW |
|
|
73
|
-
|
|
74
|
-
```bash
|
|
75
|
-
# Check for meta tag implementation
|
|
76
|
-
grep -rn "title\|meta.*description\|og:title\|twitter:card" $TARGET --include="*.tsx" --include="*.vue" --include="*.svelte" --include="*.astro" 2>/dev/null | head -20
|
|
77
|
-
|
|
78
|
-
# Check for Head/Meta components (framework-specific)
|
|
79
|
-
grep -rn "Head>\|useHead\|useSeoMeta\|<svelte:head\|Astro.props" $TARGET --include="*.tsx" --include="*.vue" --include="*.svelte" --include="*.astro" 2>/dev/null | head -15
|
|
80
|
-
|
|
81
|
-
# Check for JSON-LD structured data
|
|
82
|
-
grep -rn "application/ld+json\|structuredData\|jsonLd" $TARGET --include="*.tsx" --include="*.vue" --include="*.svelte" 2>/dev/null | head -10
|
|
83
|
-
```
|
|
84
|
-
|
|
85
|
-
### Step 3: Content Structure Audit
|
|
86
|
-
|
|
87
|
-
| Check | Criteria | Severity |
|
|
88
|
-
|-------|----------|----------|
|
|
89
|
-
| H1 tag | Exactly one H1 per page | HIGH |
|
|
90
|
-
| Heading hierarchy | Logical H1 → H2 → H3, no skipped levels | MEDIUM |
|
|
91
|
-
| Alt text | All images have descriptive alt text | HIGH |
|
|
92
|
-
| Internal links | Meaningful anchor text, no "click here" | MEDIUM |
|
|
93
|
-
| Content length | Adequate content for the page type | LOW |
|
|
94
|
-
| Semantic HTML | Proper use of `<article>`, `<nav>`, `<main>`, `<section>` | MEDIUM |
|
|
95
|
-
|
|
96
|
-
```bash
|
|
97
|
-
# Check heading usage
|
|
98
|
-
grep -rn "<h1\|<h2\|<h3\|<H1\|<H2\|<H3" $TARGET --include="*.tsx" --include="*.vue" --include="*.svelte" 2>/dev/null | head -20
|
|
99
|
-
|
|
100
|
-
# Check for missing alt text
|
|
101
|
-
grep -rn "<img\|<Image" $TARGET --include="*.tsx" --include="*.vue" --include="*.svelte" 2>/dev/null | grep -v "alt=" | head -10
|
|
102
|
-
|
|
103
|
-
# Check semantic HTML usage
|
|
104
|
-
grep -rn "<article\|<section\|<nav\|<main\|<aside\|<header\|<footer" $TARGET --include="*.tsx" --include="*.vue" --include="*.svelte" 2>/dev/null | wc -l
|
|
105
|
-
```
|
|
106
|
-
|
|
107
|
-
### Step 4: Performance & Core Web Vitals Indicators
|
|
108
|
-
|
|
109
|
-
Check code-level indicators that affect CWV:
|
|
110
|
-
|
|
111
|
-
| Check | CWV Metric | What to Look For |
|
|
112
|
-
|-------|-----------|------------------|
|
|
113
|
-
| Image optimization | LCP | next/image, lazy loading, srcset, WebP/AVIF |
|
|
114
|
-
| Font loading | CLS | display:swap, font preloading, system font fallback |
|
|
115
|
-
| JS bundle size | FID/INP | Dynamic imports, code splitting, tree shaking |
|
|
116
|
-
| CSS loading | CLS | Critical CSS inline, non-blocking stylesheet loading |
|
|
117
|
-
| Layout shifts | CLS | Explicit width/height on images, skeleton screens |
|
|
118
|
-
| Third-party scripts | FID/INP | Deferred/async loading, script placement |
|
|
119
|
-
|
|
120
|
-
```bash
|
|
121
|
-
# Image optimization
|
|
122
|
-
grep -rn "<img\|<Image" $TARGET --include="*.tsx" --include="*.vue" 2>/dev/null | grep -v "loading=\|lazy\|next/image\|nuxt-img" | head -10
|
|
123
|
-
|
|
124
|
-
# Font loading strategy
|
|
125
|
-
grep -rn "font-display\|@font-face\|display.*swap" $TARGET --include="*.css" --include="*.tsx" 2>/dev/null | head -5
|
|
126
|
-
|
|
127
|
-
# Dynamic imports (code splitting)
|
|
128
|
-
grep -rn "dynamic(\|lazy(\|import(" $TARGET --include="*.tsx" --include="*.vue" --include="*.ts" 2>/dev/null | grep -v "node_modules" | head -10
|
|
129
|
-
|
|
130
|
-
# Third-party scripts
|
|
131
|
-
grep -rn "<script.*src=\|<Script" $TARGET --include="*.tsx" --include="*.vue" --include="*.html" 2>/dev/null | head -10
|
|
132
|
-
```
|
|
133
|
-
|
|
134
|
-
### Step 5: Crawlability Audit
|
|
135
|
-
|
|
136
|
-
| Check | What to Look For |
|
|
137
|
-
|-------|------------------|
|
|
138
|
-
| robots.txt | Exists, allows critical paths, blocks /api and admin |
|
|
139
|
-
| Sitemap | sitemap.xml exists and includes all public routes |
|
|
140
|
-
| 404 page | Custom 404 with navigation, proper status code |
|
|
141
|
-
| Redirects | No redirect chains (>2 hops), 301 for permanent |
|
|
142
|
-
| URL structure | Clean, descriptive slugs, no query params for content |
|
|
143
|
-
| SPA concerns | Prerendering for CSR apps, proper hydration |
|
|
144
|
-
| Dynamic routes | Meta tags set per-route, not hardcoded |
|
|
145
|
-
|
|
146
|
-
```bash
|
|
147
|
-
# Check for robots.txt
|
|
148
|
-
find . -name "robots.txt" -not -path "*/node_modules/*" 2>/dev/null
|
|
149
|
-
|
|
150
|
-
# Check for sitemap
|
|
151
|
-
find . -name "sitemap*" -not -path "*/node_modules/*" 2>/dev/null
|
|
152
|
-
grep -rn "sitemap" $TARGET --include="*.ts" --include="*.config.*" 2>/dev/null | head -5
|
|
153
|
-
|
|
154
|
-
# Check for 404 page
|
|
155
|
-
find $TARGET -name "404*" -o -name "not-found*" -o -name "\[...slug\]*" 2>/dev/null | head -5
|
|
156
|
-
|
|
157
|
-
# Check for redirect configuration
|
|
158
|
-
grep -rn "redirect\|rewrite" $TARGET --include="*.config.*" --include="*.ts" 2>/dev/null | head -10
|
|
159
|
-
```
|
|
160
|
-
|
|
161
|
-
### Step 6: Scoring & Report
|
|
162
|
-
|
|
163
|
-
Score each category 0-100:
|
|
164
|
-
|
|
165
|
-
| Score Range | Rating |
|
|
166
|
-
|-------------|--------|
|
|
167
|
-
| 90-100 | Excellent |
|
|
168
|
-
| 70-89 | Good |
|
|
169
|
-
| 50-69 | Needs Work |
|
|
170
|
-
| 0-49 | Critical |
|
|
171
|
-
|
|
172
|
-
**Scoring formula per category:**
|
|
173
|
-
- Start at 100
|
|
174
|
-
- CRITICAL finding: -25 points
|
|
175
|
-
- HIGH finding: -15 points
|
|
176
|
-
- MEDIUM finding: -10 points
|
|
177
|
-
- LOW finding: -5 points
|
|
178
|
-
- Minimum: 0
|
|
179
|
-
|
|
180
|
-
## Verification Protocol
|
|
181
|
-
|
|
182
|
-
**Before claiming the audit is complete:**
|
|
183
|
-
|
|
184
|
-
1. All 5 audit dimensions were checked (technical SEO, content, CWV, crawlability, rendering)
|
|
185
|
-
2. Every finding has severity level and file:line reference
|
|
186
|
-
3. Rendering strategy was correctly identified and audit was adapted to it
|
|
187
|
-
4. Framework-specific meta patterns were checked (not just raw HTML)
|
|
188
|
-
5. At least 3 pages/routes were individually scanned
|
|
189
|
-
6. Scores were calculated with the formula above
|
|
190
|
-
|
|
191
|
-
## Anti-Rationalization
|
|
192
|
-
|
|
193
|
-
| Excuse | Reality |
|
|
194
|
-
|--------|---------|
|
|
195
|
-
| "SEO doesn't matter for our app" | Even SaaS apps need landing pages that rank. SEO drives organic acquisition at zero marginal cost. |
|
|
196
|
-
| "We'll add meta tags later" | Missing meta tags from day 1 means lost indexing time. Search engines need weeks to crawl and rank. |
|
|
197
|
-
| "It's a SPA, SEO doesn't apply" | SPAs need SSR/SSG for SEO. If Google can't render it, it doesn't exist in search results. |
|
|
198
|
-
| "Our content is good enough" | Good content with bad technical SEO is invisible. Fix the plumbing so the content can flow. |
|
|
199
|
-
| "The framework handles SEO" | Frameworks provide tools, not configuration. You still need proper meta, structured data, and sitemap. |
|
|
200
|
-
| "We don't need structured data" | Rich snippets increase CTR by 20-40%. Structured data is free visibility in search results. |
|
|
201
|
-
| "We'll do SEO after launch" | Retrofitting SEO is 3-5x more expensive than building it in. Especially for routing and rendering changes. |
|
|
202
|
-
|
|
203
|
-
## Rules
|
|
204
|
-
|
|
205
|
-
1. **Read-only** - Never modify files during an audit
|
|
206
|
-
2. **Framework-aware** - Check framework-specific meta patterns, not just raw HTML
|
|
207
|
-
3. **Rendering-aware** - Adapt checks to SSR/SSG/CSR strategy
|
|
208
|
-
4. **Score every category** - Use the scoring formula consistently
|
|
209
|
-
5. **Evidence required** - Every finding needs a file:line reference
|
|
210
|
-
6. **Prioritize by impact** - CRITICAL findings first, always
|
|
211
|
-
7. **No vanity metrics** - Focus on technical SEO, not keyword density or word count
|
|
212
|
-
|
|
213
|
-
## Output
|
|
214
|
-
|
|
215
|
-
```
|
|
216
|
-
──── /seo-audit ────
|
|
217
|
-
Target: $ARGUMENTS
|
|
218
|
-
Framework: [detected]
|
|
219
|
-
Rendering: [SSR/SSG/CSR/Hybrid]
|
|
220
|
-
Pages scanned: [N]
|
|
221
|
-
|
|
222
|
-
Technical SEO: [score]/100 - [N findings]
|
|
223
|
-
Content: [score]/100 - [N findings]
|
|
224
|
-
Performance: [score]/100 - [N findings]
|
|
225
|
-
Crawlability: [score]/100 - [N findings]
|
|
226
|
-
|
|
227
|
-
Severity:
|
|
228
|
-
CRITICAL: N
|
|
229
|
-
HIGH: N
|
|
230
|
-
MEDIUM: N
|
|
231
|
-
LOW: N
|
|
232
|
-
|
|
233
|
-
Top Findings:
|
|
234
|
-
1. [CRITICAL] [description] - [file:line]
|
|
235
|
-
2. [HIGH] [description] - [file:line]
|
|
236
|
-
3. [HIGH] [description] - [file:line]
|
|
237
|
-
|
|
238
|
-
Overall SEO Score: [N]/100
|
|
239
|
-
Rating: [Excellent | Good | Needs Work | Critical]
|
|
240
|
-
```
|
package/skills/tdd/SKILL.md
DELETED
|
@@ -1,201 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: tdd
|
|
3
|
-
description: "Use when implementing any feature or bugfix where correctness matters - before writing implementation code."
|
|
4
|
-
user-invocable: true
|
|
5
|
-
argument-hint: "[feature or function to implement]"
|
|
6
|
-
allowed-tools: Read, Write, Edit, Bash, Glob, Grep
|
|
7
|
-
---
|
|
8
|
-
|
|
9
|
-
# /tdd - Test-Driven Development
|
|
10
|
-
|
|
11
|
-
Implement the feature using strict TDD methodology.
|
|
12
|
-
|
|
13
|
-
**Target:** $ARGUMENTS
|
|
14
|
-
|
|
15
|
-
## When to Use
|
|
16
|
-
|
|
17
|
-
- Implementing a new function, service, or module where correctness is critical
|
|
18
|
-
- Fixing a bug that needs a regression test to prove it's fixed
|
|
19
|
-
- Building business logic (calculations, validations, state machines)
|
|
20
|
-
- When code handles money, auth, or sensitive data
|
|
21
|
-
- Refactoring existing code that lacks test coverage
|
|
22
|
-
- NOT for: quick prototypes or throwaway code
|
|
23
|
-
- NOT for: pure UI layout changes with no logic
|
|
24
|
-
- NOT for: configuration changes (env vars, build config)
|
|
25
|
-
- NOT for: code that already has comprehensive tests (just add to existing suite)
|
|
26
|
-
|
|
27
|
-
## Iron Law
|
|
28
|
-
|
|
29
|
-
```
|
|
30
|
-
╔══════════════════════════════════════════════════════════════╗
|
|
31
|
-
║ NO IMPLEMENTATION CODE WITHOUT A FAILING TEST FIRST ║
|
|
32
|
-
╚══════════════════════════════════════════════════════════════╝
|
|
33
|
-
```
|
|
34
|
-
|
|
35
|
-
## Workflow
|
|
36
|
-
|
|
37
|
-
### Cycle Structure
|
|
38
|
-
|
|
39
|
-
For each behavior to implement:
|
|
40
|
-
|
|
41
|
-
```
|
|
42
|
-
┌───────┐ ┌───────┐ ┌──────────┐
|
|
43
|
-
│ RED │ ───► │ GREEN │ ───► │ REFACTOR │
|
|
44
|
-
└───────┘ └───────┘ └──────────┘
|
|
45
|
-
```
|
|
46
|
-
|
|
47
|
-
### Step 0: Detect Test Runner
|
|
48
|
-
|
|
49
|
-
Auto-detect the project's test runner before starting:
|
|
50
|
-
|
|
51
|
-
```bash
|
|
52
|
-
# Detect test runner from package.json or config files
|
|
53
|
-
if [ -f "vitest.config.ts" ] || [ -f "vitest.config.js" ] || grep -q '"vitest"' package.json 2>/dev/null; then
|
|
54
|
-
TEST_CMD="npx vitest run"
|
|
55
|
-
TEST_FILTER="--testNamePattern"
|
|
56
|
-
elif [ -f "jest.config.ts" ] || [ -f "jest.config.js" ] || grep -q '"jest"' package.json 2>/dev/null; then
|
|
57
|
-
TEST_CMD="npx jest"
|
|
58
|
-
TEST_FILTER="--testNamePattern"
|
|
59
|
-
elif [ -f "playwright.config.ts" ] || [ -f "playwright.config.js" ]; then
|
|
60
|
-
TEST_CMD="npx playwright test"
|
|
61
|
-
TEST_FILTER="--grep"
|
|
62
|
-
elif grep -q '"mocha"' package.json 2>/dev/null; then
|
|
63
|
-
TEST_CMD="npx mocha"
|
|
64
|
-
TEST_FILTER="--grep"
|
|
65
|
-
else
|
|
66
|
-
TEST_CMD="npm test --"
|
|
67
|
-
TEST_FILTER="--testNamePattern"
|
|
68
|
-
fi
|
|
69
|
-
echo "Test runner: $TEST_CMD"
|
|
70
|
-
```
|
|
71
|
-
|
|
72
|
-
Use the detected `$TEST_CMD` and `$TEST_FILTER` throughout all cycles.
|
|
73
|
-
|
|
74
|
-
### Step 1: RED - Write Failing Test
|
|
75
|
-
|
|
76
|
-
1. **Create/open test file**
|
|
77
|
-
2. **Write test for ONE behavior:**
|
|
78
|
-
```typescript
|
|
79
|
-
it('should [expected behavior] when [condition]', () => {
|
|
80
|
-
// Arrange
|
|
81
|
-
const input = ...;
|
|
82
|
-
|
|
83
|
-
// Act
|
|
84
|
-
const result = functionUnderTest(input);
|
|
85
|
-
|
|
86
|
-
// Assert
|
|
87
|
-
expect(result).toBe(expected);
|
|
88
|
-
});
|
|
89
|
-
```
|
|
90
|
-
3. **Run test:**
|
|
91
|
-
```bash
|
|
92
|
-
$TEST_CMD $TEST_FILTER="[test name]"
|
|
93
|
-
```
|
|
94
|
-
4. **Verify FAILS** - Capture output showing failure
|
|
95
|
-
5. **BLOCKED** if test passes (wrong test or code exists)
|
|
96
|
-
|
|
97
|
-
### Step 2: GREEN - Minimal Implementation
|
|
98
|
-
|
|
99
|
-
1. **Write minimum code to pass:**
|
|
100
|
-
- No extra features
|
|
101
|
-
- No optimization
|
|
102
|
-
- Just enough to pass
|
|
103
|
-
|
|
104
|
-
2. **Run test:**
|
|
105
|
-
```bash
|
|
106
|
-
$TEST_CMD $TEST_FILTER="[test name]"
|
|
107
|
-
```
|
|
108
|
-
3. **Verify PASSES** - Capture output showing success
|
|
109
|
-
4. **BLOCKED** if test fails (fix before continuing)
|
|
110
|
-
|
|
111
|
-
### Step 3: REFACTOR - Improve
|
|
112
|
-
|
|
113
|
-
1. **Improve code quality:**
|
|
114
|
-
- Remove duplication
|
|
115
|
-
- Improve naming
|
|
116
|
-
- Simplify logic
|
|
117
|
-
|
|
118
|
-
2. **Run ALL tests:**
|
|
119
|
-
```bash
|
|
120
|
-
$TEST_CMD
|
|
121
|
-
```
|
|
122
|
-
3. **Verify ALL PASS**
|
|
123
|
-
4. **Check coverage change** (if coverage tool is available):
|
|
124
|
-
```bash
|
|
125
|
-
$TEST_CMD --coverage 2>/dev/null | grep -A 5 "Stmts\|Lines\|%" || true
|
|
126
|
-
```
|
|
127
|
-
5. **Commit cycle:**
|
|
128
|
-
```bash
|
|
129
|
-
git add -A && git commit -m "feat: [behavior] (TDD cycle N)"
|
|
130
|
-
```
|
|
131
|
-
|
|
132
|
-
### Repeat
|
|
133
|
-
|
|
134
|
-
Continue cycles until feature is complete.
|
|
135
|
-
|
|
136
|
-
## Verification Protocol
|
|
137
|
-
|
|
138
|
-
Every test run must be captured:
|
|
139
|
-
|
|
140
|
-
```
|
|
141
|
-
──── RED Phase ────
|
|
142
|
-
Test: should calculate discount for valid coupon
|
|
143
|
-
Running: npm test -- --testNamePattern="calculate discount"
|
|
144
|
-
Output:
|
|
145
|
-
FAIL src/discount.test.ts
|
|
146
|
-
✕ should calculate discount for valid coupon
|
|
147
|
-
Expected: 90
|
|
148
|
-
Received: undefined
|
|
149
|
-
Status: FAIL ✓ - Proceeding to GREEN
|
|
150
|
-
|
|
151
|
-
──── GREEN Phase ────
|
|
152
|
-
Running: npm test -- --testNamePattern="calculate discount"
|
|
153
|
-
Output:
|
|
154
|
-
PASS src/discount.test.ts
|
|
155
|
-
✓ should calculate discount for valid coupon
|
|
156
|
-
Status: PASS ✓ - Proceeding to REFACTOR
|
|
157
|
-
```
|
|
158
|
-
|
|
159
|
-
## Output
|
|
160
|
-
|
|
161
|
-
```
|
|
162
|
-
──── /tdd ────
|
|
163
|
-
Feature: [name]
|
|
164
|
-
|
|
165
|
-
Cycle #1: [behavior]
|
|
166
|
-
RED: Test written, FAIL ✓
|
|
167
|
-
GREEN: Implemented, PASS ✓
|
|
168
|
-
REFACTOR: Cleaned, PASS ✓
|
|
169
|
-
|
|
170
|
-
Cycle #2: [behavior]
|
|
171
|
-
RED: Test written, FAIL ✓
|
|
172
|
-
GREEN: Implemented, PASS ✓
|
|
173
|
-
REFACTOR: Cleaned, PASS ✓
|
|
174
|
-
|
|
175
|
-
──── TDD Summary ────
|
|
176
|
-
Cycles completed: 2
|
|
177
|
-
Tests added: 2
|
|
178
|
-
All tests passing: ✓
|
|
179
|
-
Coverage: [if available]
|
|
180
|
-
```
|
|
181
|
-
|
|
182
|
-
## Anti-Rationalization
|
|
183
|
-
|
|
184
|
-
| Excuse | Reality |
|
|
185
|
-
|--------|---------|
|
|
186
|
-
| "I know it works, no need to test first" | Write the test. If it works, RED phase takes 30 seconds. |
|
|
187
|
-
| "This is too simple for TDD" | Simple code has simple tests. No excuse to skip. |
|
|
188
|
-
| "I'll write tests after" | Tests written after implementation verify your bias, not correctness. |
|
|
189
|
-
| "The test framework isn't set up" | Set it up. That's part of the task. |
|
|
190
|
-
| "Just this once I'll skip RED" | "Just this once" is how every shortcut becomes a habit. |
|
|
191
|
-
| "The existing tests are enough" | Enough for what? New behavior needs new tests. Existing tests verify old assumptions. |
|
|
192
|
-
| "I'll test the integration, not the unit" | Integration tests verify wiring. Unit tests verify logic. You need both. Start with unit. |
|
|
193
|
-
|
|
194
|
-
## Rules
|
|
195
|
-
|
|
196
|
-
1. **Never implement before RED**
|
|
197
|
-
2. **Capture all test output** - Proof, not trust
|
|
198
|
-
3. **One behavior per test**
|
|
199
|
-
4. **Minimal GREEN** - Just enough to pass
|
|
200
|
-
5. **Always REFACTOR** - Don't skip
|
|
201
|
-
6. **Document each cycle**
|