Skills for Claude Code CLI such as full stack dev Cloudflare, React, Tailwind v4, and AI integrations.
Python aianthropicautomationclaude-codeclaude-skillscloudflaredevtoolsproductivityreactskillstailwindvite
feat: add depth levels to ux-audit + new app-docs and product-showcase skills
Jeremy Dawes049f49a0cad3
diff --git a/CLAUDE.md b/CLAUDE.mdindex 0c844fc9..2df468e2 100644--- a/CLAUDE.md+++ b/CLAUDE.md@@ -16,7 +16,7 @@ Production workflow skills for Claude Code CLI. Each skill guides Claude through```claude-skills/-├── plugins/ # 11 plugins, 49 skills+├── plugins/ # 11 plugins, 51 skills│ ├── cloudflare/ # Cloudflare Workers, Hono, D1/Drizzle, Vite, TanStack Start│ │ └── skills/│ │ ├── cloudflare-worker-builder/@@ -29,11 +29,12 @@ claude-skills/│ ├── web-design/ # Local business SEO│ │ └── skills/│ │ └── seo-local-business/-│ ├── frontend/ # Tailwind v4 + shadcn/ui + landing pages+│ ├── frontend/ # Tailwind v4 + shadcn/ui + landing pages + showcases│ │ └── skills/│ │ ├── tailwind-theme-builder/│ │ ├── shadcn-ui/-│ │ └── landing-page/+│ │ ├── landing-page/+│ │ └── product-showcase/│ ├── design-assets/ # Colour palettes, favicons, icons, image processing, AI images│ │ └── skills/│ │ ├── color-palette/@@ -53,6 +54,7 @@ claude-skills/│ │ └── skills/│ │ ├── project-health/│ │ ├── project-docs/+│ │ ├── app-docs/│ │ ├── dev-session/│ │ ├── github-release/│ │ ├── brains-trust/diff --git a/README.md b/README.mdindex c5902a1c..4b216af7 100644--- a/README.md+++ b/README.md@@ -4,7 +4,7 @@Production workflow skills for [Claude Code](https://claude.com/claude-code). Each skill guides Claude through a recipe to produce tangible output — scaffolded projects, generated assets, professional documents, deployed services.-11 plugins. 49 skills. Every one produces something.+11 plugins. 51 skills. Every one produces something.## Quick Start@@ -34,7 +34,7 @@ Then just ask Claude what you need — installed skills trigger automatically fr| Plugin | Skills | What it does ||--------|--------|-------------|-| **frontend** | tailwind-theme-builder, shadcn-ui, landing-page | Tailwind v4 theming with CSS variables + dark mode, shadcn/ui component installation and customisation, single-file landing pages |+| **frontend** | tailwind-theme-builder, shadcn-ui, landing-page, product-showcase | Tailwind v4 theming with CSS variables + dark mode, shadcn/ui component installation and customisation, single-file landing pages, app showcase sites from real screenshots || **design-assets** | color-palette, favicon-gen, icon-set-generator, image-processing, ai-image-generator | Accessible colour palettes from a single hex, favicon packages, custom SVG icon sets, image resize/convert/optimise, AI image generation (Gemini/GPT) || **web-design** | seo-local-business | Local business SEO: JSON-LD schema, meta tags, robots.txt, sitemap.xml |@@ -49,11 +49,11 @@ Then just ask Claude what you need — installed skills trigger automatically fr| Plugin | Skills | What it does ||--------|--------|-------------|-| **dev-tools** | project-health, project-docs, dev-session, team-update, github-release, brains-trust, git-workflow, ux-audit, responsiveness-check, agent-browser | Project config and permissions, doc generation (ARCHITECTURE/API/DB), session tracking, team chat updates, GitHub releases, multi-model second opinions, git workflows, UX dogfooding, responsive layout testing, browser automation |+| **dev-tools** | project-health, project-docs, app-docs, dev-session, team-update, github-release, brains-trust, git-workflow, ux-audit, responsiveness-check, agent-browser | Project config and permissions, doc generation (ARCHITECTURE/API/DB), app user guides with screenshots, session tracking, team chat updates, GitHub releases, multi-model second opinions, git workflows, UX dogfooding (quick/standard/thorough), responsive layout testing, browser automation || **integrations** | gws-setup, gws-install, google-chat-messages, google-apps-script, elevenlabs-agents, mcp-builder | Google Workspace MCP setup, Google Chat webhooks, Apps Script automation, ElevenLabs voice agents, MCP server building || **knowledge-cortex** | cortex-mine, cortex-query | Mine Gmail history into portable flat files — contacts, clients, communications, knowledge facts |-## All 49 Skills+## All 51 Skills<details><summary>Full skill list with trigger phrases</summary>@@ -71,6 +71,7 @@ Then just ask Claude what you need — installed skills trigger automatically fr| `tailwind-theme-builder` | "tailwind theme", "set up tailwind" || `shadcn-ui` | "shadcn", "install components" || `landing-page` | "landing page", "marketing page", "one-page site" |+| `product-showcase` | "showcase site", "product page", "show off the app" || `color-palette` | "colour palette", "color palette from hex" || `favicon-gen` | "favicon", "generate icons" || `icon-set-generator` | "icon set", "svg icons" |@@ -84,6 +85,7 @@ Then just ask Claude what you need — installed skills trigger automatically fr| `mcp-builder` | "build mcp server", "fastmcp" || `project-health` | "project health", "audit permissions" || `project-docs` | "generate docs", "document architecture", "api docs" |+| `app-docs` | "document the app", "user guide", "screenshot docs" || `dev-session` | "start session", "session checkpoint" || `team-update` | "team update", "post to chat" || `github-release` | "github release", "cut a release" |@@ -131,7 +133,7 @@ Started as 105 skills — many were reference guides that Claude's training data- **v1** (tag: `v1-final`) — 105 skills, flat structure- **v2** — restructured into installable plugins, "every skill must produce something"- **v12** — 10 plugins, 44 skills-- **v13** (current) — 11 plugins, 49 skills+- **v13** (current) — 11 plugins, 51 skills## Licensediff --git a/plugins/dev-tools/skills/app-docs/SKILL.md b/plugins/dev-tools/skills/app-docs/SKILL.mdnew file mode 100644index 00000000..30574d3a--- /dev/null+++ b/plugins/dev-tools/skills/app-docs/SKILL.md@@ -0,0 +1,164 @@+---+name: app-docs+description: "Generate complete user documentation for a web app with screenshots. Browses the app via browser automation, screenshots every screen, and produces a structured user guide with step-by-step instructions. Supports quick (key screens only), standard (all pages), and thorough (all states, mobile, every workflow) depths. Triggers: 'document the app', 'user guide', 'app documentation', 'screenshot docs', 'generate user docs', 'help docs', 'how-to guide'."+compatibility: claude-code-only+---++# App Documentation Generator++Browse a running web app, screenshot every screen, and produce a complete user guide. The documentation is generated from the **actual app**, not from specs or assumptions.++## Browser Tool Detection++Before starting, detect available browser tools:++1. **Chrome MCP** (`mcp__claude-in-chrome__*`) — preferred for authenticated apps+2. **Playwright MCP** (`mcp__plugin_playwright_playwright__*`) — for public apps+3. **playwright-cli** — for scripted flows++If none are available, inform the user and suggest installing Chrome MCP or Playwright.++## Depth Levels++| Depth | Screenshots | Coverage | Duration |+|-------|------------|----------|----------|+| **quick** | ~10 | Main 3-5 screens, happy path | 10-15 min |+| **standard** | ~30 | All pages, primary workflows | 30-60 min |+| **thorough** | ~80+ | All pages, all states, mobile views, every CRUD flow | 1-3 hours |++Default: **standard**++## Workflow++### 1. Get App Details++Ask the user:+- **App URL** (required)+- **App name** (for the guide title)+- **Auth** — do they need to log in? Chrome MCP uses their session; Playwright needs credentials+- **Depth** — quick, standard, or thorough+- **Audience** — who will read this guide? (end users, admins, new team members)++### 2. Discover All Routes++Navigate the app and build a page inventory:+- Read the sidebar/navigation menu+- Click through all top-level items+- Note sub-pages and nested navigation+- Check for settings, profile, admin areas+- Record the URL and purpose of each page++Create a task list to track documentation progress.++### 3. Document Each Page++For each page in the inventory:++#### a. Navigate and Orient+- Navigate to the page+- Wait for data to load (no skeleton/spinner in screenshot)+- Resize browser to 1280x720 for consistent screenshots++#### b. Screenshot Default State+- Take a clean screenshot showing the page with realistic data+- Save to `docs/screenshots/` with descriptive names: `01-dashboard.png`, `02-contacts-list.png`++#### c. Describe the Page+Write a section covering:+- **What this page is for** — one sentence+- **What the user can see** — key data, status indicators, navigation elements+- **What the user can do** — actions available (buttons, forms, filters)++#### d. Document Key Workflows+For interactive pages, document step-by-step:+1. Screenshot the starting state+2. Perform the action (click button, fill form)+3. Screenshot each significant step+4. Screenshot the result/confirmation+5. Write numbered steps matching the screenshots++#### e. Depth-Specific Extras++| Extra | quick | standard | thorough |+|-------|-------|----------|----------|+| Empty states | Skip | Note if present | Screenshot and document |+| Error states | Skip | Note if present | Trigger and screenshot |+| Dark mode | Skip | Skip | Screenshot every page |+| Mobile view (375px) | Skip | Skip | Screenshot every page |+| All CRUD operations | Skip | Primary only | Every operation with screenshots |+| Settings/config pages | Skip | Document | Document all options |++### 4. Organise the Guide++Group pages into logical sections. Common groupings:++```markdown+# [App Name] User Guide++## Getting Started+- Accessing the app (URL, login)+- Dashboard overview+- Navigation guide++## [Core Feature 1: e.g. Contact Management]+### Viewing contacts+### Adding a new contact+### Editing contact details+### Deleting a contact+### Searching and filtering++## [Core Feature 2: e.g. Reports]+### Viewing reports+### Creating a report+### Exporting data++## [Core Feature 3: e.g. Settings]+### Profile settings+### Team management+### Preferences++## Tips and Shortcuts+- Keyboard shortcuts (if any)+- Bulk actions+- Filters and search tips++## Troubleshooting+- Common issues noticed during documentation+- Error messages and what they mean+```++### 5. Write the Output++**Screenshots**: `docs/screenshots/NN-description.png` (numbered for order)++**User guide**: `docs/USER_GUIDE.md` with:+- Relative image paths: ``+- Step-by-step numbered lists for workflows+- Tables for reference data (keyboard shortcuts, settings options)+- Admonitions for important notes: `> **Note:** ...`++**Optional HTML version**: If the user wants a hosted version, generate a single HTML file with embedded images (base64) or relative image paths, styled with Tailwind CDN.++## Screenshot Conventions++- **Resolution**: 1280x720 (desktop), 375x812 (mobile if thorough)+- **Naming**: `NN-section-description.png` (e.g. `01-dashboard-overview.png`, `05-contacts-add-form.png`)+- **Content**: Wait for data to load. No spinners, no skeleton screens in final shots.+- **Annotations**: If a screenshot needs callouts, describe them in the markdown text below the image rather than editing the image+- **Save location**: `docs/screenshots/` in the project root++## Autonomy Rules++- **Just do it**: Navigate pages, take screenshots, read page content+- **Brief confirmation**: Before writing docs to files+- **Ask first**: Before submitting forms, before clicking delete, before entering credentials+- **Thorough mode**: Same as above but skip confirmation for writing files and filling forms with test data++## Quality Rules++1. **Document what the app actually does**, not what you think it should do+2. **Every screenshot must have context** — don't just dump images without explanation+3. **Write for the audience** — admin docs are different from end-user docs+4. **Number screenshots chronologically** — so they make sense when viewed in a file browser+5. **Note gaps** — if a feature seems incomplete or confusing, note it (this is feedback for the developer)+6. **Keep steps atomic** — one action per numbered stepdiff --git a/plugins/dev-tools/skills/ux-audit/SKILL.md b/plugins/dev-tools/skills/ux-audit/SKILL.mdindex 6ab7f0bf..22e349d9 100644--- a/plugins/dev-tools/skills/ux-audit/SKILL.md+++ b/plugins/dev-tools/skills/ux-audit/SKILL.md@@ -20,6 +20,44 @@ If none are available, inform the user and suggest installing Chrome MCP or PlaySee [references/browser-tools.md](references/browser-tools.md) for tool-specific commands.+## Depth Levels++Control how thorough the audit is. Pass as an argument: `/ux-audit quick`, `/ux-audit thorough`, or default to standard.++| Depth | Duration | Autonomy | What it covers |+|-------|----------|----------|---------------|+| **quick** | 5-10 min | Interactive | One user flow, happy path only. Spot check after a change. |+| **standard** | 20-40 min | Semi-autonomous | Full walkthrough + QA sweep of main pages. Default. |+| **thorough** | 1-3 hours | Fully autonomous | Multiple personas, all pages, all modes combined. Overnight mode. |++### Thorough Mode: Overnight Workflow++The thorough mode is designed to run unattended. Kick it off at end of day, review the report in the morning.++1. **Discover all routes** — read router config, crawl navigation, build complete page inventory+2. **Create a task list** — track progress so work survives context limits+3. **UX Walkthrough x3 personas**:+ - First-time user (non-technical, time-poor, first visit)+ - Power user (daily user, knows the app, looking for efficiency)+ - Mobile user (phone, touch targets, small viewport)+4. **Full QA sweep** — every page, all CRUD, all states (empty, error, loading, populated)+5. **Resilience testing** — every form: bad data, mid-navigation, back button, refresh, double-submit+6. **Cross-cutting per page** — dark mode screenshot, mobile viewport (375px) screenshot, keyboard navigation+7. **Screenshot everything** — save to `.jez/screenshots/ux-audit/` (numbered chronologically)+8. **Comprehensive report** — `docs/ux-audit-thorough-YYYY-MM-DD.md` with issue counts by severity+9. **Summary** — top 5 critical issues, overall health score, "one thing to fix first"++### Autonomy by Depth++| Action | quick | standard | thorough |+|--------|-------|----------|----------|+| Navigate pages | Just do it | Just do it | Just do it |+| Take screenshots | Key moments | Friction points | Every page + every issue |+| Fill forms with test data | Ask first | Ask first | Just do it (obviously fake data) |+| Click delete/destructive | Ask first | Ask first | Ask first (only exception) |+| Submit forms | Ask first | Brief confirmation | Just do it (test data only) |+| Write report file | Just do it | Brief confirmation | Just do it |+## Operating Modes### Mode 1: UX Walkthrough (Dogfooding)@@ -131,18 +169,23 @@ Focused testing of a specific area.## When to Use-| Scenario | Mode |-|----------|------|-| After building a feature, before showing users | UX Walkthrough |-| Before a release, verify nothing is broken | QA Sweep |-| Quick check on a specific page after changes | Targeted Check |-| Periodic UX health check | UX Walkthrough |-| Client demo prep | QA Sweep + UX Walkthrough |+| Scenario | Mode | Depth |+|----------|------|-------|+| Just changed a page, quick sanity check | Targeted Check | quick |+| After building a feature, before showing users | UX Walkthrough | standard |+| Before a release, verify nothing is broken | QA Sweep | standard |+| Quick check on a specific page after changes | Targeted Check | quick |+| Periodic UX health check | UX Walkthrough | standard |+| Client demo prep | QA Sweep + UX Walkthrough | standard |+| End-of-day comprehensive test, review in morning | All modes combined | thorough |+| Pre-launch full audit with evidence | All modes combined | thorough |**Skip this skill for**: API-only services, CLI tools, unit/integration tests (use test frameworks), performance testing.## Autonomy Rules+Default rules (standard depth). See "Autonomy by Depth" table above for quick/thorough overrides.+- **Just do it**: Navigate pages, take screenshots, read page content, evaluate usability- **Brief confirmation**: Before starting a full QA sweep (can be lengthy), before writing report files- **Ask first**: Before submitting forms with real data, before clicking delete/destructive actionsdiff --git a/plugins/frontend/skills/product-showcase/SKILL.md b/plugins/frontend/skills/product-showcase/SKILL.mdnew file mode 100644index 00000000..c507f8f0--- /dev/null+++ b/plugins/frontend/skills/product-showcase/SKILL.md@@ -0,0 +1,182 @@+---+name: product-showcase+description: "Generate a marketing website that shows off a web app using real screenshots. Browses the running app, captures key screens, extracts features, and produces a single deployable HTML showcase page with hero, how-it-works, feature grid, and CTAs. Like a landing page but built FROM the actual product. Triggers: 'showcase site', 'product page', 'show off the app', 'marketing site from app', 'demo page', 'product showcase', 'app showcase'."+compatibility: claude-code-only+---++# Product Showcase Generator++Generate a marketing website that shows off a running web app. Unlike the `landing-page` skill (which works from a brief), this skill **explores the actual app** via browser automation, captures real screenshots, discovers features, and builds a showcase page from what the product actually does.++## How It Differs from `landing-page`++| `landing-page` | `product-showcase` |+|---------------|--------------------|+| Works from a text brief | Works from a running app |+| Placeholder images | Real screenshots from the app |+| User describes features | Features discovered by browsing |+| No browser automation | Requires browser automation |+| Generic marketing structure | Structured around app's actual workflows |++## Browser Tool Detection++Before starting, detect available browser tools:++1. **Chrome MCP** (`mcp__claude-in-chrome__*`) — preferred for authenticated apps+2. **Playwright MCP** (`mcp__plugin_playwright_playwright__*`) — for public apps+3. **playwright-cli** — for scripted flows++## Workflow++### 1. Gather Input++| Field | Required | Example |+|-------|----------|---------|+| App URL | Yes | `https://app.example.com` or `http://localhost:5173` |+| App name | Yes | "Acme CRM" |+| Tagline | No | "The CRM that gets out of your way" |+| Target audience | No | "Small business owners" |+| Pricing info | No | Free tier, $29/mo pro |+| CTA text + URL | No | "Start Free Trial" → signup page |+| Testimonials | No | User provides or skip section |++### 2. Explore the App++Navigate the app and capture the story:++#### a. First Impression+- Load the app's main page/dashboard+- Screenshot at 1280x720 — this becomes the hero image+- Note the immediate value proposition (what does the user see first?)++#### b. Discover Features+Navigate through each major section:+- Click every nav item, tab, and major UI element+- For each feature area, take a clean screenshot showing it in action+- Note what the user can DO (actions, not just views)+- Capture 6-10 key screens that tell the product story++#### c. Identify the "How It Works" Flow+Find the main workflow (the thing a user does most):+- Screenshot 3-4 steps in sequence+- These become the "How It Works" section+- Example: "1. Add a contact → 2. Set up a pipeline → 3. Track your deals → 4. See your dashboard"++#### d. Capture Detail Shots+For the feature grid, capture focused screenshots:+- Zoom into specific UI elements that showcase polish+- Dark mode version if available (shows design quality)+- Mobile view if the app is responsive++### 3. Generate the Showcase++Produce a **single HTML file** with Tailwind CDN (same pattern as `landing-page`):++#### Sections++**Hero**+- App name + tagline+- Primary screenshot in a browser-frame mockup+- Primary CTA button+- Optional: secondary CTA ("Watch Demo", "View Pricing")++**How It Works**+- 3-4 steps with screenshots+- Numbered or arrowed flow+- Brief description under each step+- Shows the main user journey++**Feature Grid**+- 4-6 features in a responsive grid+- Each: screenshot + heading + 1-2 sentence description+- Screenshots in browser-frame mockups (smaller than hero)+- Features extracted from actual app exploration++**Social Proof** (if testimonials provided)+- 2-3 testimonial cards+- Or skip this section entirely if no testimonials++**Pricing** (if provided)+- 2-3 tier cards+- Or skip if not provided++**CTA Banner**+- Full-width call-to-action+- Repeat the primary CTA+- Urgency or benefit statement++**Footer**+- App name, links, legal placeholders++### 4. Screenshot Presentation++Screenshots are shown in browser-frame mockups using CSS:++```css+.browser-frame {+ border-radius: 8px;+ box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25);+ overflow: hidden;+ border: 1px solid rgba(0,0,0,0.1);+}+.browser-frame-bar {+ background: #f1f5f9;+ padding: 8px 12px;+ display: flex;+ gap: 6px;+}+.browser-frame-dot {+ width: 10px;+ height: 10px;+ border-radius: 50%;+ background: #e2e8f0;+}+```++This gives screenshots a polished "app in a browser" look without needing to edit the images.++### 5. Output++Save to a `showcase/` directory:++```+showcase/+├── index.html # The showcase page+└── screenshots/ # All captured screenshots+ ├── hero.png+ ├── step-1.png+ ├── step-2.png+ ├── step-3.png+ ├── feature-contacts.png+ ├── feature-reports.png+ └── ...+```++The HTML references screenshots with relative paths (`screenshots/hero.png`).++After generating, tell the user:+- Preview: `open showcase/index.html` or `python3 -m http.server -d showcase`+- Deploy: drag the `showcase/` folder to Cloudflare Pages, Netlify, or any static host+- List any placeholder content that needs replacing++## Design Patterns++**Colour**: If the app has a clear brand colour, extract it and use it as the primary. Otherwise default to a neutral palette (slate/blue).++**Typography**: System font stack (no external requests). Same approach as `landing-page`.++**Responsive**: Mobile-first, screenshots scale down gracefully. On mobile, screenshots stack vertically instead of grid.++**Dark mode**: Three-state toggle (light/dark/system) with CSS custom properties.++**Performance**: Lazy-load screenshot images. Tailwind CDN for styling. No build step.++## Quality Rules++1. **Only screenshot real features** — don't fabricate capabilities the app doesn't have+2. **Choose the best screenshots** — not every page is showcase-worthy. Pick the ones that tell the product story.+3. **Write benefit-focused copy** — "See all your contacts in one place" not "Contact list page"+4. **Browser frames on screenshots** — always wrap in the CSS mockup for professional appearance+5. **Consistent screenshot size** — all at 1280x720 for the captures, CSS handles display sizing+6. **No fake testimonials** — leave the section out if none provided+7. **No invented statistics** — leave stats blocks empty if no real data