Skills for Claude Code CLI such as full stack dev Cloudflare, React, Tailwind v4, and AI integrations.
Python aianthropicautomationclaude-codeclaude-skillscloudflaredevtoolsproductivityreactskillstailwindvite
refactor: restructure skill portfolio (36 → 33)
Jeremy Dawes1e0feabf642d
diff --git a/.claude-plugin/marketplace.json b/.claude-plugin/marketplace.jsonindex 53ab9829..85052783 100644--- a/.claude-plugin/marketplace.json+++ b/.claude-plugin/marketplace.json@@ -9,13 +9,13 @@"plugins": [{"name": "cloudflare",- "description": "Scaffold Cloudflare Workers, Hono APIs, D1/Drizzle schemas, full-stack Vite+Workers apps, and TanStack Start SSR dashboards.",+ "description": "Scaffold Cloudflare Workers, Hono APIs, D1/Drizzle schemas, D1 migration workflows, full-stack Vite+Workers apps, and TanStack Start SSR dashboards.","source": "./plugins/cloudflare","category": "development"},{"name": "web-design",- "description": "Web design methodology, component patterns (heroes, cards, CTAs), and local business SEO.",+ "description": "Local business SEO setup with JSON-LD schema, meta tags, robots.txt, and sitemap.","source": "./plugins/web-design","category": "design"},@@ -27,7 +27,7 @@},{"name": "design-assets",- "description": "Generate colour palettes, favicon packages, custom SVG icon sets, AI-generated images (Gemini), and image processing (resize, convert, optimise).",+ "description": "Generate colour palettes, favicon packages, custom SVG icon sets, and image processing (resize, convert, optimise).","source": "./plugins/design-assets","category": "design"},@@ -39,7 +39,7 @@},{"name": "dev-tools",- "description": "Project health and permission management, dev sessions, team updates with feedback triage, GitHub releases, multi-model brains trust (second opinions from Gemini/GPT/Qwen/DeepSeek), Gemini API guide, capabilities reference, UX audits, responsive layout testing, and browser automation.",+ "description": "Project health and permission management, dev sessions, team updates with feedback triage, GitHub releases, multi-model brains trust, git workflows, UX audits, responsive layout testing, and browser automation.","source": "./plugins/dev-tools","category": "development"},diff --git a/CLAUDE.md b/CLAUDE.mdindex 4332f5b9..6dc8ca68 100644--- a/CLAUDE.md+++ b/CLAUDE.md@@ -23,22 +23,20 @@ claude-skills/│ │ ├── vite-flare-starter/│ │ ├── tanstack-start/│ │ ├── hono-api-scaffolder/-│ │ └── d1-drizzle-schema/-│ ├── web-design/ # Web design methodology, patterns, SEO+│ │ ├── d1-drizzle-schema/+│ │ └── d1-migration/+│ ├── web-design/ # Local business SEO│ │ └── skills/-│ │ ├── web-design-methodology/-│ │ ├── web-design-patterns/│ │ └── seo-local-business/│ ├── frontend/ # Tailwind v4 + shadcn/ui│ │ └── skills/│ │ ├── tailwind-theme-builder/│ │ └── shadcn-ui/-│ ├── design-assets/ # Colour palettes, favicons, icons, image gen/processing+│ ├── design-assets/ # Colour palettes, favicons, icons, image processing│ │ └── skills/│ │ ├── color-palette/│ │ ├── favicon-gen/│ │ ├── icon-set-generator/-│ │ ├── gemini-image-gen/│ │ └── image-processing/│ ├── integrations/ # Google, ElevenLabs, MCP│ │ └── skills/@@ -46,14 +44,13 @@ claude-skills/│ │ ├── google-apps-script/│ │ ├── elevenlabs-agents/│ │ └── mcp-builder/-│ ├── dev-tools/ # Context, sessions, releases, brains trust, browser automation+│ ├── dev-tools/ # Context, sessions, releases, brains trust, git, browser automation│ │ └── skills/│ │ ├── project-health/│ │ ├── dev-session/│ │ ├── github-release/│ │ ├── brains-trust/-│ │ ├── gemini-guide/-│ │ ├── claude-capabilities/+│ │ ├── git-workflow/│ │ ├── team-update/│ │ ├── ux-audit/│ │ ├── responsiveness-check/diff --git a/README.md b/README.mdindex 25b54a23..60d48f49 100644--- a/README.md+++ b/README.md@@ -8,12 +8,12 @@ Workflow skills for [Claude Code](https://claude.com/claude-code) that produce t| Plugin | Skills | What it produces ||--------|--------|-----------------|-| **cloudflare** | cloudflare-worker-builder, vite-flare-starter, tanstack-start, hono-api-scaffolder, d1-drizzle-schema | Deployable Cloudflare Workers, full-stack apps, TanStack Start SSR dashboards, Hono APIs, D1 schemas |-| **web-design** | web-design-methodology, web-design-patterns, seo-local-business | Production HTML/CSS, component patterns, local business SEO |+| **cloudflare** | cloudflare-worker-builder, vite-flare-starter, tanstack-start, hono-api-scaffolder, d1-drizzle-schema, d1-migration | Deployable Cloudflare Workers, full-stack apps, TanStack Start SSR dashboards, Hono APIs, D1 schemas, migration workflows |+| **web-design** | seo-local-business | Local business SEO setup || **frontend** | tailwind-theme-builder, shadcn-ui | Themed Tailwind v4 + shadcn/ui setup with dark mode |-| **design-assets** | color-palette, favicon-gen, icon-set-generator, gemini-image-gen, image-processing | Colour palettes, favicons, SVG icons, AI image generation, image processing |+| **design-assets** | color-palette, favicon-gen, icon-set-generator, image-processing | Colour palettes, favicons, SVG icons, image processing || **integrations** | google-chat-messages, google-apps-script, elevenlabs-agents, mcp-builder | Google Chat webhooks, Apps Script, ElevenLabs agents, MCP servers |-| **dev-tools** | project-health, dev-session, team-update, github-release, brains-trust, gemini-guide, claude-capabilities, ux-audit, responsiveness-check, agent-browser | Project health audits, session tracking, team updates with feedback triage, releases, multi-model brains trust, API guide, UX audits, responsive testing, browser automation |+| **dev-tools** | project-health, dev-session, team-update, github-release, brains-trust, git-workflow, ux-audit, responsiveness-check, agent-browser | Project health audits, session tracking, team updates, releases, multi-model brains trust, git workflows, UX audits, responsive testing, browser automation || **shopify** | shopify-setup, shopify-products, shopify-content | Shopify API setup, product management, content pages, blog posts || **wordpress** | wordpress-setup, wordpress-content, wordpress-elementor | WordPress WP-CLI access, content management, Elementor page editing || **writing** | aussie-business-english | Australian business English writing style |@@ -50,7 +50,7 @@ See [CLAUDE.md](CLAUDE.md) for development details.This repo started as a collection of 105 skills — many were informational reference guides (CSS patterns, API docs, framework cheatsheets). With Claude's expanded training data and built-in capabilities, those reference skills became redundant.-**v2** restructured into 9 installable plugins containing 36 skills that produce tangible output. Each one earns its place.+**v2** restructured into 9 installable plugins containing 33 skills that produce tangible output. Each one earns its place.The full v1 collection is preserved and usable:diff --git a/plugins/cloudflare/.claude-plugin/plugin.json b/plugins/cloudflare/.claude-plugin/plugin.jsonindex 780774a7..13e48d13 100644--- a/plugins/cloudflare/.claude-plugin/plugin.json+++ b/plugins/cloudflare/.claude-plugin/plugin.json@@ -1,6 +1,6 @@{"name": "cloudflare",- "description": "Scaffold Cloudflare Workers, Hono APIs, D1/Drizzle schemas, full-stack Vite+Workers apps, and TanStack Start SSR dashboards.",+ "description": "Scaffold Cloudflare Workers, Hono APIs, D1/Drizzle schemas, D1 migration workflows, full-stack Vite+Workers apps, and TanStack Start SSR dashboards.","author": {"name": "Jeremy Dawes / Jezweb","email": "[email protected]"diff --git a/plugins/cloudflare/skills/d1-migration/SKILL.md b/plugins/cloudflare/skills/d1-migration/SKILL.mdnew file mode 100644index 00000000..bed710c1--- /dev/null+++ b/plugins/cloudflare/skills/d1-migration/SKILL.md@@ -0,0 +1,137 @@+---+name: d1-migration+description: "Cloudflare D1 migration workflow: generate with Drizzle, inspect SQL for gotchas, apply to local and remote, fix stuck migrations, handle partial failures. Use when running migrations, fixing migration errors, or setting up D1 schemas."+---++# D1 Migration Workflow++Guided workflow for Cloudflare D1 database migrations using Drizzle ORM.++## Standard Migration Flow++### 1. Generate Migration++```bash+pnpm db:generate+```++This creates a new `.sql` file in `drizzle/` (or your configured migrations directory).++### 2. Inspect the SQL (CRITICAL)++**Always read the generated SQL before applying.** Drizzle sometimes generates destructive migrations for simple schema changes.++#### Red Flag: Table Recreation++If you see this pattern, the migration will likely fail:++```sql+CREATE TABLE `my_table_new` (...);+INSERT INTO `my_table_new` SELECT ..., `new_column`, ... FROM `my_table`;+-- ^^^ This column doesn't exist in old table!+DROP TABLE `my_table`;+ALTER TABLE `my_table_new` RENAME TO `my_table`;+```++**Cause**: Changing a column's `default` value in Drizzle schema triggers full table recreation. The INSERT SELECT references the new column from the old table.++**Fix**: If you're only adding new columns (no type/constraint changes on existing columns), simplify to:++```sql+ALTER TABLE `my_table` ADD COLUMN `new_column` TEXT DEFAULT 'value';+```++Edit the `.sql` file directly before applying.++### 3. Apply to Local++```bash+pnpm db:migrate:local+# or: npx wrangler d1 migrations apply DB_NAME --local+```++### 4. Apply to Remote++```bash+pnpm db:migrate:remote+# or: npx wrangler d1 migrations apply DB_NAME --remote+```++**Always apply to BOTH local and remote before testing.** Local-only migrations cause confusing "works locally, breaks in production" issues.++### 5. Verify++```bash+# Check local+npx wrangler d1 execute DB_NAME --local --command "PRAGMA table_info(my_table)"++# Check remote+npx wrangler d1 execute DB_NAME --remote --command "PRAGMA table_info(my_table)"+```++## Fixing Stuck Migrations++When a migration partially applied (e.g. column was added but migration wasn't recorded), wrangler retries it and fails on the duplicate column.++**Symptoms**: `pnpm db:migrate` errors on a migration that looks like it should be done. `PRAGMA table_info` shows the column exists.++### Diagnosis++```bash+# 1. Verify the column/table exists+npx wrangler d1 execute DB_NAME --remote \+ --command "PRAGMA table_info(my_table)"++# 2. Check what migrations are recorded+npx wrangler d1 execute DB_NAME --remote \+ --command "SELECT * FROM d1_migrations ORDER BY id"+```++### Fix++```bash+# 3. Manually record the stuck migration+npx wrangler d1 execute DB_NAME --remote \+ --command "INSERT INTO d1_migrations (name, applied_at) VALUES ('0013_my_migration.sql', datetime('now'))"++# 4. Run remaining migrations normally+pnpm db:migrate+```++### Prevention++- `CREATE TABLE IF NOT EXISTS` — safe to re-run+- `ALTER TABLE ADD COLUMN` — SQLite has no `IF NOT EXISTS` variant; check column existence first or use try/catch in application code+- **Always inspect generated SQL** before applying (Step 2 above)++## Bulk Insert Batching++D1's parameter limit causes silent failures with large multi-row INSERTs. Batch into chunks:++```typescript+const BATCH_SIZE = 10;+for (let i = 0; i < allRows.length; i += BATCH_SIZE) {+ const batch = allRows.slice(i, i + BATCH_SIZE);+ await db.insert(myTable).values(batch);+}+```++**Why**: D1 fails when rows x columns exceeds ~100-150 parameters.++## Column Naming++| Context | Convention | Example |+|---------|-----------|---------|+| Drizzle schema | camelCase | `caseNumber: text('case_number')` |+| Raw SQL queries | snake_case | `UPDATE cases SET case_number = ?` |+| API responses | Match SQL aliases | `SELECT case_number FROM cases` |++## New Project Setup++When creating a D1 database for a new project, follow this order:++1. **Deploy Worker first** — `npm run build && npx wrangler deploy`+2. **Create D1 database** — `npx wrangler d1 create project-name-db`+3. **Copy database_id** to `wrangler.jsonc` `d1_databases` binding+4. **Redeploy** — `npx wrangler deploy`+5. **Run migrations** — apply to both local and remotediff --git a/plugins/design-assets/.claude-plugin/plugin.json b/plugins/design-assets/.claude-plugin/plugin.jsonindex 4e8d1998..9f1cc296 100644--- a/plugins/design-assets/.claude-plugin/plugin.json+++ b/plugins/design-assets/.claude-plugin/plugin.json@@ -1,6 +1,6 @@{"name": "design-assets",- "description": "Generate colour palettes, favicon packages, custom SVG icon sets, AI-generated images (Gemini), and image processing (resize, convert, optimise).",+ "description": "Generate colour palettes, favicon packages, custom SVG icon sets, and image processing (resize, convert, optimise).","author": {"name": "Jeremy Dawes / Jezweb","email": "[email protected]"diff --git a/plugins/design-assets/skills/gemini-image-gen/SKILL.md b/plugins/design-assets/skills/gemini-image-gen/SKILL.mddeleted file mode 100644index f121d6a0..00000000--- a/plugins/design-assets/skills/gemini-image-gen/SKILL.md+++ /dev/null@@ -1,92 +0,0 @@-----name: gemini-image-gen-description: "Generate images using Google's Gemini API — hero backgrounds, OG images, placeholder photos, textures, and style-matched variants. Uses free-tier models for drafts, paid for finals. No dependencies beyond Python 3. Trigger with 'generate image', 'gemini image', 'make a hero background', 'create placeholder photo', 'generate OG image', 'AI image', or 'need an image for'."-compatibility: claude-code-only------# Gemini Image Generator--Generate contextual images for web projects using the Gemini API. Produces hero backgrounds, OG cards, placeholder photos, textures, and style-matched variants.--## Setup--**API Key**: Set `GEMINI_API_KEY` as an environment variable. Get a key from https://aistudio.google.com/apikey if you don't have one.--```bash-export GEMINI_API_KEY="your-key-here"-```--## Workflow--### Step 1: Understand What's Needed--Gather from the user or project context:-- **What**: hero background, product photo, texture, OG image, placeholder-- **Style**: warm/cool/minimal/luxurious/bold — check project's colour palette (input.css, tailwind config)-- **Dimensions**: hero (1920x1080), OG (1200x630), square (1024x1024), custom-- **Count**: single image or multiple variants to choose from--### Step 2: Build the Prompt--Use concrete photography parameters, not abstract adjectives. Read [references/prompting-guide.md](references/prompting-guide.md) for the full framework.--**Quick rules**:-- Narrate like directing a photographer-- Use camera specs: "85mm f/1.8", "wide angle 24mm"-- Use colour anchors from the project palette: "warm terracotta (#C66A52) and cream (#F5F0EB) tones"-- Use lighting descriptions: "golden-hour light from the left, 4500K"-- Always end with: "No text, no watermarks, no logos, no hands"--### Step 3: Generate--Generate a Python script (no dependencies beyond stdlib) that calls the Gemini API. The script should:--1. Read `GEMINI_API_KEY` from environment-2. POST to `https://generativelanguage.googleapis.com/v1beta/models/{model}:generateContent`-3. Include `"responseModalities": ["TEXT", "IMAGE"]` in generationConfig-4. Parse the response: extract `inlineData.data` (base64) from candidate parts-5. Decode base64 and save as PNG-6. Support multiple variants (generate N times, save as `name-1.png`, `name-2.png`)--For style matching with a reference image, include the reference as an `inlineData` part before the text prompt, and use temperature 0.7 (instead of 1.0).--See [references/api-pattern.md](references/api-pattern.md) for the full implementation pattern including error handling and response parsing.--**Critical**: Never pass prompts via curl + bash arguments — shell escaping breaks on apostrophes. Always use Python's `json.dumps()` or write the prompt to a file first.--### Step 4: Post-Process (Optional)--Use the **image-processing** skill for resizing, format conversion, or optimisation.--### Step 5: Present to User--Show the generated images for review. Read the image files to display them inline if possible, otherwise describe what was generated and let the user open them.--## Presets--Starting prompts — enhance with project-specific context (colours, mood, subject):--| Preset | Base Prompt |-|--------|-------------|-| `hero-background` | "Wide atmospheric background, soft-focus, [colour tones], [mood], landscape 1920x1080" |-| `og-image` | "Clean branded card background, [brand colours], subtle gradient, 1200x630" |-| `placeholder-photo` | "Professional stock-style photo of [subject], natural lighting, warm tones" |-| `texture-pattern` | "Subtle repeating texture, [material], seamless tile, muted [colour]" |-| `product-shot` | "Product photography, [item] on [surface], soft studio lighting, clean background" |--## Model Selection--| Use case | Model | Cost |-|----------|-------|------|-| Drafts, quick placeholders | `gemini-2.5-flash-image` | Free (~500/day) |-| Final client assets | `gemini-3-pro-image-preview` | ~$0.04/image |-| Style-matched variants | `gemini-3-pro-image-preview` + reference image | ~$0.04/image |--Verify current model IDs if errors occur — they change frequently.--## Reference Files--| When | Read |-|------|------|-| Building effective prompts | [references/prompting-guide.md](references/prompting-guide.md) |-| API implementation details | [references/api-pattern.md](references/api-pattern.md) |diff --git a/plugins/design-assets/skills/gemini-image-gen/references/api-pattern.md b/plugins/design-assets/skills/gemini-image-gen/references/api-pattern.mddeleted file mode 100644index 8bb8bbfc..00000000--- a/plugins/design-assets/skills/gemini-image-gen/references/api-pattern.md+++ /dev/null@@ -1,95 +0,0 @@-# Gemini Image Generation API Pattern--Reference implementation for calling the Gemini image generation API. Claude should generate-a tailored script based on the user's needs rather than using this as-is.--## Core Pattern: Text-to-Image--```python-import base64, json, os, urllib.request, urllib.error--def generate_image(model, prompt, api_key, reference_path=None):- """Generate an image via Gemini API. Returns raw image bytes."""- url = f"https://generativelanguage.googleapis.com/v1beta/models/{model}:generateContent?key={api_key}"-- parts = []-- # Optional: style reference image- if reference_path:- with open(reference_path, "rb") as f:- img_data = base64.b64encode(f.read()).decode()- ext = reference_path.rsplit(".", 1)[-1].lower()- mime = {"jpg": "image/jpeg", "jpeg": "image/jpeg", "png": "image/png",- "webp": "image/webp"}.get(ext, "image/jpeg")- parts.append({"inlineData": {"mimeType": mime, "data": img_data}})-- parts.append({"text": prompt})-- payload = json.dumps({- "contents": [{"parts": parts}],- "generationConfig": {- "responseModalities": ["TEXT", "IMAGE"],- "temperature": 0.7 if reference_path else 1.0,- },- }).encode()-- req = urllib.request.Request(url, data=payload,- headers={"Content-Type": "application/json"}, method="POST")-- with urllib.request.urlopen(req, timeout=120) as resp:- data = json.loads(resp.read().decode())-- # Extract image from response candidates- for candidate in data.get("candidates", []):- for part in candidate.get("content", {}).get("parts", []):- if "inlineData" in part:- return base64.b64decode(part["inlineData"]["data"])-- # No image — check for text response (model may have refused)- try:- text = data["candidates"][0]["content"]["parts"][0].get("text", "")- raise RuntimeError(f"Gemini returned text instead of image: {text}")- except (KeyError, IndexError):- raise RuntimeError(f"Unexpected response: {json.dumps(data)[:500]}")-```--## Key Details--**Response structure**: Gemini returns `candidates[].content.parts[]`. Each part is either-`{"text": "..."}` or `{"inlineData": {"mimeType": "image/png", "data": "<base64>"}}`.--**Temperature**: Use 0.7 with reference images (closer style match), 1.0 without (more creative).--**responseModalities**: Must include `"IMAGE"` to get image output. `["TEXT", "IMAGE"]` allows-the model to include both text and image parts.--## Multiple Variants--Generate N variants by calling the API N times:--```python-for i in range(count):- img_bytes = generate_image(model, prompt, api_key, reference_path)- if count > 1:- base, ext = output_path.rsplit(".", 1)- path = f"{base}-{i+1}.{ext}"- else:- path = output_path- os.makedirs(os.path.dirname(path) or ".", exist_ok=True)- with open(path, "wb") as f:- f.write(img_bytes)-```--## Shell Escaping Warning--Never pass prompts via curl + bash — apostrophes and special characters break JSON.-Always use Python's `json.dumps()` for serialisation, or write the prompt to a file first.--## Model IDs--| Use case | Model | Cost |-|----------|-------|------|-| Drafts | `gemini-2.5-flash-image` | Free (~500/day) |-| Final assets | `gemini-3-pro-image-preview` | ~$0.04/image |--Verify model IDs if errors occur — they change frequently.diff --git a/plugins/design-assets/skills/gemini-image-gen/references/prompting-guide.md b/plugins/design-assets/skills/gemini-image-gen/references/prompting-guide.mddeleted file mode 100644index 4e4fd492..00000000--- a/plugins/design-assets/skills/gemini-image-gen/references/prompting-guide.md+++ /dev/null@@ -1,114 +0,0 @@-# Gemini Image Prompting Guide--## The 5-Part Prompt Framework--Build prompts using these five components in order:--### 1. Scene Setup-What's in the image — subject, setting, composition.--```-"A woman receiving a facial treatment in a luxury day spa"-"A modern office workspace with plants and warm lighting"-"An aerial view of a coastal town at sunset"-```--### 2. Camera & Lens-Concrete photography parameters control the look more reliably than adjectives.--| Parameter | Effect | Example |-|-----------|--------|---------|-| Focal length | Compression/perspective | "85mm" (portrait), "24mm" (wide), "135mm" (compressed) |-| Aperture | Depth of field | "f/1.8" (blurry bg), "f/8" (sharp throughout) |-| Angle | Perspective | "eye level", "overhead flat lay", "low angle looking up" |-| Distance | Framing | "close-up", "medium shot", "wide establishing shot" |--```-"Shot at 85mm f/1.8, shallow depth of field, medium shot from eye level"-```--### 3. Lighting-Describe the light source, quality, and colour temperature.--| Instead of... | Use... |-|---------------|--------|-| "beautiful lighting" | "warm golden-hour light from the left, 4500K" |-| "professional lighting" | "soft diffused window light, slight rim light from behind" |-| "moody lighting" | "low-key dramatic side lighting, deep shadows, single source" |--```-"Warm directional light from a large window on the right, soft shadows, 4000K colour temperature"-```--### 4. Colour Palette-Anchor to specific colours from the project. Use hex codes or descriptive anchors.--```-"Warm terracotta (#C66A52) and cream (#F5F0EB) tones throughout"-"Cool slate blue and white palette, desaturated"-"Rich emerald green and gold accents"-```--**Pull from the project**: check `input.css`, `tailwind.config`, or the colour-palette skill output for exact values.--### 5. Negative Constraints-What to exclude. Always include these:--```-"No text, no watermarks, no logos, no hands, no fingers"-```--Add context-specific negatives:--```-"No people" (for abstract backgrounds)-"No artificial elements" (for nature shots)-"No cluttered background" (for product shots)-```--## Complete Example--```-A woman receiving a gentle facial treatment in a luxury day spa,-warm golden-hour light streaming through sheer curtains from the left,-shot at 85mm f/2.0 with shallow depth of field,-warm terracotta and cream colour palette,-soft bokeh in the background showing spa interior,-photorealistic, natural skin texture,-no text, no watermarks, no logos, no hands visible-```--## Style Matching with Reference Images--When using `--reference` to match an existing image's style:--1. **Be specific about what to change** (subject, framing, setting)-2. **Let the model infer what to keep** (lighting, colour palette, mood)-3. **Lower temperature** (0.7) stays closer to the reference--```-"Using the same warm lighting, colour palette, and photographic style as the reference image,-generate a close-up of hands performing a massage treatment on a spa table.-Maintain the same soft-focus background treatment and golden tones."-```--## Common Failure Modes--| Issue | Fix |-|-------|-----|-| Text appears in image | Add "no text, no words, no letters" explicitly |-| Hands look wrong | Add "no hands, no fingers" or crop hands out |-| Too generic/stock-photo | Add specific camera specs and colour anchors |-| Inconsistent style across variants | Use `--reference` with the best variant as input |-| Image has watermark-like patterns | Add "clean image, no watermarks, no artifacts" |--## Web Asset Dimensions--| Use case | Dimensions | Aspect Ratio |-|----------|-----------|--------------|-| Hero banner | 1920x1080 | 16:9 |-| OG / social card | 1200x630 | ~1.9:1 |-| Square thumbnail | 1024x1024 | 1:1 |-| Blog header | 1200x675 | 16:9 |-| Product photo | 1024x1024 | 1:1 |-| Texture/pattern tile | 512x512 | 1:1 |diff --git a/plugins/dev-tools/.claude-plugin/plugin.json b/plugins/dev-tools/.claude-plugin/plugin.jsonindex a6c6fc68..0ce26833 100644--- a/plugins/dev-tools/.claude-plugin/plugin.json+++ b/plugins/dev-tools/.claude-plugin/plugin.json@@ -1,6 +1,6 @@{"name": "dev-tools",- "description": "Project health and permission management, dev sessions, team updates with feedback triage, GitHub releases, multi-model brains trust (second opinions from Gemini/GPT/Qwen/DeepSeek), Gemini API guide, capabilities reference, UX audits, responsive layout testing, and browser automation.",+ "description": "Project health and permission management, dev sessions, team updates with feedback triage, GitHub releases, multi-model brains trust, git workflows, UX audits, responsive layout testing, and browser automation.","author": {"name": "Jeremy Dawes / Jezweb","email": "[email protected]"diff --git a/plugins/dev-tools/skills/claude-capabilities/SKILL.md b/plugins/dev-tools/skills/claude-capabilities/SKILL.mddeleted file mode 100644index 92e936b6..00000000--- a/plugins/dev-tools/skills/claude-capabilities/SKILL.md+++ /dev/null@@ -1,48 +0,0 @@-----name: claude-capabilities-description: >- Current Claude AI and Claude Code capabilities, features, and limits.- Consult before making claims about what Claude can or cannot do, what- features exist, model availability, pricing, or environment differences.- Use when answering "can Claude do X?", comparing Claude AI vs Code,- checking current model specs, or advising on which environment suits a task.------# Claude Capabilities Reference--Claude's training data goes stale within weeks of major releases. This skill provides a current reference for Claude AI (web/app) and Claude Code (terminal/IDE) capabilities. Consult these references before making claims about features, limits, or availability.--## Quick Comparison--| Capability | Claude AI | Claude Code |-|-----------|-----------|-------------|-| File system | Container sandbox (`/mnt/user-data/outputs/`) | Full local filesystem |-| Shell access | None | Bash tool |-| Skills location | Settings > Capabilities (zip upload) | `~/.claude/skills/` or `.claude/skills/` |-| MCP connection | UI connectors | `claude mcp add` / settings.json |-| Subagents | None | Explore, Plan, custom agents, Agent Teams |-| Artifacts | HTML, React, Mermaid, SVG, MD (render inline) | Not available |-| Interactive Apps | Slack, Canva, Figma, Box + 5 more | Not available |-| Web search | Built-in with citations | WebSearch tool |-| File creation | DOCX, PPTX, XLSX, PDF, code files | Any file via Write tool |-| Memory | Cross-conversation (automatic) | CLAUDE.md hierarchy + rules/ |-| Conversation search | `conversation_search` tool (internal) | Not available |-| Git integration | Not available | Full git access |-| Deployment | Not available | wrangler, vercel, etc. |--## Reference Files--| Question | Read |-|----------|------|-| What can Claude AI do? Features, limits, container | [references/claude-ai.md](references/claude-ai.md) |-| What can Claude Code do? Agent Teams, Cowork, hooks | [references/claude-code.md](references/claude-code.md) |-| Model names, pricing, context windows | [references/models.md](references/models.md) |-| What changed recently? New features by date | [references/changelog.md](references/changelog.md) |--## Maintenance--Each reference file has a "Last verified" date at the top. When information seems wrong or outdated:--1. Check the reference files first — they override training data for recent features-2. If a reference file's "Last verified" date is more than 4 weeks old, flag it to the user-3. Use web search to verify uncertain claims before stating them as factdiff --git a/plugins/dev-tools/skills/claude-capabilities/references/changelog.md b/plugins/dev-tools/skills/claude-capabilities/references/changelog.mddeleted file mode 100644index 90733d58..00000000--- a/plugins/dev-tools/skills/claude-capabilities/references/changelog.md+++ /dev/null@@ -1,49 +0,0 @@-# Claude Changelog--> Last verified: 2026-02-17--Recent changes to Claude AI and Claude Code, reverse-chronological. Focus on features that post-date training data.--## 2026-02--- **Feb 13** [Claude Code] v2.1.42 released-- **Feb 5** [Claude Code] Agent Teams (experimental) — multi-instance orchestration with shared task lists, inter-agent messaging, tmux split panes. Requires Max plan. Enable: `CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS=1`-- **Feb 4** [Claude AI] Permanent ad-free commitment announced--## 2026-01--- **Jan 26** [Claude AI] Interactive Apps launched — Slack, Canva, Figma, Box, Clay, Asana, Amplitude, Hex, Monday.com. Powered by MCP Apps protocol extension. Available on Pro, Max, Team, Enterprise.-- **Jan 2026** [Claude Code] Cowork launched — Claude Code for non-developers with local folder access. macOS only, Max plan required.-- **Jan 2026** [Claude AI] Free tier expanded — now includes file creation, connectors, skills, longer conversations-- **Jan 2026** [Claude AI] Claude in Chrome (browser agent) entered beta-- **Jan 2026** [Claude AI] Claude in Excel (spreadsheet agent) entered beta--## 2025-11--- **Nov 1** [Models] Opus 4.5 released (`claude-opus-4-5-20251101`, $5/$25 per MTok)--## 2025-10--- **Oct 1** [Models] Haiku 4.5 released (`claude-haiku-4-5-20251001`, $1/$5 per MTok)--## 2025-09--- **Sep 29** [Models] Sonnet 4.5 released (`claude-sonnet-4-5-20250929`, $3/$15 per MTok)--## 2025-08--- **Aug 5** [Models] Opus 4.1 released (`claude-opus-4-1-20250805`)--## 2025-05--- **May 14** [Models] Opus 4 and Sonnet 4 released (first Claude 4 family)--## How to Update--After a major Anthropic release:--1. Check https://www.anthropic.com/news for announcements-2. Verify model IDs via API (see models.md)-3. Update the relevant reference file-4. Update "Last verified" date at the top of each modified file-5. Add entry to this changelogdiff --git a/plugins/dev-tools/skills/claude-capabilities/references/claude-ai.md b/plugins/dev-tools/skills/claude-capabilities/references/claude-ai.mddeleted file mode 100644index e7055129..00000000--- a/plugins/dev-tools/skills/claude-capabilities/references/claude-ai.md+++ /dev/null@@ -1,82 +0,0 @@-# Claude AI (claude.ai / Desktop App)--> Last verified: 2026-02-17--## Models--Default model varies by plan: Opus 4.6 for Pro/Max/Team, Sonnet 4.5 for Free. See [models.md](models.md) for full list.--## Plans--| Tier | Key Limits |-|------|-----------|-| Free | File creation, connectors, skills, longer conversations (expanded Jan 2026) |-| Pro | Higher usage limits, all features |-| Max | Highest limits, Cowork access |-| Team | Collaboration features, admin controls |-| Enterprise | SSO, audit logs, custom retention |--## Skills--Upload via Settings > Capabilities > Skills. Format: zip archive containing SKILL.md + optional scripts/, references/, assets/. Skills trigger based on YAML frontmatter `description` field. Available on all plans including Free.--## MCP Connectors--Connected via UI (Settings > Connectors). Current first-party connectors include Gmail, Google Chat, Google Drive, Google Docs, Google Sheets, Google Tasks, Cloudflare, Mermaid Chart. Third-party connectors available through partner integrations.--## Interactive Apps--Launched Jan 26, 2026. Powered by "MCP Apps" protocol extension. Nine launch partners:--- Slack, Canva, Figma, Box, Clay, Asana, Amplitude, Hex, Monday.com--These deliver interactive UI within the Claude conversation. Different from MCP connectors — they're rich, embedded app experiences. Available on Pro, Max, Team, Enterprise.--## Artifacts--Render inline in conversation:--| Type | Description |-|------|-------------|-| HTML | Full web pages with CSS/JS |-| React/JSX | Interactive components |-| Mermaid | Diagrams and charts |-| SVG | Vector graphics |-| Markdown | Formatted documents |-| Code | Syntax-highlighted, copyable |--## File Creation--Can create and download: DOCX, PPTX, XLSX, PDF, code files, images (via tool use). Output path: `/mnt/user-data/outputs/`. Use `present_files` tool to share files with the user.--## Memory--Automatic cross-conversation memory from chat history. Claude remembers facts, preferences, and context from previous conversations. No explicit memory management by user — it just works.--## Search--- **Web search**: Built-in with citations. Automatic when current information is needed.-- **Conversation search**: `conversation_search` and `recent_chats` internal tools for searching past conversations. Not accessible from external tools or APIs.--## Beta Features--- **Claude in Chrome**: Browser automation agent. Controls Chrome tabs, fills forms, navigates. Beta access.-- **Claude in Excel**: Spreadsheet automation agent. Beta access.--## Container Environment--Ubuntu-based sandbox. Python available for skill script execution. Key paths:--- `/mnt/user-data/outputs/` — file output directory-- `/mnt/skills/` — loaded skill files--No persistent bash shell. No local filesystem access beyond the container. Cannot install arbitrary packages. No git, no deployment tools, no CLI access to external services.--## What Claude AI Cannot Do--- Access the user's local filesystem-- Run bash commands on the user's machine-- Deploy code (no wrangler, vercel, etc.)-- Use subagents or Agent Teams-- Access Claude Code conversation logs-- Run persistent background processesdiff --git a/plugins/dev-tools/skills/claude-capabilities/references/claude-code.md b/plugins/dev-tools/skills/claude-capabilities/references/claude-code.mddeleted file mode 100644index 3ea67144..00000000--- a/plugins/dev-tools/skills/claude-capabilities/references/claude-code.md+++ /dev/null@@ -1,106 +0,0 @@-# Claude Code (Terminal / IDE)--> Last verified: 2026-02-17--## Overview--CLI tool for software engineering. Runs in the terminal with full local filesystem and bash access. Current version: ~v2.1.42 (Feb 13, 2026).--## Plans--Available on all Claude plans (Pro, Max, Team, Enterprise). Some features require Max plan (see Agent Teams, Cowork below).--## Skills--Directory-based, no packaging needed for local use:--- Global: `~/.claude/skills/<skill-name>/SKILL.md`-- Project: `.claude/skills/<skill-name>/SKILL.md`-- Install: `/plugin install <name>` or `/plugin marketplace add <repo>`--Skills auto-create `/skill-name` slash commands.--## MCP--Configure via `claude mcp add <name>` or edit settings.json directly. Supports stdio and SSE transports. Tools appear as `mcp__<server>__<tool>` format. MCP tools are inherited by subagents when the `tools` field is omitted from agent config.--## Agent Teams (Experimental)--Launched Feb 5, 2026. Multi-instance orchestration where multiple Claude Code sessions coordinate as a team.--- **Shared task lists**: TaskCreate, TaskUpdate, TaskList, TaskGet tools-- **Inter-agent messaging**: Teammates communicate directly-- **Display**: In-process (Shift+Up/Down) or split panes (tmux/iTerm2)-- **Enable**: `CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS=1`-- **Requires**: Max plan-- **Use cases**: Research + review in parallel, cross-layer coordination, parallel debugging hypotheses--Each teammate gets its own context window. Token usage scales with teammate count.--## Cowork--Launched Jan 2026. Claude Code for non-developers. Provides local folder access with file watching.--- macOS only-- Requires Max plan-- Designed for knowledge workers, not just software engineers--## Subagents--Fork work to specialised agents via the Task tool:--| Built-in | Purpose |-|----------|---------|-| Explore | Read-only codebase exploration |-| Plan | Architecture planning without edits |-| general-purpose | Flexible multi-tool agent |--Custom agents defined in `.claude/agents/` directory. Subagents inherit MCP tools when the `tools` field is omitted from the agent config.--## Hooks--Event-driven automation configured in settings or `.claude/` directory:--| Event | Fires when |-|-------|-----------|-| PreToolUse | Before a tool is called |-| PostToolUse | After a tool completes |-| Notification | On notifications |-| TeammateIdle | Agent Teams: teammate finishes work |-| TaskCompleted | Agent Teams: task marked complete |--## Memory System--Hierarchical CLAUDE.md files loaded from current directory + all parent directories:--- `~/CLAUDE.md` — global context (always loaded)-- `~/project/CLAUDE.md` — project context-- `~/project/src/CLAUDE.md` — directory-specific context--Additional memory:-- `~/.claude/rules/` — global rules (always loaded)-- `.claude/rules/` — project rules-- Memory frontmatter scopes: `user`, `project`, `local`--## Available Tools--| Tool | Purpose |-|------|---------|-| Read, Write, Edit | File operations |-| Glob, Grep | Search files and content |-| Bash | Shell command execution |-| WebFetch, WebSearch | Web access |-| Task | Delegate to subagents |-| ToolSearch | Discover deferred/MCP tools |-| AskUserQuestion | Get user input |--Plus any MCP tools from connected servers.--## What Claude Code Cannot Do--- Render artifacts (HTML, React) inline-- Access Claude AI conversation history (no API exists)-- Use Interactive Apps (Slack, Canva, etc.)-- Run without a terminal/IDE environment-- Create DOCX/PPTX/XLSX natively (needs libraries)-- Search past Claude AI conversationsdiff --git a/plugins/dev-tools/skills/claude-capabilities/references/models.md b/plugins/dev-tools/skills/claude-capabilities/references/models.mddeleted file mode 100644index 2142d1f7..00000000--- a/plugins/dev-tools/skills/claude-capabilities/references/models.md+++ /dev/null@@ -1,65 +0,0 @@-# Claude Models--> Last verified: 2026-02-17--## Current Models--| Model | API ID | Alias | Context | Input/MTok | Output/MTok |-|-------|--------|-------|---------|-----------|-------------|-| Opus 4.6 | `claude-opus-4-6` | — | 1M | $15 | $75 |-| Sonnet 4.5 | `claude-sonnet-4-5-20250929` | `claude-sonnet-4-5` | 200K | $3 | $15 |-| Haiku 4.5 | `claude-haiku-4-5-20251001` | `claude-haiku-4-5` | 200K | $1 | $5 |-| Opus 4.5 | `claude-opus-4-5-20251101` | `claude-opus-4-5` | 200K | $5 | $25 |--## Legacy Models (still available)--| Model | API ID | Alias |-|-------|--------|-------|-| Opus 4.1 | `claude-opus-4-1-20250805` | `claude-opus-4-1` |-| Sonnet 4 | `claude-sonnet-4-20250514` | `claude-sonnet-4-0` |-| Opus 4 | `claude-opus-4-20250514` | `claude-opus-4-0` |-| Sonnet 3.7 | `claude-3-7-sonnet-20250219` | `claude-3-7-sonnet-latest` |-| Haiku 3 | `claude-3-haiku-20240307` | — |--## Retired (EOL Feb 2026)--| Model | Replaced by |-|-------|-------------|-| Haiku 3.5 (`claude-3-5-haiku-20241022`) | Haiku 4.5 |-| Sonnet 3.5 (`claude-3-5-sonnet-20241022`) | Sonnet 4.5 |--## Default Models by Environment--| Environment | Default model |-|-------------|--------------|-| Claude AI (Pro/Max/Team) | Opus 4.6 |-| Claude AI (Free) | Sonnet 4.5 |-| Claude Code | Opus 4.6 |-| Claude Code fast mode | Same model (Opus 4.6), faster output |-| API | No default — must specify |--## When to Use Which--| Use case | Recommended |-|----------|-------------|-| Most tasks | Sonnet 4.5 (best cost/quality balance) |-| Complex reasoning, creative work | Opus 4.6 or Opus 4.5 |-| High-volume, cost-sensitive | Haiku 4.5 |-| Subagent delegation (simple tasks) | Haiku 4.5 |-| Quality-critical outputs | Opus 4.6 |--## Verification--When uncertain about model availability, verify via API:--```bash-# Anthropic-curl -s https://api.anthropic.com/v1/models \- -H "x-api-key: $ANTHROPIC_API_KEY" \- -H "anthropic-version: 2024-01-01" | jq '.data[].id'--# OpenRouter-curl -s https://openrouter.ai/api/v1/models | jq -r '.data[].id' | grep -i "claude"-```--Official docs: https://platform.claude.com/docs/en/docs/about-claude/modelsdiff --git a/plugins/dev-tools/skills/gemini-guide/SKILL.md b/plugins/dev-tools/skills/gemini-guide/SKILL.mddeleted file mode 100644index 73e8c8e9..00000000--- a/plugins/dev-tools/skills/gemini-guide/SKILL.md+++ /dev/null@@ -1,117 +0,0 @@-----name: gemini-guide-description: "Look up Gemini API documentation, SDK patterns, and current best practices when building with Google Gemini. Maps topics to local cached docs and live sources, provides correct @google/genai patterns, and highlights deprecated vs current API usage. Trigger with 'gemini docs', 'gemini guide', 'how to use gemini', 'gemini SDK', '@google/genai', or when building code that imports from @google/genai or google-genai."-compatibility: claude-code-only------# Gemini Guide--Look up Gemini API documentation and SDK patterns when building with Google Gemini. This skill brings Gemini docs TO Claude — it does not call Gemini.--| Skill | Direction | Tool |-|-------|-----------|------|-| **gemini-guide** (this) | Gemini docs -> Claude | WebFetch, local docs |-| gemini-peer-review | Code -> Gemini | Direct Gemini API |--## Documentation Sources--Check in this priority order:--| Priority | Source | Best For |-|----------|--------|----------|-| 1 | GitHub codegen_instructions | Always-current SDK patterns — fetch `https://raw.githubusercontent.com/googleapis/js-genai/refs/heads/main/codegen_instructions.md` |-| 2 | Google AI docs via WebFetch | Official docs — `https://ai.google.dev/gemini-api/docs/{topic}` (append `.md.txt` for markdown) |-| 3 | Local cached docs (if available at `~/Documents/google-gemini-context/`) | Pre-fetched topics — 24 JS, 24 Python, 7 common |--## Lookup Workflow--When the user asks about a Gemini topic:--1. **Check corrections first**: Read [references/deprecated-patterns.md](references/deprecated-patterns.md) — know what NOT to suggest before writing any code-2. **Fetch latest SDK patterns**: Get the GitHub codegen_instructions.md for always-current patterns-3. **Map the query to a topic**: Read [references/topic-index.md](references/topic-index.md) — if local docs exist at `~/Documents/google-gemini-context/`, read the matching file; otherwise use WebFetch on `https://ai.google.dev/gemini-api/docs/{topic}.md.txt`-4. **Synthesise**: Combine the documentation into a clear answer with working code examples. Always use the CORRECT patterns from step 1.--## Quick Corrections--These are the most common mistakes. Apply these even without reading the full references:--| Claude Might Suggest | Correct |-|---------------------|---------|-| `@google/generative-ai` | `@google/genai` |-| `google-generativeai` (Python) | `google-genai` |-| `GoogleGenerativeAI` | `GoogleGenAI` |-| `genAI.getGenerativeModel()` | `ai.models.generateContent()` |-| `model.startChat()` / `chat.sendMessage()` | `ai.chats.create()` / `chat.send()` |-| `generationConfig` | `config` |-| `stream=True` (method param) | `config={"stream": True}` |-| `gemini-pro` | `gemini-2.5-flash` |-| `gemini-pro-vision` | `gemini-2.5-flash` (unified multimodal) |-| 4 safety categories | 5 categories (include `HARM_CATEGORY_CIVIC_INTEGRITY`) |-| `HARM_CATEGORY_DANGEROUS_CONTENT` | `HARM_CATEGORY_DANGEROUS` (no `_CONTENT`) |-| `X-Goog-Api-Key` (capitalised) | `x-goog-api-key` (lowercase) |-| Daily rate limits | No daily limits — only per-minute (RPM, TPM) |--### Correct Initialisation (JS)--```javascript-import { GoogleGenAI } from "@google/genai";-const ai = new GoogleGenAI({}); // auto-reads GEMINI_API_KEY env var-const response = await ai.models.generateContent({- model: "gemini-2.5-flash",- contents: "Your prompt"-});-```--### Correct Initialisation (Python)--```python-from google import genai-client = genai.Client() # auto-reads GEMINI_API_KEY env var-response = client.models.generate_content(- model="gemini-2.5-flash",- contents="Your prompt"-)-```--## Local Docs (Optional)--If you have a local cache at `~/Documents/google-gemini-context/`, it contains:--| Directory | Contents |-|-----------|----------|-| `javascript/` | 24 topic files — quickstart, function-calling, streaming, structured-output, etc. |-| `python/` | 24 topic files — same topics as JavaScript |-| `common/` | 7 cross-language files — safety, pricing, rate-limits, errors, auth, regions, openai-compat |-| `rest-api/` | REST endpoint docs |-| `MODELS.md` | Current model IDs, capabilities, token limits, rate limits |-| `googlegenai-gemini-api.md` | Comprehensive SDK guide (608 lines, JS + Python) |--If not available, fall back to WebFetch on Google AI docs (append `.md.txt` for markdown format).--## Current Models--| Model | ID | Best For |-|-------|-----|----------|-| Gemini 2.5 Pro | `gemini-2.5-pro` | Complex reasoning, advanced coding |-| Gemini 2.5 Flash | `gemini-2.5-flash` | Most tasks (recommended default) |-| Gemini 2.5 Flash-Lite | `gemini-2.5-flash-lite-preview-06-17` | Budget, low latency |-| Gemini 2.0 Flash | `gemini-2.0-flash` | Fast inference |-| Text Embedding | `text-embedding-004` | Semantic search, RAG (768 dims) |--For full model details, check `~/Documents/google-gemini-context/MODELS.md` (if available) or https://ai.google.dev/gemini-api/docs/models.--## Maintenance--When information seems wrong or outdated:--1. Check the GitHub codegen_instructions.md (always current)-2. Verify model IDs against `https://ai.google.dev/gemini-api/docs/models`-3. Flag stale docs to the user--## Reference Files--| When | Read |-|------|------|-| Mapping a query to a documentation file | [references/topic-index.md](references/topic-index.md) |-| Checking for deprecated patterns before writing code | [references/deprecated-patterns.md](references/deprecated-patterns.md) |diff --git a/plugins/dev-tools/skills/gemini-guide/references/deprecated-patterns.md b/plugins/dev-tools/skills/gemini-guide/references/deprecated-patterns.mddeleted file mode 100644index 9ff366f2..00000000--- a/plugins/dev-tools/skills/gemini-guide/references/deprecated-patterns.md+++ /dev/null@@ -1,152 +0,0 @@-# Deprecated Patterns--Common mistakes Claude makes when generating Gemini API code. Check this BEFORE writing any Gemini code.--Source: curated from `~/Documents/google-gemini-context/CLAUDE.md`-------## Package Names--| Language | Wrong (old) | Correct (current) |-|----------|-------------|-------------------|-| JavaScript | `@google/generative-ai` | `@google/genai` |-| Python | `google-generativeai` or `google.generativeai` | `google-genai` |--## Imports--### JavaScript-```javascript-// WRONG-import { GoogleGenerativeAI } from "@google/generative-ai";--// CORRECT-import { GoogleGenAI } from "@google/genai";-```--### Python-```python-# WRONG-import google.generativeai as genai-genai.configure(api_key=os.environ["GEMINI_API_KEY"])--# CORRECT-from google import genai-client = genai.Client() # auto-reads GEMINI_API_KEY-```--## Initialisation--### JavaScript-```javascript-// WRONG - old pattern-const genAI = new GoogleGenerativeAI(process.env.GEMINI_API_KEY);-const model = genAI.getGenerativeModel({ model: "gemini-pro" });-const result = await model.generateContent("prompt");--// CORRECT - new pattern-const ai = new GoogleGenAI({}); // auto-reads GEMINI_API_KEY-const response = await ai.models.generateContent({- model: "gemini-2.5-flash",- contents: "prompt"-});-```--### Python-```python-# WRONG - old pattern-genai.configure(api_key=os.environ["GEMINI_API_KEY"])-model = genai.GenerativeModel("gemini-pro")-response = model.generate_content("prompt")--# CORRECT - new pattern-client = genai.Client() # auto-reads GEMINI_API_KEY-response = client.models.generate_content(- model="gemini-2.5-flash",- contents="prompt"-)-```--## Model IDs--| Wrong (deprecated) | Correct (current) |-|--------------------|-------------------|-| `gemini-pro` | `gemini-2.5-flash` |-| `gemini-pro-vision` | `gemini-2.5-flash` (unified multimodal) |-| `gemini-2.0-flash-exp` | `gemini-2.0-flash` |-| `gemini-1.5-pro-002` | `gemini-2.5-pro` |--Default recommendation: `gemini-2.5-flash` for most tasks, `gemini-2.5-pro` for complex reasoning.--## Chat API--### JavaScript-```javascript-// WRONG - old pattern-const chat = model.startChat();-const result = await chat.sendMessage("Hello");--// CORRECT - new pattern-const chat = await ai.chats.create({ model: "gemini-2.5-flash" });-const result = await chat.send("Hello");-```--### Python-```python-# WRONG - old streaming parameter-response = model.generate_content("prompt", stream=True)--# CORRECT - config-based streaming-response = client.models.generate_content(- model="gemini-2.5-flash",- contents="prompt",- config={"stream": True}-)-```--## Safety Categories--Claude consistently forgets the 5th category and uses the wrong name for the 4th:--```python-# WRONG - 4 categories, wrong name-categories = [- "HARM_CATEGORY_HARASSMENT",- "HARM_CATEGORY_HATE_SPEECH",- "HARM_CATEGORY_SEXUALLY_EXPLICIT",- "HARM_CATEGORY_DANGEROUS_CONTENT" # wrong: no _CONTENT-]--# CORRECT - 5 categories-categories = [- "HARM_CATEGORY_HARASSMENT",- "HARM_CATEGORY_HATE_SPEECH",- "HARM_CATEGORY_SEXUALLY_EXPLICIT",- "HARM_CATEGORY_DANGEROUS", # no _CONTENT suffix- "HARM_CATEGORY_CIVIC_INTEGRITY" # don't forget this one-]-```--## REST API Headers--```bash-# WRONG - Claude often capitalises this--H "X-Goog-Api-Key: $GEMINI_API_KEY"--# CORRECT - lowercase--H "x-goog-api-key: $GEMINI_API_KEY"-```--## Parameter Names--| Wrong (old) | Correct (current) |-|-------------|-------------------|-| `generationConfig` | `config` |-| `safetySettings` (as constructor param) | `config.safety_settings` |-| `stream=True` (as method param) | `config={"stream": True}` |--## Rate Limits--- There are NO daily limits -- only per-minute (RPM, TPM)-- Claude sometimes invents "1,500 requests per day" -- this is wrong-- Free tier: per-model RPM/TPM limits onlydiff --git a/plugins/dev-tools/skills/gemini-guide/references/topic-index.md b/plugins/dev-tools/skills/gemini-guide/references/topic-index.mddeleted file mode 100644index fbc4b6dc..00000000--- a/plugins/dev-tools/skills/gemini-guide/references/topic-index.md+++ /dev/null@@ -1,76 +0,0 @@-# Topic Index--Maps Gemini API topics to documentation files. All paths relative to `~/Documents/google-gemini-context/`.--## Topic-to-File Mapping--| Topic | JS Doc | Python Doc | Common Doc |-|-------|--------|------------|------------|-| Quickstart / setup | javascript/quickstart.md | python/quickstart.md | -- |-| Client initialisation | javascript/client-setup.md | python/client-setup.md | -- |-| Text generation | javascript/text-generation.md | python/text-generation.md | -- |-| Chat / multi-turn | javascript/chat.md | python/chat.md | -- |-| Streaming | javascript/streaming.md | python/streaming.md | -- |-| Function calling / tools | javascript/function-calling.md | python/function-calling.md | -- |-| Structured output / JSON | javascript/structured-output.md | python/structured-output.md | -- |-| Vision / image understanding | javascript/vision.md | python/vision.md | -- |-| Image generation | javascript/image-generation.md | python/image-generation.md | -- |-| Video understanding | javascript/video.md | python/video.md | -- |-| Video generation | javascript/video-generation.md | python/video-generation.md | -- |-| Audio | javascript/audio.md | python/audio.md | -- |-| Speech generation | javascript/speech-generation.md | python/speech-generation.md | -- |-| Music generation | javascript/music-generation.md | python/music-generation.md | -- |-| Document understanding | javascript/document-understanding.md | python/document-understanding.md | -- |-| Embeddings | javascript/embeddings.md | python/embeddings.md | -- |-| File API / uploads | javascript/files-api.md | python/files-api.md | -- |-| Context caching | javascript/caching.md | python/caching.md | -- |-| Code execution | javascript/code-execution.md | python/code-execution.md | -- |-| Thinking / reasoning | javascript/thinking.md | python/thinking.md | -- |-| Token counting | javascript/token-counting.md | python/token-counting.md | -- |-| Grounding / search | javascript/grounding.md | python/grounding.md | -- |-| URL context | javascript/url-context.md | python/url-context.md | -- |-| Batch processing | javascript/batch.md | python/batch.md | -- |-| Safety settings | -- | -- | common/safety.md |-| Authentication | -- | -- | common/authentication.md |-| Pricing | -- | -- | common/pricing.md |-| Rate limits | -- | -- | common/rate-limits.md |-| Error handling | -- | -- | common/errors.md |-| Regions | -- | -- | common/regions.md |-| OpenAI compatibility | -- | -- | common/openai-compatibility.md |-| Models reference | -- | -- | MODELS.md |-| SDK overview (JS+Python) | -- | -- | googlegenai-gemini-api.md |--## Keyword Mapping--When the user's query doesn't map directly to a topic name:--| User Says | Maps To |-|-----------|---------|-| "JSON output", "schema", "typed response" | Structured output |-| "tool use", "tool calling", "tools" | Function calling |-| "upload file", "send image", "attach" | File API |-| "real-time", "live", "websocket" | Streaming |-| "reasoning", "chain of thought", "deep thinking" | Thinking |-| "search grounding", "Google Search" | Grounding |-| "OCR", "PDF", "read document" | Document understanding |-| "RAG", "semantic search", "vector" | Embeddings |-| "save tokens", "reduce cost" | Context caching |-| "run code", "execute Python" | Code execution |-| "how much does it cost" | Pricing |-| "which model", "model comparison" | Models reference |-| "API key", "credentials" | Authentication |-| "429", "quota", "too many requests" | Rate limits |-| "OpenAI compatible", "drop-in replacement" | OpenAI compatibility |-| "TTS", "text to speech", "voice" | Speech generation |-| "generate music", "audio creation" | Music generation |--## Live Documentation Sources--When local docs seem stale or a topic isn't covered locally:--| Source | URL | Notes |-|--------|-----|-------|-| GitHub JS SDK (codegen_instructions) | `https://raw.githubusercontent.com/googleapis/js-genai/refs/heads/main/codegen_instructions.md` | Always current SDK patterns |-| GitHub JS SDK README | `https://raw.githubusercontent.com/googleapis/js-genai/refs/heads/main/README.md` | Package overview |-| Google AI docs (try markdown) | `https://ai.google.dev/gemini-api/docs/{topic}` | HTML only -- use WebFetch |-| NPM package info | `https://www.npmjs.com/package/@google/genai` | Version tracking |diff --git a/plugins/dev-tools/skills/git-workflow/SKILL.md b/plugins/dev-tools/skills/git-workflow/SKILL.mdnew file mode 100644index 00000000..cf8ada43--- /dev/null+++ b/plugins/dev-tools/skills/git-workflow/SKILL.md@@ -0,0 +1,151 @@+---+name: git-workflow+description: "Guided git workflows: prepare PRs, clean up branches, resolve merge conflicts, handle monorepo tags, squash-and-merge patterns. Use when asked to prepare a PR, clean branches, resolve conflicts, or tag a release."+---++# Git Workflow++Guided workflows for common git operations that benefit from structured steps.++## PR Preparation++When preparing a pull request:++1. **Gather context**+ - `git log main..HEAD --oneline` — list all commits on the branch+ - `git diff main...HEAD --stat` — see all changed files+ - `git status` — check for uncommitted work++2. **Draft PR content**+ - Title: under 70 chars, describes the change (not the branch name)+ - Body: summarise the "why", list key changes, add test plan+ - Use the commit history to write the summary — don't rely on memory++3. **Push and create**+ ```bash+ git push -u origin HEAD+ gh pr create --title "..." --body "$(cat <<'EOF'+ ## Summary+ - ...++ ## Test plan+ - [ ] ...++ 🤖 Generated with [Claude Code](https://claude.com/claude-code)+ EOF+ )"+ ```++4. **Verify** — `gh pr view --web` to open in browser++## Branch Cleanup++Clean up merged branches safely:++1. **Switch to main and pull latest**+ ```bash+ git checkout main && git pull+ ```++2. **List merged branches** (excludes main/master/develop)+ ```bash+ git branch --merged main | grep -vE '^\*|main|master|develop'+ ```++3. **Delete local merged branches**+ ```bash+ git branch --merged main | grep -vE '^\*|main|master|develop' | xargs -r git branch -d+ ```++4. **Prune remote tracking refs**+ ```bash+ git fetch --prune+ ```++5. **List remote branches with no local tracking** (optional)+ ```bash+ git branch -r --merged origin/main | grep -vE 'main|master|develop|HEAD'+ ```++## Merge Conflict Resolution++When a PR has conflicts:++1. **Assess the conflict scope**+ ```bash+ git fetch origin+ git merge origin/main --no-commit --no-ff+ git diff --name-only --diff-filter=U # List conflicted files+ ```++2. **For each conflicted file**, read the file and resolve:+ - Keep both changes if they're in different areas+ - If architecturally incompatible, prefer the main branch's approach and re-apply the PR's intent on top++3. **If rebase is cleaner** (few commits, no shared history):+ ```bash+ git rebase origin/main+ # Resolve conflicts per commit, then:+ git rebase --continue+ ```++4. **If rebase is messy** (many conflicts, architectural divergence):+ - Abort: `git rebase --abort` or `git merge --abort`+ - Extract useful code: `git show origin/branch:path/to/file > /tmp/extracted.txt`+ - Apply changes manually to main+ - Close original PR with explanation++5. **Verify** — run tests, check the diff looks right++## Monorepo Release Tags++In monorepos, scope tags to the package:++```bash+# ❌ Ambiguous in monorepos+git tag v2.1.0++# ✅ Scoped to package+git tag contextbricks-v2.1.0+git push origin contextbricks-v2.1.0+```++Pattern: `{package-name}-v{semver}`++## .gitignore-First Init++When creating a new repo, always create `.gitignore` BEFORE the first `git add`:++```bash+cat > .gitignore << 'EOF'+node_modules/+.wrangler/+dist/+.dev.vars+*.log+.DS_Store+.env+.env.local+EOF++git init && git add . && git commit -m "Initial commit"+```++**If node_modules is already tracked:**+```bash+git rm -r --cached node_modules/+git commit -m "Remove node_modules from tracking"+```++## Private Repo License Audit++Before publishing or sharing a private repo:++```bash+gh repo view --json visibility -q '.visibility'+```++If `PRIVATE`, ensure:+- `LICENSE` contains proprietary notice (not MIT/Apache)+- `package.json` has `"license": "UNLICENSED"` and `"private": true`+- No `CONTRIBUTING.md` or "contributions welcome" in READMEdiff --git a/plugins/web-design/.claude-plugin/plugin.json b/plugins/web-design/.claude-plugin/plugin.jsonindex aa638046..3a9771af 100644--- a/plugins/web-design/.claude-plugin/plugin.json+++ b/plugins/web-design/.claude-plugin/plugin.json@@ -1,6 +1,6 @@{"name": "web-design",- "description": "Web design methodology, component patterns (heroes, cards, CTAs), and local business SEO.",+ "description": "Local business SEO setup with JSON-LD schema, meta tags, robots.txt, and sitemap.","author": {"name": "Jeremy Dawes / Jezweb","email": "[email protected]"diff --git a/plugins/web-design/skills/web-design-methodology/SKILL.md b/plugins/web-design/skills/web-design-methodology/SKILL.mddeleted file mode 100644index 65eac4a1..00000000--- a/plugins/web-design/skills/web-design-methodology/SKILL.md+++ /dev/null@@ -1,289 +0,0 @@-----name: web-design-methodology-description: "Universal web design implementation methodology — BEM, responsive, accessibility, CSS architecture, spacing systems, dark mode. The HOW of building production-grade HTML/CSS."------# Web Design Methodology--Universal patterns for building production-grade HTML/CSS. This skill covers implementation methodology — pair with `web-design-patterns` for specific component designs.--## What You Produce--Production-ready HTML/CSS prototypes with:-- Semantic CSS custom properties (tokens)-- BEM-named components-- Mobile-first responsive design-- Accessible markup-- Optional three-state dark mode--## File Structure--```-prototype/-├── index.html-├── about.html-├── services.html-├── contact.html-├── favicon.svg-├── css/-│ ├── variables.css # Tokens: colours, typography, spacing-│ ├── styles.css # All component styles (BEM)-│ └── mobile-nav.css # Mobile menu styles-├── js/-│ ├── theme.js # Dark mode toggle (only if requested)-│ └── mobile-menu.js # Hamburger menu-└── media/- └── images/-```--**Build order:**-1. `variables.css` — tokens first-2. `favicon.svg` — simple SVG from brand colour-3. `styles.css` — all BEM components-4. `mobile-nav.css` — responsive navigation-5. JS files — from `assets/` templates-6. `index.html` — homepage first-7. Inner pages — about, services, contact-8. Mobile check — verify at 375px--## BEM Naming--Use Block-Element-Modifier naming. No exceptions.--```css-/* Block */-.hero { }-.card { }-.nav { }--/* Element (child of block) */-.hero__title { }-.hero__subtitle { }-.hero__cta { }-.card__image { }-.card__content { }--/* Modifier (variation) */-.hero--split { }-.hero--minimal { }-.card--featured { }-.btn--primary { }-.btn--lg { }-```--**Rules:**-- Blocks are standalone components-- Elements are children, connected with `__`-- Modifiers are variations, connected with `--`-- Never nest more than one level: `.hero__content__title` is wrong-- Never use element without its block: `.card__image` only inside `.card`--## CSS Custom Properties--Use semantic tokens. Never hardcode colours, spacing, or typography values.--See `references/css-variables-template.md` for the complete token template.--```css-/* Always this */-.card {- background: var(--card);- color: var(--card-foreground);- border: 1px solid var(--border);- border-radius: var(--radius);- box-shadow: var(--shadow-sm);- padding: var(--space-6);-}--/* Never this */-.card {- background: #ffffff;- color: #333333;- border: 1px solid #e5e5e5;- border-radius: 8px;- box-shadow: 0 1px 3px rgba(0,0,0,0.1);- padding: 24px;-}-```--## Dark Mode (Optional)--Dark mode is **optional** — only add if the brief requests it. Most business sites ship faster as light-only.--**When to include:**-- Brief explicitly requests it-- Tech/developer audiences (expected)-- Portfolio/creative sites (aesthetic choice)--**When to skip:**-- Trades, hospitality, professional services-- When simplicity and fast shipping matter more--### If Adding Dark Mode--Use class-based toggle, never CSS media queries.--```css-/* Light mode (default) */-:root {- --background: #F9FAFB;- --foreground: #0F172A;- --card: #FFFFFF;- --card-foreground: #1E293B;-}--/* Dark mode (via .dark class on html) */-.dark {- --background: #0F172A;- --foreground: #F1F5F9;- --card: #1E293B;- --card-foreground: #F1F5F9;-}-```--**Rules:**-- `.dark` class on `<html>`, toggled via JavaScript-- NEVER use `@media (prefers-color-scheme: dark)` — JS handles system preference-- Every background token needs a paired foreground token-- Brand colours get lighter/more saturated in dark mode-- Backgrounds: `#0F172A` to `#1E293B` range (not pure black)-- Every text-on-background combo must pass WCAG AA (4.5:1)--Use `assets/theme-toggle.js` for the three-state toggle implementation.--## Responsive Design--Mobile-first. Design for 375px, enhance upward.--### Breakpoints--```css-/* Base: 375px (mobile) — no media query needed */-@media (min-width: 640px) { /* sm — large phone */ }-@media (min-width: 768px) { /* md — tablet */ }-@media (min-width: 1024px) { /* lg — small desktop */ }-@media (min-width: 1440px) { /* xl — standard desktop */ }-```--### Mobile Priorities--1. Phone number visible and tappable without scrolling-2. Primary CTA visible without scrolling-3. Navigation works via hamburger menu-4. Touch targets minimum 44x44px-5. No horizontal scrolling ever-6. Images scale properly (no overflow)--### Wide Screen Constraints--```css-.prose { max-width: 65ch; }-.hero__content { max-width: min(640px, 45vw); }-.container {- max-width: 1280px;- margin-inline: auto;- padding-inline: var(--space-4);-}-.section { padding: clamp(3rem, 6vw, 6rem) 0; }-```--Use `assets/mobile-nav.js` for the hamburger menu implementation.--## Typography Rules--1. **Dramatic size contrast.** Headlines 3-4x body size. `clamp(2.5rem, 6vw, 5rem)` for hero titles.-2. **Weight variety.** Mix 300 and 800 weights. Uniform weight is boring.-3. **One display moment per page.** One oversized word, one dramatic headline, one pull quote. Not three.-4. **Left-align body text.** Centre only for heroes and short statements. Never centre paragraphs.-5. **Letter spacing on uppercase.** Add `letter-spacing: 0.05em` minimum.--## Colour Usage--The 80/20 rule:--- 80% neutral tones (backgrounds, text, cards)-- 15% secondary/muted brand tones-- 5% primary brand colour (CTAs, one accent per viewport)--If primary is on every heading, border, icon — nothing stands out.--## Spacing System--Not uniform padding. Sections breathe differently:--```css-/* Tight section (service list, FAQ) */-.section--compact { padding: clamp(2rem, 4vw, 4rem) 0; }--/* Standard section */-.section { padding: clamp(3rem, 6vw, 6rem) 0; }--/* Breathing room (editorial break, testimonial) */-.section--spacious { padding: clamp(4rem, 8vw, 10rem) 0; }-```--## Shadow System--| Element | Shadow |-|---------|--------|-| Cards at rest | `--shadow-sm` |-| Cards on hover | `--shadow-md` |-| Dropdowns | `--shadow-lg` |-| Modals | `--shadow-xl` |--Not everything needs shadow. Use sparingly.--## Icons--Use Lucide icons via inline SVG:-- Size: 24px inline, 32-48px for feature blocks-- Stroke width: 1.5 or 2 (consistent throughout)-- Colour: `currentColor` (inherits text colour)-- Each icon should communicate something specific--## Accessibility--Non-negotiable:--- **Semantic HTML**: `<header>`, `<nav>`, `<main>`, `<section>`, `<footer>`-- **Alt text**: Meaningful for content images, empty for decorative-- **Contrast**: 4.5:1 minimum (7:1 preferred)-- **Focus styles**: Visible on all interactive elements-- **Skip link**: First focusable element-- **Form labels**: Associated with inputs-- **ARIA**: `aria-expanded` on toggles, `aria-label` where needed--## Performance--- `loading="lazy"` on images below the fold-- `loading="eager"` on hero image-- `<link rel="preconnect" href="https://fonts.googleapis.com">` in head-- Keep CSS under 50KB total-- No JavaScript frameworks — vanilla JS only--## Anti-AI Patterns--These patterns signal "AI generated this" — avoid:--- Hero → trust bar → 3 cards → features → stats → CTA → footer (the skeleton)-- Every section has identical padding-- All cards same size in perfect 3-column grid-- Everything centred-- Every section: heading + subheading + content (same rhythm)-- Decorative elements with no purpose-- "Learn More" as every CTA-- Inter/Arial/system fonts with no typographic personality--## Quality Checklist--Before marking complete:--- [ ] Direction is clear — can describe aesthetic in one phrase-- [ ] Typography makes a statement — not Inter/system-- [ ] Colour is restrained — primary used sparingly-- [ ] No two adjacent sections look the same-- [ ] CTAs are specific — no "Learn More"-- [ ] Mobile works — tested at 375px-- [ ] Dark mode works (only if enabled) — every section checked-- [ ] No hallucinated images — only real file paths-- [ ] Would a designer claim this as their work?diff --git a/plugins/web-design/skills/web-design-methodology/assets/mobile-nav.js b/plugins/web-design/skills/web-design-methodology/assets/mobile-nav.jsdeleted file mode 100644index e762242f..00000000--- a/plugins/web-design/skills/web-design-methodology/assets/mobile-nav.js+++ /dev/null@@ -1,22 +0,0 @@-// Mobile hamburger menu toggle-// Requires: <button id="mobile-menu-btn" aria-expanded="false">-// <nav id="mobile-nav"> with links inside-(function() {- const btn = document.getElementById('mobile-menu-btn');- const nav = document.getElementById('mobile-nav');- if (!btn || !nav) return;-- btn.addEventListener('click', () => {- const isOpen = nav.classList.toggle('is-open');- btn.setAttribute('aria-expanded', isOpen);- document.body.classList.toggle('nav-open', isOpen);- });-- nav.querySelectorAll('a').forEach(link => {- link.addEventListener('click', () => {- nav.classList.remove('is-open');- btn.setAttribute('aria-expanded', 'false');- document.body.classList.remove('nav-open');- });- });-})();diff --git a/plugins/web-design/skills/web-design-methodology/assets/theme-toggle.js b/plugins/web-design/skills/web-design-methodology/assets/theme-toggle.jsdeleted file mode 100644index 8c941a17..00000000--- a/plugins/web-design/skills/web-design-methodology/assets/theme-toggle.js+++ /dev/null@@ -1,47 +0,0 @@-// Three-state dark mode toggle: light → dark → system → light-// Only include if dark mode is requested.-// Requires: <button id="theme-toggle"> with .sun-icon and .moon-icon child SVGs-(function() {- const toggle = document.getElementById('theme-toggle');- const html = document.documentElement;- const prefersDark = window.matchMedia('(prefers-color-scheme: dark)');-- function applyTheme(theme) {- html.dataset.theme = theme;- if (theme === 'system') {- html.classList.toggle('dark', prefersDark.matches);- } else {- html.classList.toggle('dark', theme === 'dark');- }- updateIcon();- }-- function updateIcon() {- if (!toggle) return;- const isDark = html.classList.contains('dark');- const sun = toggle.querySelector('.sun-icon');- const moon = toggle.querySelector('.moon-icon');- if (sun) sun.style.display = isDark ? 'block' : 'none';- if (moon) moon.style.display = isDark ? 'none' : 'block';- }-- const saved = localStorage.getItem('theme') || 'system';- applyTheme(saved);-- if (toggle) {- toggle.addEventListener('click', () => {- const order = ['light', 'dark', 'system'];- const current = html.dataset.theme || 'system';- const next = order[(order.indexOf(current) + 1) % 3];- localStorage.setItem('theme', next);- applyTheme(next);- });- }-- prefersDark.addEventListener('change', () => {- if (html.dataset.theme === 'system') {- html.classList.toggle('dark', prefersDark.matches);- updateIcon();- }- });-})();diff --git a/plugins/web-design/skills/web-design-methodology/references/css-variables-template.md b/plugins/web-design/skills/web-design-methodology/references/css-variables-template.mddeleted file mode 100644index ccd85778..00000000--- a/plugins/web-design/skills/web-design-methodology/references/css-variables-template.md+++ /dev/null@@ -1,116 +0,0 @@-# CSS Variables Template--Complete `:root` token template. Copy and customise for each project.--## Full Template--```css-:root {- /* ── Brand Colours ── */- --primary: #hex;- --primary-foreground: #hex;- --secondary: #hex;- --secondary-foreground: #hex;- --accent: #hex;- --accent-foreground: #hex;-- /* ── Semantic Colours ── */- --background: #hex;- --foreground: #hex;- --card: #hex;- --card-foreground: #hex;- --muted: #hex;- --muted-foreground: #hex;- --border: #hex;-- /* ── Typography ── */- --font-display: 'Display Font', system-ui, sans-serif;- --font-body: 'Body Font', system-ui, sans-serif;-- /* ── Spacing Scale (4px base) ── */- --space-1: 0.25rem; /* 4px */- --space-2: 0.5rem; /* 8px */- --space-3: 0.75rem; /* 12px */- --space-4: 1rem; /* 16px */- --space-6: 1.5rem; /* 24px */- --space-8: 2rem; /* 32px */- --space-12: 3rem; /* 48px */- --space-16: 4rem; /* 64px */- --space-20: 5rem; /* 80px */- --space-24: 6rem; /* 96px */-- /* ── Border Radius ── */- --radius-sm: 0.25rem;- --radius: 0.5rem;- --radius-lg: 0.75rem;- --radius-xl: 1rem;-- /* ── Shadows ── */- --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);- --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.07), 0 2px 4px -2px rgba(0,0,0,0.05);- --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.08), 0 4px 6px -4px rgba(0,0,0,0.04);- --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.05);-}-```--## Dark Mode Override--Only include if dark mode is enabled:--```css-.dark {- /* ── Brand Colours (lighter/more saturated) ── */- --primary: #hex;- --primary-foreground: #hex;- --secondary: #hex;- --secondary-foreground: #hex;- --accent: #hex;- --accent-foreground: #hex;-- /* ── Semantic Colours ── */- --background: #0F172A;- --foreground: #F1F5F9;- --card: #1E293B;- --card-foreground: #F1F5F9;- --muted: #334155;- --muted-foreground: #94A3B8;- --border: #334155;-- /* ── Shadows (stronger in dark mode) ── */- --shadow-sm: 0 1px 2px rgba(0,0,0,0.2);- --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.3), 0 2px 4px -2px rgba(0,0,0,0.2);- --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.35), 0 4px 6px -4px rgba(0,0,0,0.2);- --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.4), 0 8px 10px -6px rgba(0,0,0,0.25);-}-```--## Token Pairing Rules--Every background token MUST have a paired foreground token:--| Background | Foreground | Use |-|------------|------------|-----|-| `--background` | `--foreground` | Page body |-| `--card` | `--card-foreground` | Cards, panels |-| `--muted` | `--muted-foreground` | Subtle backgrounds |-| `--primary` | `--primary-foreground` | Buttons, CTAs |-| `--secondary` | `--secondary-foreground` | Secondary actions |-| `--accent` | `--accent-foreground` | Highlights |--## Font Pairing Suggestions--| Category | Display | Body |-|----------|---------|------|-| Trades | Oswald, Barlow Condensed | Inter, Source Sans |-| Professional | Playfair Display, Cormorant | Lato, Open Sans |-| Hospitality | Libre Baskerville, DM Serif | DM Sans, Nunito |-| Creative | Space Grotesk, Syne | Work Sans, Outfit |-| Tech | JetBrains Mono, IBM Plex | IBM Plex Sans, Inter |--Load via Google Fonts with preconnect:--```html-<link rel="preconnect" href="https://fonts.googleapis.com">-<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>-<link href="https://fonts.googleapis.com/css2?family=Display+Font:wght@300;700&family=Body+Font:wght@400;600&display=swap" rel="stylesheet">-```diff --git a/plugins/web-design/skills/web-design-patterns/SKILL.md b/plugins/web-design/skills/web-design-patterns/SKILL.mddeleted file mode 100644index 85b9a4df..00000000--- a/plugins/web-design/skills/web-design-patterns/SKILL.md+++ /dev/null@@ -1,143 +0,0 @@-----name: web-design-patterns-description: "Design patterns for website sections — heroes, cards, CTAs, trust signals, testimonials. Principle-based patterns that avoid AI-generated aesthetics. Pair with web-design-methodology for implementation."------# Web Design Patterns--Principle-based patterns for designing website sections that feel human-designed, not AI-generated. Each pattern teaches WHY and WHEN, not just templates to copy.--## What You Produce--Well-designed website sections: heroes, card layouts, CTAs, trust signals, and testimonials that match the business context and avoid the "AI skeleton" look.--## When to Read Which Reference--| Building this... | Read this reference |-|------------------|-------------------|-| Homepage hero, page headers, landing pages | `references/hero-patterns.md` |-| Service cards, team grids, pricing tiers, portfolios | `references/card-patterns.md` |-| Conversion sections, buttons, banner CTAs | `references/cta-patterns.md` |-| Credibility: badges, licences, reviews, guarantees | `references/trust-signals.md` |-| Customer reviews, social proof, quote sections | `references/testimonial-patterns.md` |--**Load on demand** — don't read all five for every project. Read the one(s) relevant to the current section.--## Cross-Cutting Principles--These apply to ALL patterns. Internalise these before reading any reference file.--### Anti-AI Patterns (Avoid These)--The "AI skeleton" that signals template-generated design:--1. **The sequence**: Hero → trust bar → 3 identical cards → features → stats → CTA → footer-2. **Democratic design**: Every element gets equal visual weight, no hierarchy-3. **Perfect symmetry**: Everything centred, perfectly aligned, no intentional asymmetry-4. **Identical repetition**: All cards same size, same structure, same padding, same shadow-5. **Generic copy**: "Learn More" as every CTA, "Quality Service You Can Trust" as every headline-6. **Decoration without purpose**: Floating shapes, random gradients, abstract blobs--### What Makes Design Feel Human--1. **One element clearly dominates** — hierarchy, not democracy-2. **Asymmetry is intentional** — not everything centred or balanced-3. **Specific, opinionated copy** — "Schedule Your Free Roof Inspection" not "Learn More"-4. **Visual weight guides the eye** — you know where to look first, second, third-5. **Restraint** — not every technique used, just the ones that serve the purpose-6. **Context-appropriate** — emergency plumber looks different from luxury hotel--### Ethical Rules--Non-negotiable across all patterns:--**On lead-gen sites (no real business data), NEVER fabricate:**-- Star ratings or review counts-- Specific years in business-- Licence or ABN numbers-- Named individuals or team members-- Exact customer counts--**Safe alternatives for lead-gen:**-- "Experienced Team" (not "25 Years Experience")-- "Highly Rated" (not "4.9 Stars (127 Reviews)")-- "Licensed & Insured" (not "QBCC License #1234567")--### Business Context Shapes Everything--The same section type looks completely different for different businesses:--| Business type | Design feel |-|---------------|-------------|-| Emergency services | Direct, immediate, phone-first |-| Luxury/hospitality | Spacious, refined, atmospheric |-| Trades/local services | Trustworthy, capable, genuine |-| Professional/corporate | Confident, clean, structured |-| Creative/agency | Distinctive, bold, personality-driven |--## Quick Pattern Examples--### Hero Approaches--**Image-dominant** (strong photography available):-- Let the image do the work, minimal text-- One clear focal point-- Text placement within image composition, not slapped on top--**Typography-dominant** (no strong imagery):-- Font choice, size, weight, spacing IS the design-- Generous whitespace as active design element-- Colour blocking or subtle texture instead of stock photos--**Split/balanced** (strong copy + strong imagery):-- One side dominates slightly — true 50/50 feels indecisive-- On mobile, order matters — which element first in vertical stack?--### Card Layout Decision--1. **Count items first** — wrong grid math creates orphan cards-2. **Check hierarchy** — is one item more important? Feature it at 2x size-3. **Content density** — image-heavy = fewer columns, text-heavy = more columns-4. **Orphan fix** — never leave 1 card alone on a row--### CTA Hierarchy--Match CTA urgency to business context:-- **Emergency services**: Phone number IS the CTA. Huge, high-contrast, tappable.-- **Professional services**: Lower commitment first. "Book a consultation."-- **Creative/agency**: Relationship-building. "View our work."--**Golden rule**: Make your case first, then ask for action. CTA appears AFTER value.--### Trust Signal Hierarchy--| Tier | Type | Example |-|------|------|---------|-| 1 (Strongest) | Specific, verifiable | "QBCC License #1234567" |-| 2 | Third-party validation | "4.8 stars (127 Google Reviews)" + link |-| 3 | Self-claimed | "Fully licensed and insured" |-| 4 (Weakest) | Generic assurances | "Quality guaranteed" |--One Tier 1 signal beats three Tier 4 signals. Distribute trust throughout the page — don't isolate in one section.--### Testimonial Approach--| Situation | Approach |-|-----------|----------|-| One powerful testimonial | Single featured quote, make it big |-| 3-6 good testimonials | Grid with variety, one featured |-| No real testimonials | Service promises, guarantees, process descriptions |--**Never use carousels** — users see 1 of 5 testimonials, <1% click controls. Show all or curate the best 3.--## Reference File Index--Each reference is a deep-dive (300-470 lines) with full principles, anti-patterns, implementation patterns, and business-specific guidance.--| File | Lines | Covers |-|------|-------|--------|-| `hero-patterns.md` | ~470 | Approach selection, constraint-based creativity, overlay techniques, responsive behaviour, page-specific heroes |-| `card-patterns.md` | ~550 | Layout decision framework, anti-sameness strategies, grid math, orphan handling, CSS patterns, business context |-| `cta-patterns.md` | ~420 | Action hierarchy, placement strategy, copy principles, visual design, mobile considerations, context-specific CTAs |-| `trust-signals.md` | ~490 | Trust psychology, trust hierarchy, context-sensitive trust, lead-gen vs client, placement strategy, anti-patterns |-| `testimonial-patterns.md` | ~350 | Social proof psychology, lead-gen ethics, design approach selection, content principles, placement, alternatives |diff --git a/plugins/web-design/skills/web-design-patterns/references/card-patterns.md b/plugins/web-design/skills/web-design-patterns/references/card-patterns.mddeleted file mode 100644index 439e12f8..00000000--- a/plugins/web-design/skills/web-design-patterns/references/card-patterns.md+++ /dev/null@@ -1,264 +0,0 @@-# Card Design Principles--A thinking framework for card-based layouts that don't look AI-generated.--**Philosophy**: Cards are containers that signal "this is a discrete, scannable unit." But not every group of items should be cards, and not all cards should look identical.-------## 1. Card Design Fundamentals--### When to Use Cards (vs. Other Patterns)--**Use cards when**:-- Items are independent and self-contained (services, team members, pricing tiers)-- Users need to scan and compare discrete options-- Each item has 2-4 distinct pieces of information (title, description, CTA)--**Don't use cards when**:-- Content is sequential (use numbered lists or timeline)-- There's a single narrative flow (use article layout or alternating rows)-- Items have deep hierarchy within them (use accordion or tabs)-- You have a single item (just use a content block)--### Card Anatomy & Visual Hierarchy--Every card needs **clear internal hierarchy**. The eye should know where to look first, second, third.--**Hierarchy tools**:-1. **Size**: Larger elements draw attention-2. **Weight**: Bold stands out more than regular text-3. **Colour**: High contrast grabs attention-4. **Position**: Top-left gets read first in Western layouts-5. **Whitespace**: More space around = more important--**Typical card reading order**:-1. Image or icon — instant visual recognition-2. Title — what is this?-3. Description — why should I care?-4. Metadata — supporting details-5. CTA — what's the next action?-------## 2. Layout Decision Framework--### Question 1: How Many Items? (MOST CRITICAL)--**2 items**: Side-by-side, equal weight OR one featured + one supporting-**3 items**: Featured + 2 secondary OR equal 3-column-**4 items**: Full-width featured + 3 below OR 2x2 grid-**5 items**: Bento with 2x2 featured OR 2+3 rows-**6 items**: Bento with 2x2 featured OR 3+3 rows-**7+ items**: Alternating rows OR simple responsive grid OR question if cards are the right pattern--**The orphan problem**: Never leave 1 card alone on a row.--**Safe layouts that work with ANY count**:-- Full-width featured card + responsive grid below-- Alternating full-width rows-- Simple responsive grid (1 col -> 2 col -> 3 col) that wraps naturally--### Question 2: Is There Hierarchy in Importance?--**When hierarchy exists**: Use featured card patterns-- Make the important card 2x the size-- Give it an image while others get icons-- Use a stronger CTA button (primary vs outline)--**When all items are equal**: Use uniform grid-- Same card dimensions for all-- Consistent internal structure--### Question 3: What's the Content Density?--**Image-heavy content**: 2-3 columns max, larger cards, less text per card-**Text-heavy content**: 3-4 columns, smaller cards, more content per card-**Mixed content**: Feature the image cards, icon-only cards can be denser--### Question 4: Where Does This Sit on the Page?--**Above the fold**: Fewer, larger cards (2-3 max)-**Mid-page**: More cards fine (4-6), simpler styling-**Near footer**: Simple grid or list, minimal decoration-------## 3. Anti-Sameness Strategies--### Strategy 1: Vary Card Sizes Based on Importance--- **Primary offering**: 2x the size, includes image, detailed CTA-- **Secondary offerings**: Standard size, icon or small image-- **Tertiary offerings**: Compact cards or simple list items--### Strategy 2: Mix Card Formats Within a Section--**Service section example**:-- Card 1: Image + title + description + "Learn More" link-- Card 2: Icon + title + description + "View pricing" link-- Card 3: Large number/stat + title + brief text (no CTA)--### Strategy 3: Consider Non-Card Alternatives--**Alternatives to consider**:-- **Alternating rows**: Better for 3-5 detailed items with images-- **Numbered list**: Better for sequential steps or ranked items-- **Timeline**: Better for chronological content-- **Simple text blocks**: Better for benefits/features without images-- **Stats grid**: Better for number-heavy content-- **Icon list**: Better for simple feature lists--### Strategy 4: Vary Visual Treatment--Even if card structure is similar, vary the visual style:-- Some cards with images, some with icons, some with neither-- Some cards with subtle background, some with borders, some with shadows-- Different padding (featured card gets more breathing room)-------## 4. Grid Math & Responsive Decisions--### Column Choice by Content Type--**2-column grid**: Image-heavy content, detailed comparisons. Works well for even counts.-**3-column grid**: Standard services, team members, blog posts. Watch for orphans with 4, 7, 10 items.-**4-column grid**: Compact cards, icon-based features, large datasets. Needs generous whitespace.--### Handling Orphan Items--**Solutions**:-1. Add a featured card that spans 2+ cells to adjust the math-2. Switch to alternating rows-3. Add/remove an item to reach grid-friendly count-4. Use responsive grid that wraps naturally-5. Make the last card full-width (intentional asymmetry)--### Responsive Breakpoints--**Desktop (>1024px)**: Full intended grid-**Tablet (768-1024px)**: Usually 2 columns regardless of desktop layout-**Mobile (<768px)**: Always 1 column (stacked)-------## 5. Business Context Considerations--### Services-- Clear hierarchy (featured service if you have a specialty)-- 3-5 services max on one screen-- Strong CTAs on every card--### Team-- Founder/owner deserves featured treatment-- Real photos beat stock photos every time-- Include personality details, not just titles--### Pricing-- Always 2-3 tiers-- Highlight the recommended tier-- Align features for easy comparison-- Make CTA buttons at same vertical position--### Portfolio / Case Studies-- Minimise card chrome-- Images should be the hero-- Bento or masonry works well-- Brief text (title + client + link is enough)--### Features / Benefits-- Consider if cards are even needed (icon list might be better)-- Keep text minimal-- Grid can be denser (3-4 columns)-------## 6. CSS Implementation Patterns--### Uniform Card Heights (Same Row)--```css-.card-grid {- display: grid;- gap: var(--space-8);- grid-template-columns: repeat(2, 1fr);- align-items: stretch;-}--.card {- display: flex;- flex-direction: column;- height: 100%;-}--.card__image {- flex-shrink: 0;-}--.card__content {- display: flex;- flex-direction: column;- flex-grow: 1;- padding: var(--space-6);-}--.card__description {- flex-grow: 1;-}--.card__tags {- margin-top: auto;-}-```--**Why this works:**-1. Grid `align-items: stretch` — makes grid items fill their cell height-2. Card `height: 100%` — card expands to fill the stretched grid cell-3. Content `flex-grow: 1` — content area fills space between image and tags-4. Description `flex-grow: 1` — takes available space, pushing tags down-5. Tags `margin-top: auto` — anchors to the bottom of the flex container-------## 7. Decision Flowchart--**Question 1: How many items?**-- 1 item -> Not a card, just a content block-- 2 items -> Equal cards side-by-side OR one featured + one supporting-- 3-6 items -> Continue to Question 2-- 7+ items -> Consider alternating rows OR simple grid--**Question 2: Is there clear hierarchy?**-- Yes -> Featured card pattern (make primary item 2x size)-- No, all equal -> Continue to Question 3--**Question 3: What's the content?**-- Image-heavy -> 2 columns or bento grid, larger cards-- Text-heavy -> 3-4 columns or alternating rows, smaller cards-- Mixed -> Featured pattern or varied card sizes--**Question 4: Check the grid math**-- Does your item count create orphans? -> Adjust grid--**Question 5: Does it look AI-generated?**-- All cards identical? -> Add size variation-- All same format? -> Mix image/icon/text cards-- Feels templated? -> Break the grid, add asymmetry-------## 8. Quick Reference by Scenario--| Scenario | Item Count | Best Pattern | Key Principle |-|----------|-----------|-------------|---------------|-| Services (main offering clear) | 3-5 | Featured + grid | Show hierarchy |-| Services (all equal) | 4-6 | Simple 3-col grid | Clean and scannable |-| Services (detailed) | 3-4 | Alternating rows | Give descriptions space |-| Team (with founder) | 4-8 | Featured founder + grid | Leadership stands out |-| Team (all equal) | 6-9 | Simple 3-col grid | Keep personal |-| Pricing | 2-3 | 3-col with featured middle | Guide decision |-| Portfolio | 6-12 | Bento or masonry | Let work speak |-| Features | 6-12 | Dense 4-col or icon list | Fast scanning |-| Case studies | 3-6 | 2-col or alternating | Give detail space |-| Testimonials | 3-6 | Consider non-card pattern | Cards not ideal here |diff --git a/plugins/web-design/skills/web-design-patterns/references/cta-patterns.md b/plugins/web-design/skills/web-design-patterns/references/cta-patterns.mddeleted file mode 100644index 7d197421..00000000--- a/plugins/web-design/skills/web-design-patterns/references/cta-patterns.md+++ /dev/null@@ -1,207 +0,0 @@-# CTA Design Principles--How to think about CTAs that actually convert.--## Core Truth: A CTA's Job--A CTA's job is to make the next step obvious and compelling. The best CTA depends entirely on what you're asking someone to do and where they are in their journey.-------## Principle 1: Action Hierarchy — Match CTA Urgency to Business Context--### Emergency Services (Plumber, Locksmith, HVAC Repair)-- **The phone number IS the CTA**-- Make it huge, high-contrast, and instantly tappable-- People are in crisis mode — they need to call NOW-- "24/7 Emergency Service: [PHONE]" > everything else-- Don't ask them to fill out a form when their basement is flooding--### Professional Services (Lawyer, Accountant, Consultant)-- Lower commitment first step: "Book a consultation" or "Get a free assessment"-- People need to trust you before they commit-- Secondary: "Download our guide" (email capture, relationship building)--### E-commerce-- "Add to cart" with clear pricing visible-- Show the price before asking for the action-- Cart abandonment is high — don't add friction--### Content/Agency/Creative-- Relationship-building CTAs: "View our work", "Let's talk", "See case studies"-- "Tell us about your project" invites conversation--### SaaS/Software-- Free trial > demo > contact sales-- "Start free trial" converts higher than "Request demo"-- Don't ask for credit card upfront unless your product is proven--**The Pattern**: Ask for the smallest meaningful commitment that moves the relationship forward.-------## Principle 2: Placement — After Value, Not Before--### The Golden Rule: Make Your Case First--**Bad sequence**:-1. "Get your free quote!" (top of page)-2. Explanation of what you do-3. Why you're different--**Good sequence**:-1. Problem statement (you understand their pain)-2. How you solve it (your solution)-3. Proof (testimonials, results, credentials)-4. **NOW ask for action** (they're convinced)--### Placement Sweet Spots--1. **After the hero section** — for people who already know they want this-2. **Mid-page, after explaining the problem** — "Ready to fix this?"-3. **After social proof** — testimonials built trust, now convert-4. **Pre-footer banner** — last chance before they leave (highest converting)-5. **Sticky CTA on mobile** — only for high-urgency services, use sparingly--### How Many CTAs Per Page?--1-2 per screenful maximum:-- **Low urgency** (blog, about page): 1-2 total-- **Medium urgency** (service pages): 2-3 total-- **High urgency** (landing pages, pricing): 3-4 max-------## Principle 3: Copy — Words Matter More Than Design--### Specific Beats Generic--| Generic (Weak) | Specific (Strong) |-|----------------|-------------------|-| Contact Us | Call for Same-Day Service |-| Learn More | See How We Cut Energy Bills 30% |-| Get Started | Book Your Free Roof Inspection |-| Submit | Get Your Custom Quote |-| Click Here | Download the 2026 Tax Guide |--**The test**: If your CTA could work on any business's website, it's too generic.--### Action Verbs — What Happens Next?--The verb should describe the immediate next step, not the end goal:-- "Book a consultation" (not "Get better finances")-- "Download the checklist" (not "Improve your marketing")-- "Request a quote" (not "Save money")--### Remove Friction Words (Sometimes)--**When to use them**: Trust problems or commitment anxiety (lawyers, contractors, subscriptions).-**When NOT to**: Makes you sound desperate or cheap.--**Better alternative**: Be specific about the value.-- "Get a custom quote in 24 hours" > "Get a free quote"-- "30-minute strategy call" > "Free consultation"--### Match the Emotional Temperature--**High-energy page** (landing page): "Claim your discount now!"-**Professional page** (services): "Request a consultation"-**Informational page** (blog): "Download the guide"-**Emergency page** (24/7 services): "CALL NOW: [number]"-------## Principle 4: Visual Design — Contrast and Hierarchy--### Contrast is King--**Simple test**: Squint at the page. Can you still see the CTA? If not, it's not contrasting enough.--- **Light background** -> Dark or vibrant button-- **Dark background** -> Light or vibrant button-- **Colourful page** -> Neutral or opposite colour button--### One Primary CTA Per Section--**Primary CTA**: Solid fill, high contrast, largest size-**Secondary CTA**: Outline or ghost style, smaller, less prominent--### Size Communicates Importance--- Large: 18-20px text, generous padding (16px vertical) — hero, pre-footer-- Medium: 16px text, standard padding (12px vertical) — inline, mid-page-- Small: 14px text, compact padding (8px vertical) — footer, sidebar--### Whitespace — Breathing Room = Drawing Power--Give your CTA space:-- Margin above: 3-4x your base spacing-- Margin below: 3-4x your base spacing-- Padding inside button: 2-3x base spacing-------## Principle 5: Context-Specific CTAs--### Homepage-- **Primary**: Main action for entire business-- **Secondary**: Alternative path ("See our services")-- **Pre-footer**: Last-chance conversion--### Service Pages-- **Primary**: Service-specific action ("Book a roof inspection")-- NOT generic "Contact us"--### About Page-- **Softer CTA**: "Work with us", "See our projects", "Get in touch"-- NOT "Buy now" or "Get a quote"--### Blog/Content Pages-- **Primary**: Related content or email capture-- **Secondary**: Soft conversion--### Contact Page-- **The form IS the CTA**-- Minimal other CTAs--### Pricing Page-- **Per-tier CTA**: "Choose [Plan Name]" or "Get started"-- **Pre-footer**: "Not sure? Talk to us"-------## Principle 6: Anti-Patterns--1. **"Learn More" that goes nowhere** — Be specific. "How our process works."-2. **Giant banner with generic motivational copy** — "Ready to take your business to the next level?" is the AI default.-3. **CTAs that look like every other section** — If your CTA looks identical to your hero, it doesn't stand out.-4. **Multiple competing CTAs of equal weight** — One primary (solid), others secondary (outline).-5. **"Contact Us" with no context** — "Request a callback" or "Get a free quote."-6. **CTAs before value** — Explain the value first, THEN ask for action.-7. **Buried CTA in paragraph text** — Visually distinct button, not inline link.-8. **Friction-heavy CTAs** — "Download our comprehensive enterprise-grade whitepaper" -> "Get the guide."-------## Principle 7: Mobile Considerations--**Minimum touch target**: 44px tall-**Full-width buttons on mobile**: Hero CTAs, banner CTAs-**Stack buttons vertically**: Primary on top, secondary below-**Phone number CTAs**: `<a href="tel:...">` links, large, obvious, high-contrast--**Sticky CTAs on mobile**:-- Emergency services: floating phone button-- High-intent pages: sticky "Get quote" at bottom-- Don't use on informational pages-------## Quick Decision Framework--1. **What's the business context?** Emergency -> Phone. Professional -> "Book consultation." Creative -> "View work."-2. **What have I proven so far?** Nothing -> Don't ask yet. Shown social proof -> Strong CTA.-3. **What's the smallest meaningful commitment?** Free trial > demo > contact > purchase.-4. **Is my CTA copy specific?** Could it work on any website? -> Too generic.-5. **Does my CTA visually stand out?** Squint test.-6. **Am I asking too many times?** More than 4 CTAs on a page -> Too many.diff --git a/plugins/web-design/skills/web-design-patterns/references/hero-patterns.md b/plugins/web-design/skills/web-design-patterns/references/hero-patterns.mddeleted file mode 100644index 54a0febc..00000000--- a/plugins/web-design/skills/web-design-patterns/references/hero-patterns.md+++ /dev/null@@ -1,316 +0,0 @@-# Hero Design Principles--The hero's job: Create an emotional first impression that reflects the brand personality.--## Questions to Answer Before Designing--Before writing any code, understand the context:--- **What's the single most important thing the visitor should feel?** (urgency? trust? luxury? excitement? capability?)-- **Does this business have strong visual assets?** (photos, product shots) or is it text-driven?-- **What action should the visitor take?** (call now? browse services? book online? read more?)-- **What device will most visitors use?** (mobile-first for trades, desktop-first for B2B)-- **What's the brand personality?** (formal? friendly? premium? accessible?)--## Approach Selection (Not Templates)--Choose your hero approach based on content and business type, not a template menu:--### Image-Dominant Heroes-**Best when:** Strong photography available, business sells an experience or visual result (hospitality, real estate, restaurants, galleries)--**Principles:**-- Let the image do the work — text should be minimal and purposeful-- One clear focal point in the image (don't split attention with busy compositions)-- Text placement should feel like it belongs IN the composition, not slapped ON TOP of it-- Consider whether the image needs the full viewport or just a portion-- The image should communicate something specific about the business, not just be "nice looking"--**What to avoid:**-- Generic stock photos that could be for any business-- Automatic dark overlays on every image (only use if truly needed for contrast)-- Centering text over images by default — consider natural negative space in the photo--### Typography-Dominant Heroes-**Best when:** No strong imagery available, brand voice is the differentiator, professional services, B2B--**Principles:**-- Typography IS the design — font choice, size, weight, spacing, and rhythm all matter more-- Create visual interest through dramatic typographic hierarchy (massive headline contrasting with small, refined subtitle)-- Use generous whitespace — the empty space IS the design element, not leftover area-- Consider colour blocking or subtle texture instead of photography-- The headline should be specific and opinionated, not generic marketing speak--**What to avoid:**-- Filling empty space with decorative elements "because it looks bare"-- Using stock photos just because you think every hero needs an image-- Safe, middle-of-the-road typography that doesn't make a statement--### Balanced Heroes (Split/Duo)-**Best when:** Both strong copy and strong imagery exist, need to convey information + emotion simultaneously--**Principles:**-- One side should still dominate slightly — true 50/50 splits feel indecisive and lack direction-- The image and text should relate to each other, not just coexist in proximity-- Consider which side gets attention first (reading direction, visual weight, colour contrast)-- On mobile, the order matters — which element should come first in the vertical stack?-- The split doesn't have to be vertical — consider horizontal divisions or asymmetric layouts--**What to avoid:**-- Using this approach by default for every hero-- Perfectly centered 50/50 splits with no visual hierarchy-- Text and image that have no relationship to each other--## Constraint-Based Creativity--### By Business Personality--Think about what the business FEELS like, not just what industry it's in:--**Emergency/urgent services** (plumbing, HVAC, locksmith, towing)-- Bold, high-contrast typography-- Phone number prominent and clickable-- Minimal decoration or artistic elements-- Action-oriented language-- Trust signals visible (licensed, insured, years in business)--**Luxury/hospitality** (high-end hotels, spas, fine dining, boutiques)-- Generous whitespace as a design feature-- Subtle, elegant typography-- Atmospheric full-bleed imagery-- Restrained colour palette-- Nothing shouty or urgent--**Trades/local services** (contractors, landscaping, cleaning, electricians)-- Real photos of actual work or team-- Credentials and certifications visible-- Service area/location prominent-- Action-oriented (clear next steps)-- Genuine, not overly polished--**Professional/corporate** (legal, financial, consulting, B2B)-- Clean, structured typography-- Restrained colour usage-- Professional but not stiff-- Clear value proposition-- Credibility indicators--**Creative/agency** (design studios, marketing, production, artists)-- Bold, unconventional choices-- Unusual composition or layout-- Personality-driven design-- Demonstrates capability through execution-- Breaks conventions purposefully--### By Available Assets--**Strong hero photo available** — Let it breathe. Don't shrink it into a 50% split if it deserves full width.--**Only team/staff photos** — Consider using as a smaller element, not forcing into the primary hero role.--**No usable photos** — Typography-led hero with colour/texture. Don't resort to generic stock photography.--**Generated/AI images** — Use more creatively — as texture, background elements, or partial reveals rather than literal hero placement.--**Product photography** — Consider whether to show products in context (lifestyle) or isolated (product-focused).--## What Makes a Hero Feel AI-Generated (Avoid These)--- Perfect centering of every element with no intentional asymmetry-- Dark gradient overlay on stock photo with white centered text-- Generic "Welcome to [Business Name]" headline-- All elements given equal visual weight-- Cookie-cutter split layout used regardless of content-- Decorative elements that serve no purpose-- CTA button that says "Learn More" or "Get Started"-- Three value proposition cards directly in the hero-- Everything aligned to a perfect grid with no intentional tension-- Typography that makes no statement--## What Makes a Hero Feel Human-Designed--- **One element clearly dominates** — either the image OR the text leads-- **Asymmetry or intentional visual tension**-- **A specific, opinionated headline**-- **Visual weight that guides the eye**-- **Feels custom-made for this business**-- **Whitespace used intentionally**-- **The CTA tells you exactly what happens**-- **Design choices you can explain**-- **Restraint**-- **Relationship between elements**--## Page-Specific Guidance--### Homepage Hero-- Most impactful hero, sets the entire site's tone-- Can be taller and more dramatic-- Should communicate the core brand promise immediately-- This is where you can take bigger design risks--### Interior Page Headers-- Simpler and faster to parse than homepage hero-- Don't repeat the homepage hero pattern-- Focus on orientation (where am I?) more than persuasion-- A strong headline and breadcrumb might be enough--### Service Pages-- Hero should immediately signal "you're in the right place for [specific service]"-- Be specific — not "Our Services" but "Commercial HVAC Installation & Maintenance"-- Include relevant trust signals and service-specific CTA--### About/Team Pages-- More personal, less sales-driven-- Consider editorial/magazine approaches-- Real photos matter more here than anywhere else--### Contact Pages-- Simplest hero — just needs to frame the form and provide context-- Include multiple contact methods visible immediately-- Don't use this hero to sell — they're already ready to contact you--## Common Implementation Patterns--### Split Hero Structure-```html-<section class="hero hero--split">- <div class="container">- <div class="hero__content">- <h1 class="hero__title">[Specific, Opinionated Headline]</h1>- <p class="hero__subtitle">[Supporting context]</p>- <div class="hero__actions">- <a href="/action" class="btn btn--primary btn--lg">[Specific CTA]</a>- </div>- </div>- <div class="hero__image">- <img src="[path]" alt="[Descriptive alt text]">- </div>- </div>-</section>-```--### Full-Width Image Hero Structure-```html-<section class="hero hero--full">- <div class="hero__bg">- <img src="[path]" alt="">- </div>- <div class="hero__overlay"></div>- <div class="container">- <div class="hero__content">- <h1 class="hero__title">[Headline]</h1>- <p class="hero__subtitle">[Subtitle]</p>- <a href="/action" class="btn btn--primary btn--lg">[CTA]</a>- </div>- </div>-</section>-```--### Typography-Only Hero Structure-```html-<section class="hero hero--minimal">- <div class="container">- <div class="hero__content">- <h1 class="hero__title">[Bold, Large Headline]</h1>- <p class="hero__subtitle">[Contrasting smaller text]</p>- <a href="/action" class="btn btn--primary btn--lg">[CTA]</a>- </div>- </div>-</section>-```--## Overlay Techniques for Text Readability--### Gradient Overlays (Directional)-```css-.hero__overlay {- position: absolute;- inset: 0;- z-index: -1;- background: linear-gradient(- to right,- rgba(0, 0, 0, 0.8) 0%,- rgba(0, 0, 0, 0.4) 50%,- transparent 100%- );-}-```--### Brand-Tinted Overlays-```css-.hero__overlay {- position: absolute;- inset: 0;- z-index: -1;- background: rgba(var(--primary-rgb), 0.7);-}-```--### Text Shadow (Alternative to Overlay)-```css-.hero__title {- text-shadow:- 0 2px 4px rgba(0, 0, 0, 0.3),- 0 4px 8px rgba(0, 0, 0, 0.2);-}-```--## Responsive Behaviour--```css-.hero__title {- font-size: clamp(2rem, 6vw, 4rem);-}--/* Mobile: stack buttons vertically */-@media (max-width: 640px) {- .hero__actions {- flex-direction: column;- gap: var(--space-4);- }- .hero__actions .btn {- width: 100%;- }-}--/* Split hero: stack on mobile */-@media (max-width: 768px) {- .hero--split .container {- grid-template-columns: 1fr;- }- .hero--split .hero__image {- order: -1;- }-}-```--## Dark Mode Considerations--```css-.hero__title { color: var(--foreground); }-.hero__subtitle { color: var(--muted-foreground); }--.dark .hero__overlay {- background: linear-gradient(- to right,- rgba(0, 0, 0, 0.9) 0%,- rgba(0, 0, 0, 0.6) 50%,- rgba(0, 0, 0, 0.3) 100%- );-}--.dark .hero--minimal {- background: var(--card);-}-```--## Execution Guidelines--1. **Start with content** — Write actual headline, subheadline, and CTA copy before designing-2. **Choose your dominant element** — Decide what leads based on the principles above-3. **Create hierarchy** — One thing most prominent, one thing second, everything else supports-4. **Design for mobile first** — The vertical stack forces you to prioritise-5. **Add desktop layout** — Enhance the mobile design, don't redesign from scratch-6. **Test contrast and readability** — Especially text over images-7. **Remove decoration** — Take away anything that doesn't serve the goal-8. **Check against anti-patterns** — Does this look like it came from a template?diff --git a/plugins/web-design/skills/web-design-patterns/references/testimonial-patterns.md b/plugins/web-design/skills/web-design-patterns/references/testimonial-patterns.mddeleted file mode 100644index 4b4f230f..00000000--- a/plugins/web-design/skills/web-design-patterns/references/testimonial-patterns.md+++ /dev/null@@ -1,202 +0,0 @@-# Testimonial Design Principles--Design principles for social proof that persuades without feeling manipulative or templated.-------## 1. Social Proof Psychology--### Why Testimonials Work (When Done Right)--**Specificity beats generality**-- "Fixed our leak in 2 hours" is more credible than "Great service!"-- Details = believability: times, locations, problems, results--**Named, identifiable people are more credible**-- "Sarah Mitchell, Homeowner in Maitland" > "John D."-- People trust reviews from people they can verify exist--**Relevant context matters**-- The reviewer's situation should match the visitor's situation-- Match the review's context to the page's context--**Quality over quantity**-- One detailed story beats ten "5 stars great service" reviews-- If you only have weak testimonials, you're better off not showing any-------## 2. Lead-Gen vs Client Sites: Critical Distinction--### Client Sites (You Have Real Customers)--**Pull from actual reviews:**-- Google Business Profile reviews-- Facebook reviews-- Industry-specific platforms (TrueLocal, etc.)-- Link back to the source platform for verification--**Use real names and real photos:**-- Full names when possible (or first name + last initial)-- No stock photography — ever--**Show verification:**-- "Read more on Google" link-- Platform badges (Google, Facebook)-- Star rating that matches the platform-- Review date--### Lead-Gen Sites (No Real Customers Yet)--**DO NOT fabricate testimonials.** It's unethical and can damage trust if discovered.--**Instead, use:**-- **Service promise statements**: "We guarantee same-day response"-- **Platform badges with transparency**: Show Google Reviews badge even with zero reviews-- **Trust signals**: Industry certifications, licences, insurance details-- **Anonymised case studies**: Describe a real problem you solved without identifying the client-- **Your own voice**: Founder story, commitment, values-------## 3. Design Approach Selection--### Single Featured Quote--**When to use:** One powerful, detailed testimonial. Homepage hero or landing page.--**Design principles:**-- Make it big, editorial, impactful-- Centre stage treatment-- Large, readable text-- Real photo if available, otherwise just the quote-- Don't diminish a great quote with a tiny card--### Grid of Quotes--**When to use:** 3-6 good testimonials. Dedicated testimonials section.--**Design principles:**-- Vary the formatting (one featured, rest standard)-- Don't make them all identical cards-- Mix with/without photos-- Different length quotes create visual rhythm-- Avoid perfect symmetry--### Integrated Quotes (Pull Quotes)--**When to use:** Long-form content (about pages, service descriptions). Quote directly supports nearby content.--**Design principles:**-- Pull the quote out of content flow-- Position near relevant content-- Feels most natural and least "marketing-y"--### Logo Wall + Quotes--**When to use:** B2B sites. Enterprise/professional services. Recognisable client brands.--**Design principles:**-- Client logos establish credibility-- One featured quote adds specificity-- Grey out logos for subtlety-- Only works if logos are recognisable--### NO CAROUSELS--**Never use testimonial carousels:**-- Carousels hide content — users see 1 out of 5 testimonials-- Users don't click carousel controls (<1% interaction)-- Auto-rotating prevents reading at own pace-- If you have 5 testimonials, show all 5 or curate the best 3--**If you must have motion:**-- Continuous scroll marquee (background texture, not primary content)-- User-controlled scroll (not auto-rotating)-- Pause on hover, respect prefers-reduced-motion-------## 4. Content Principles--### Editing for Impact--**Keep it brief:** Brief quotes get read; paragraphs get skipped.--**Include the problem, not just praise:**-- "They fixed our emergency leak at midnight" > "Great service"-- Problem + solution = story--**Star ratings: only if real and verifiable:**-- Don't show stars unless from a real platform-- Link to the source-- All 5-star ratings look fake--**Photos of real people dramatically increase trust:**-- Real photos = huge credibility boost-- Stock photos = huge credibility loss-- No photo is better than fake photo--**Attribution standards:**-- Minimum: First name + last initial + location ("Sarah M., Maitland")-- Better: Full name + location + context ("Sarah Mitchell, Homeowner in Maitland")-- Best: Above + photo + date-- Never: "A satisfied customer" or "Happy client"-------## 5. Placement--### Where Testimonials Work Best--**After presenting services:** You've explained what you do, now prove it works.--**Near CTA sections:** Reduce last-minute doubt. "Other people trusted us, you can too."--**Within service descriptions:** Pull quote format. "We offer 24/7 emergency service" -> testimonial about midnight call-out.--**Not necessarily in their own section:** Testimonials can be woven throughout. Context-relevant placement often works better.-------## 6. Anti-Patterns--- **Carousel that auto-rotates** — Users can't read at their own pace-- **All testimonials saying the same thing** — Curate for variety: speed, quality, price, communication-- **Stock photo headshots** — Destroys all credibility-- **"John D." level anonymity** — Suggests you're hiding something-- **Three identical card-shaped testimonials** — Template-y, no visual hierarchy-- **All 5-star ratings** — Real reviews have variation; 4.7 is more believable than 5.0-------## 7. When You Don't Have Testimonials--### Don't Fake Them--Fake testimonials are unethical, potentially illegal, easily discovered, and damage trust permanently.--### Use These Instead--- **Credentials and certifications**: Licensed, insured, industry memberships-- **Guarantees**: Money-back, warranty details, "If we're late, the visit is free"-- **Process descriptions**: Show how you work, what customers can expect-- **Link to review platform**: Even empty, shows transparency-- **Anonymised case studies**: "A homeowner in the Newcastle area contacted us with..."-- **Your own voice**: Founder story, why you started, your commitment-------## Quick Decision Guide--| Situation | Recommended Approach |-|-----------|---------------------|-| One powerful testimonial | Single featured quote, make it big |-| 3-6 good testimonials | Grid with variety (one featured, rest standard) |-| Long-form content | Pull quotes integrated with content |-| B2B / enterprise | Logo wall + featured quote |-| Many reviews (20+) | Curate best 5-6 + link to "see all on Google" |-| Homepage | Featured testimonial + stats if available |-| Service page | Relevant testimonial near CTA |-| No real testimonials | Service promises, guarantees, process description |-| Lead-gen site | Trust signals, link to empty review profile |diff --git a/plugins/web-design/skills/web-design-patterns/references/trust-signals.md b/plugins/web-design/skills/web-design-patterns/references/trust-signals.mddeleted file mode 100644index 02efda7a..00000000--- a/plugins/web-design/skills/web-design-patterns/references/trust-signals.md+++ /dev/null@@ -1,229 +0,0 @@-# Trust Signals: A Principle-Based Design Guide--Strategic trust signal design — not copy-paste patterns.-------## 1. Trust Psychology: Why Signals Work--### The Core Principle-Trust signals reduce perceived risk at the moment of decision. They answer the user's subconscious question: "Is this safe?"--### When Trust Matters Most-- **High stakes**: Emergency services, medical, legal, financial-- **First-time visitors**: No prior relationship to rely on-- **Point of commitment**: Near forms, phone numbers, purchase buttons-- **Competitive markets**: When alternatives are easy to find--### Diminishing Returns-Trust signals have a ceiling:-- **3-4 strong signals** beat 10 weak ones-- **Specific proof** beats generic assurances-- **One verified credential** beats five unverifiable badges--### Dark Patterns to Avoid-Users have developed immunity to fake trust signals:-- Stock photography "badges"-- Generic star ratings with no link to reviews-- "As seen in" logos without actual coverage-- Suspiciously round numbers ("exactly 10,000 customers")-------## 2. The Trust Hierarchy--### Tier 1: Specific, Verifiable Evidence (Strongest)-Can be fact-checked. High credibility cost to fake.-- "QBCC License #1234567" (user can look it up)-- "4.8 stars (127 Google Reviews)" + link to Google profile-- "Serving Brisbane since 1998" (verifiable via business records)--### Tier 2: Third-Party Validation-Someone else vouched for you.-- Real customer testimonials with full names and context-- Client logos from recognised brands (with permission)-- Industry awards from legitimate organisations-- Press mentions from real publications--### Tier 3: Self-Claimed Credentials-Credible, but you're the one saying it.-- "Fully licensed and insured"-- "Family owned and operated"-- "All technicians background checked"--### Tier 4: Generic Assurances (Weakest)-Better than nothing. Sets minimum expectations.-- "Quality guaranteed"-- "Friendly service"-- "Fast response"--**The Hierarchy Rule**: Always prefer one Tier 1 signal over three Tier 4 signals.-------## 3. Context-Sensitive Trust--### Emergency Services (Plumbing, HVAC, Electrical, Locksmith)-**What matters**: Speed of response, availability, local presence-**What matters less**: Awards, lengthy testimonials, team bios-**Placement**: Hero area, near phone number--### Professional Services (Lawyers, Accountants, Consultants)-**What matters**: Credentials, experience, case studies/outcomes-**What matters less**: Generic guarantees, speed claims-**Placement**: Mid-page near services, in team bios, before contact form--### E-commerce-**What matters**: Reviews, returns policy, payment security, shipping info-**What matters less**: Company history, founder bios-**Placement**: Product pages (reviews), checkout (security), footer (returns)--### Local Trades (Builders, Landscapers, Renovators)-**What matters**: Licence numbers, insurance, longevity, local recognition-**What matters less**: National certifications, corporate partnerships-**Placement**: Footer (licence), near contact form (insurance)--### Real Estate-**What matters**: Market knowledge, recent sales, local expertise-**What matters less**: Generic "customer satisfaction"-**Placement**: Agent pages (stats), suburb pages (local knowledge)-------## 4. Lead-Gen vs Client Sites: The Critical Distinction--### Client Sites (Real Business Data)-Use Tier 1 and Tier 2 signals aggressively. Specificity builds authority.--**Example**:-- Hero: "Serving Gold Coast since 1985" + "QBCC #1234567"-- Pre-CTA: "4.9 stars (284 Google Reviews)" with link-- Footer: Master Plumbers Association badge--### Lead-Gen Sites (No Real Business Data)-Use Tier 3 and Tier 4 signals only. Stay generic, focus on process and promises.--**Example**:-- Hero: "Your Local [Location] Experts" + "Fast Response"-- Pre-CTA: "Licensed & Insured" + "Satisfaction Guaranteed"-- Footer: "Proudly Serving [Region]"--### The Non-Negotiable Rule--**On lead-gen sites, NEVER fabricate:**-- Star ratings or review counts-- Specific years in business-- Licence or ABN numbers-- Named individuals or team members-- Exact customer counts--### Safe Lead-Gen Trust Language--| Do Say | Don't Say |-|--------|-----------|-| "Experienced Team" | "25 Years Experience" |-| "Highly Rated" | "4.9 Stars (127 Reviews)" |-| "Licensed & Insured" | "QBCC License #1234567" |-| "Local Experts" | "Est. 1998" |-| "Trusted by Locals" | "10,000+ Happy Customers" |-------## 5. Placement Strategy--### Near CTAs (Decision Point)-**Why**: Reduces friction at the moment of commitment.-**What to use**: Quick-scan list, review summary, guarantee statement.--### Early on Page (First Impression)-**Why**: First-time visitors need immediate reassurance.-**What to use**: Stats bar, compact trust list below hero, single powerful credential.--### In Context (Service-Specific Trust)-**Why**: Trust is more persuasive when paired with relevant content.-**What to use**: Certification next to the service it relates to, testimonial near the service it references.--### Footer (Foundation Trust)-**Why**: Expected location for credentials.-**What to use**: Licence numbers, industry memberships, physical address and ABN.--### Don't Put Trust Signals-- In a sticky header bar (annoying, blocks content)-- On every page in the exact same spot (redundant)-- In modal popups (interruptive, feels desperate)-- As the first thing above hero content (feels defensive)-------## 6. Anti-Sameness: Breaking the Default Pattern--### Trust Doesn't Need Its Own Section--**Default** (bad):-```-[Hero]-[Trust Section with 4 Icons]-[Services]-[CTA]-```--**Better** (distributed):-```-[Hero with "Licensed & Insured" under headline]-[Services with credentials woven into descriptions]-[CTA with "No Call-Out Fee" near button]-[Footer with licence number]-```--### Weave Trust Into Other Sections--**In hero subheadline**: "QBCC Licensed Plumbers Serving Gold Coast Since 1998"-**In service descriptions**: "Gas Safe certified technicians handle all residential and commercial gas work."-**In testimonials section**: "See our 4.9-star rating from 180+ Google reviews" with link-**In footer**: Contact info + "Master Plumbers Member #12345" + "QBCC #1234567"--### One Powerful Proof Point Beats Six Generic Ones--**Weak**: 24/7 Available, Fast Service, Quality Work, Licensed Team, Affordable Rates, Satisfaction Guaranteed-**Strong**: "4.8 rating from 284 verified Google reviews" [link to reviews]-------## 7. What to NEVER Do--- **Don't fabricate specifics** — legal liability, credibility destruction-- **Don't claim "100% Satisfaction" without backing it up** — specific guarantees build trust-- **Don't use stock badge icons** — generic shield with checkmark screams "template"-- **Don't use persistent dark overlay trust bar** — banner blindness, wastes screen space-- **Don't copy-paste the same trust section on every page** — trust should be contextual-- **Don't lead with trust** — starting with trust before the main message signals insecurity-------## Quick Reference: Trust Signal Decision Tree--### Step 1: Is this a lead-gen site or client site?-- **Lead-gen**: Use generic only (Tier 3-4)-- **Client site**: Use real data (Tier 1-2)--### Step 2: What real data do you have?-- Licence numbers -> footer, near contact-- Years in business -> hero subheadline-- Google reviews -> near CTA, with link-- Certifications -> mid-page or footer-- Client logos -> case studies section--### Step 3: What industry?-- Emergency services -> speed and availability-- Professional services -> credentials and experience-- E-commerce -> reviews and returns-- Local trades -> licence, insurance, longevity--### Step 4: Where on the page?-- Hero area: One strong credential or stat-- Near CTA: Quick trust list or guarantee-- Footer: Licence numbers and memberships--### Step 5: Distributed or isolated?-- If all trust is in one section, break it up-- Weave into hero, services, testimonials, footer