Skip to content

Skills for Claude Code CLI such as full stack dev Cloudflare, React, Tailwind v4, and AI integrations.

fix: make all skills self-contained for external users

Jeremy Dawes589d793f9682
diff --git a/plugins/cloudflare/skills/tanstack-start/SKILL.md b/plugins/cloudflare/skills/tanstack-start/SKILL.md
index cadc65a9..376f3039 100644
--- a/plugins/cloudflare/skills/tanstack-start/SKILL.md
+++ b/plugins/cloudflare/skills/tanstack-start/SKILL.md
@@ -29,7 +29,7 @@ Ask for:
|----------|----------|
| Project name (kebab-case) | Google OAuth credentials |
| One-line description | Custom domain |
-| Cloudflare account (Jezweb Team or Personal) | R2 storage needed? |
+| Cloudflare account | R2 storage needed? |
| Auth method: Google OAuth, email/password, or both | Admin email |
### Step 2: Initialise Project
diff --git a/plugins/cloudflare/skills/vite-flare-starter/SKILL.md b/plugins/cloudflare/skills/vite-flare-starter/SKILL.md
index 49b0b15f..828ff568 100644
--- a/plugins/cloudflare/skills/vite-flare-starter/SKILL.md
+++ b/plugins/cloudflare/skills/vite-flare-starter/SKILL.md
@@ -6,7 +6,7 @@ compatibility: claude-code-only
# Vite Flare Starter
-Clone and configure Jez's batteries-included Cloudflare starter into a standalone project. Produces a fully rebranded, deployable full-stack app.
+Clone and configure the batteries-included Cloudflare starter into a standalone project. Produces a fully rebranded, deployable full-stack app.
## What You Get
@@ -33,7 +33,7 @@ Ask for:
|----------|----------|
| Project name (kebab-case) | Admin email |
| Description (1 sentence) | Google OAuth credentials |
-| Cloudflare account (Jezweb Team or Personal) | Custom domain |
+| Cloudflare account | Custom domain |
### Step 2: Run Setup Script
diff --git a/plugins/cloudflare/skills/vite-flare-starter/references/customization-guide.md b/plugins/cloudflare/skills/vite-flare-starter/references/customization-guide.md
index 64493bcc..4748bc23 100644
--- a/plugins/cloudflare/skills/vite-flare-starter/references/customization-guide.md
+++ b/plugins/cloudflare/skills/vite-flare-starter/references/customization-guide.md
@@ -13,7 +13,7 @@ If you don't change these, attackers can identify your site uses this starter:
| localStorage keys | `vite-flare-starter-theme` | `VITE_APP_ID` env var |
| API tokens | `vfs_` prefix | `VITE_TOKEN_PREFIX` env var |
| Sentry release | `[email protected]` | `VITE_APP_ID` env var |
-| GitHub links | jezweb repo | `VITE_GITHUB_URL` (set empty to hide) |
+| GitHub links | starter repo | `VITE_GITHUB_URL` (set empty to hide) |
| Worker name | `vite-flare-starter` | `wrangler.jsonc` |
| Database name | `vite-flare-starter-db` | `wrangler.jsonc` |
| R2 buckets | `vite-flare-starter-*` | `wrangler.jsonc` |
diff --git a/plugins/design-assets/skills/favicon-gen/SKILL.md b/plugins/design-assets/skills/favicon-gen/SKILL.md
index eec6a68c..d4735fbe 100644
--- a/plugins/design-assets/skills/favicon-gen/SKILL.md
+++ b/plugins/design-assets/skills/favicon-gen/SKILL.md
@@ -43,6 +43,8 @@ SVG templates available in `assets/` directory.
### Step 3: Generate All Formats
+Requires ImageMagick (`convert` command). Install if needed: `brew install imagemagick` (macOS) or `apt install imagemagick` (Linux).
+
```bash
# ICO (16x16 + 32x32)
convert favicon.svg -define icon:auto-resize=16,32 favicon.ico
@@ -55,7 +57,7 @@ convert favicon.svg -resize 192x192 icon-192.png
convert favicon.svg -resize 512x512 icon-512.png
```
-Or use https://favicon.io to convert from the SVG.
+**No ImageMagick?** Use https://favicon.io to convert from the SVG instead.
### Step 4: Create Web Manifest
diff --git a/plugins/design-assets/skills/gemini-image-gen/SKILL.md b/plugins/design-assets/skills/gemini-image-gen/SKILL.md
index 597c9131..0cccf98b 100644
--- a/plugins/design-assets/skills/gemini-image-gen/SKILL.md
+++ b/plugins/design-assets/skills/gemini-image-gen/SKILL.md
@@ -10,11 +10,10 @@ Generate contextual images for web projects using the Gemini API. Produces hero
## Setup
-**API Key**: Retrieve from Vault and export:
+**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.
-```
-mcp__vault__secret_get name="Google Gemini" folder="ai-services"
-export GEMINI_API_KEY="<key>"
+```bash
+export GEMINI_API_KEY="your-key-here"
```
## Workflow
diff --git a/plugins/design-assets/skills/gemini-image-gen/scripts/generate-image.py b/plugins/design-assets/skills/gemini-image-gen/scripts/generate-image.py
index 37d73e0b..2e6a27ef 100644
--- a/plugins/design-assets/skills/gemini-image-gen/scripts/generate-image.py
+++ b/plugins/design-assets/skills/gemini-image-gen/scripts/generate-image.py
@@ -88,7 +88,7 @@ def main():
api_key = os.environ.get("GEMINI_API_KEY")
if not api_key:
- print("GEMINI_API_KEY not set. Get from Vault: mcp__vault__secret_get name='Google Gemini' folder='ai-services'", file=sys.stderr)
+ print("GEMINI_API_KEY not set. Get a key from https://aistudio.google.com/apikey", file=sys.stderr)
sys.exit(1)
for i in range(args.count):
diff --git a/plugins/dev-tools/skills/gemini-guide/SKILL.md b/plugins/dev-tools/skills/gemini-guide/SKILL.md
index 0287df0a..73e8c8e9 100644
--- a/plugins/dev-tools/skills/gemini-guide/SKILL.md
+++ b/plugins/dev-tools/skills/gemini-guide/SKILL.md
@@ -10,8 +10,8 @@ Look up Gemini API documentation and SDK patterns when building with Google Gemi
| Skill | Direction | Tool |
|-------|-----------|------|
-| **gemini-guide** (this) | Gemini docs -> Claude | Local docs, WebFetch |
-| gemini-peer-review | Code -> Gemini | gemini-coach CLI |
+| **gemini-guide** (this) | Gemini docs -> Claude | WebFetch, local docs |
+| gemini-peer-review | Code -> Gemini | Direct Gemini API |
## Documentation Sources
@@ -19,19 +19,18 @@ Check in this priority order:
| Priority | Source | Best For |
|----------|--------|----------|
-| 1 | Local cached docs (`~/Documents/google-gemini-context/`) | Most topics — 24 JS, 24 Python, 7 common topics |
-| 2 | GitHub codegen_instructions | Always-current SDK patterns — fetch `https://raw.githubusercontent.com/googleapis/js-genai/refs/heads/main/codegen_instructions.md` |
-| 3 | Google AI docs via WebFetch | When local docs don't cover it — `https://ai.google.dev/gemini-api/docs/{topic}` |
+| 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. **Map the query to a topic**: Read [references/topic-index.md](references/topic-index.md) to find the right local doc file
-3. **Read the local doc**: The file path will be `~/Documents/google-gemini-context/{path from topic index}`
-4. **If local doc seems stale**: Fetch the GitHub codegen_instructions.md for latest SDK patterns
-5. **Synthesise**: Combine the documentation into a clear answer with working code examples. Always use the CORRECT patterns from step 1.
+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
@@ -75,9 +74,9 @@ response = client.models.generate_content(
)
```
-## Local Docs Structure
+## Local Docs (Optional)
-All at `~/Documents/google-gemini-context/`:
+If you have a local cache at `~/Documents/google-gemini-context/`, it contains:
| Directory | Contents |
|-----------|----------|
@@ -86,9 +85,9 @@ All at `~/Documents/google-gemini-context/`:
| `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 |
-| `CLAUDE.md` | Full correction reference (source for deprecated-patterns.md) |
| `googlegenai-gemini-api.md` | Comprehensive SDK guide (608 lines, JS + Python) |
-| `INDEX.md` | Keyword index mapping topics to files |
+
+If not available, fall back to WebFetch on Google AI docs (append `.md.txt` for markdown format).
## Current Models
@@ -100,11 +99,11 @@ All at `~/Documents/google-gemini-context/`:
| Gemini 2.0 Flash | `gemini-2.0-flash` | Fast inference |
| Text Embedding | `text-embedding-004` | Semantic search, RAG (768 dims) |
-For full model details including token limits and rate limits, read `~/Documents/google-gemini-context/MODELS.md`.
+For full model details, check `~/Documents/google-gemini-context/MODELS.md` (if available) or https://ai.google.dev/gemini-api/docs/models.
## Maintenance
-The local docs at `~/Documents/google-gemini-context/` were curated in January 2025. When information seems wrong or outdated:
+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`
diff --git a/plugins/dev-tools/skills/gemini-peer-review/SKILL.md b/plugins/dev-tools/skills/gemini-peer-review/SKILL.md
index 9eb93184..b07f4759 100644
--- a/plugins/dev-tools/skills/gemini-peer-review/SKILL.md
+++ b/plugins/dev-tools/skills/gemini-peer-review/SKILL.md
@@ -10,13 +10,11 @@ Consult Gemini as a coding peer for a second opinion on code quality, architectu
## Setup
-**API Key**: Retrieve from Vault before first use:
+**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"
```
-mcp__vault__secret_get name="Google Gemini"
-```
-
-Export as `GEMINI_API_KEY` for the script.
## Workflow
diff --git a/plugins/dev-tools/skills/gemini-peer-review/scripts/gemini-review.py b/plugins/dev-tools/skills/gemini-peer-review/scripts/gemini-review.py
index 4b2e7ac5..b9f1f301 100644
--- a/plugins/dev-tools/skills/gemini-peer-review/scripts/gemini-review.py
+++ b/plugins/dev-tools/skills/gemini-peer-review/scripts/gemini-review.py
@@ -61,7 +61,7 @@ def main():
api_key = os.environ.get("GEMINI_API_KEY")
if not api_key:
- print("GEMINI_API_KEY not set. Get it from Vault: mcp__vault__secret_get name='Google Gemini'", file=sys.stderr)
+ print("GEMINI_API_KEY not set. Get a key from https://aistudio.google.com/apikey", file=sys.stderr)
sys.exit(1)
if args.prompt_file:
diff --git a/plugins/dev-tools/skills/github-release/SKILL.md b/plugins/dev-tools/skills/github-release/SKILL.md
index 94a010af..bdb811ba 100644
--- a/plugins/dev-tools/skills/github-release/SKILL.md
+++ b/plugins/dev-tools/skills/github-release/SKILL.md
@@ -54,7 +54,7 @@ Either delete them or add to `.gitignore`.
ls LICENSE LICENSE.md LICENSE.txt 2>/dev/null
```
-If missing: create one. MIT is the default for Jez's projects. For private repos, use the proprietary license (see `~/.claude/rules/git-workflow.md`).
+If missing: create one. Check the repo visibility (`gh repo view --json visibility -q '.visibility'`). Use MIT for public repos. For private repos, consider a proprietary license instead.
#### 4. Validate README
diff --git a/plugins/dev-tools/skills/project-health/SKILL.md b/plugins/dev-tools/skills/project-health/SKILL.md
index bbc53c35..6ec12df8 100644
--- a/plugins/dev-tools/skills/project-health/SKILL.md
+++ b/plugins/dev-tools/skills/project-health/SKILL.md
@@ -256,7 +256,7 @@ This runs in the **main context** (not a sub-agent) because it needs access to t
| `Bash(nvidia-smi)` | Exact match, no arguments |
| `WebFetch` | Blanket web fetch |
| `WebSearch` | Blanket web search |
-| `mcp__brain__*` | All tools on one MCP server |
+| `mcp__servername__*` | All tools on one MCP server |
### What Does NOT Work
diff --git a/plugins/dev-tools/skills/project-health/references/permission-presets.md b/plugins/dev-tools/skills/project-health/references/permission-presets.md
index 77408690..b361e073 100644
--- a/plugins/dev-tools/skills/project-health/references/permission-presets.md
+++ b/plugins/dev-tools/skills/project-health/references/permission-presets.md
@@ -12,8 +12,8 @@ Curated permission presets for `settings.local.json`. Each preset is a JSON arra
| `WebFetch` | Blanket web fetch (all domains) |
| `WebFetch(domain:example.com)` | Domain-scoped web fetch |
| `WebSearch` | Blanket web search |
-| `mcp__brain__*` | All tools on one MCP server |
-| `mcp__brain__brain_sites` | One specific MCP tool |
+| `mcp__servername__*` | All tools on one MCP server |
+| `mcp__servername__tool_name` | One specific MCP tool |
| `Read(.claude/**)` | Read files in project's .claude/ (recursive) |
| `Edit(~/Documents/**)` | Edit files under home Documents (recursive) |
| `Read(//tmp/**)` | Read from absolute path (`//` = filesystem root) |
@@ -142,7 +142,6 @@ Every project gets these. Version control, file operations, and basic tools need
"// --- Skill Scripts ---",
"Bash(python3 *)",
-"Bash(GEMINI_API_KEY=*)",
"// --- File Access ---",
"Read(.claude/**)",
@@ -420,7 +419,12 @@ For AI/ML workloads. Add to any stack.
"// --- GPU ---",
"Bash(nvidia-smi *)",
-"Bash(nvidia-smi)"
+"Bash(nvidia-smi)",
+
+"// --- API Key Passthrough ---",
+"Bash(GEMINI_API_KEY=*)",
+"Bash(OPENAI_API_KEY=*)",
+"Bash(ANTHROPIC_API_KEY=*)"
```
Note: `Bash(nvidia-smi)` (no wildcard) matches the bare command with no arguments, which is the most common usage.
@@ -436,9 +440,9 @@ MCP (Model Context Protocol) servers provide tool access to external services. P
Allow all tools on each MCP server you trust. You must list each server individually — `mcp__*` does NOT work as a blanket (the wildcard only matches within the last segment, not across the `__` boundary).
```json
-"mcp__brain__*",
+"mcp__servername__*",
"mcp__playwright__*",
-"mcp__vault__*"
+"mcp__another-server__*"
```
### Individual Tools
@@ -446,8 +450,8 @@ Allow all tools on each MCP server you trust. You must list each server individu
For maximum control, allow specific tools only:
```json
-"mcp__brain__brain_sites",
-"mcp__brain__brain_recall"
+"mcp__servername__specific_tool",
+"mcp__servername__another_tool"
```
---
diff --git a/plugins/dev-tools/skills/responsiveness-check/SKILL.md b/plugins/dev-tools/skills/responsiveness-check/SKILL.md
index bfb32a35..cb7a52d7 100644
--- a/plugins/dev-tools/skills/responsiveness-check/SKILL.md
+++ b/plugins/dev-tools/skills/responsiveness-check/SKILL.md
@@ -16,7 +16,7 @@ Test how a website's layout responds to viewport width changes. Resizes through
Before starting, detect available browser tools:
-1. **playwright-cli** (preferred) — supports resize, named sessions, and sub-agent parallelism. Run `/playwright-cli` first to load the full command reference.
+1. **playwright-cli** (preferred) — supports resize, named sessions, and sub-agent parallelism. If installed, run `/playwright-cli` first to load the full command reference.
2. **Playwright MCP** (`mcp__plugin_playwright_playwright__*`) — `browser_resize` for viewport changes.
3. **Chrome MCP** (`mcp__claude-in-chrome__*`) — `resize_window` for viewport changes. Uses the user's logged-in Chrome session.
diff --git a/plugins/dev-tools/skills/skill-creator/SKILL.md b/plugins/dev-tools/skills/skill-creator/SKILL.md
index 07423cbe..0f0618d8 100644
--- a/plugins/dev-tools/skills/skill-creator/SKILL.md
+++ b/plugins/dev-tools/skills/skill-creator/SKILL.md
@@ -268,6 +268,20 @@ After initialization, customize or remove the generated SKILL.md and example fil
When editing the (newly-generated or existing) skill, remember that the skill is being created for another instance of Claude to use. Include information that would be beneficial and non-obvious to Claude. Consider what procedural knowledge, domain-specific details, or reusable assets would help another Claude instance execute these tasks more effectively.
+#### Skills Must Be Self-Contained
+
+Other users who install your skill will NOT have your `~/.claude/rules/`, your `CLAUDE.md`, your MCP servers, or your Vault. Everything the skill needs must be inside the skill itself:
+
+| Don't rely on... | Instead... |
+|-------------------|-----------|
+| Your `~/.claude/rules/*.md` | Put the guidance in SKILL.md or `references/` |
+| Your project/global CLAUDE.md | Include relevant context directly in the skill |
+| Specific MCP servers (Brain, Vault, etc.) | Make MCP usage optional, or document what's needed |
+| Your `settings.local.json` permissions | Document what permissions the skill needs so users can add them |
+| Environment-specific paths or tools | Use detection logic or document prerequisites |
+
+**Test**: Could someone with a fresh Claude Code install use this skill? If it would break without your personal config, it's not self-contained.
+
#### Learn Proven Design Patterns
Consult these helpful guides based on your skill's needs:
@@ -339,8 +353,8 @@ Skills work as directories — no packaging needed. Install directly:
# Install from this repo
/plugin install ./skills/<skill-name>
-# Or add the repo as a marketplace
-/plugin marketplace add jezweb/claude-skills
+# Or add a repo as a marketplace
+/plugin marketplace add owner/repo-name
/plugin install <bundle-name>
```
diff --git a/plugins/frontend/skills/shadcn-ui/references/recipes.md b/plugins/frontend/skills/shadcn-ui/references/recipes.md
index 53151dbf..9e3ed795 100644
--- a/plugins/frontend/skills/shadcn-ui/references/recipes.md
+++ b/plugins/frontend/skills/shadcn-ui/references/recipes.md
@@ -303,7 +303,7 @@ export function SettingsPage() {
<TabsContent value="general" className="space-y-6 mt-4">
<div className="space-y-2">
<Label htmlFor="name">Display Name</Label>
- <Input id="name" defaultValue="Jez" />
+ <Input id="name" defaultValue="Alex" />
</div>
<div className="space-y-2">
<Label htmlFor="timezone">Timezone</Label>
diff --git a/plugins/integrations/skills/google-chat-messages/SKILL.md b/plugins/integrations/skills/google-chat-messages/SKILL.md
index 55c0db44..ef61ab76 100644
--- a/plugins/integrations/skills/google-chat-messages/SKILL.md
+++ b/plugins/integrations/skills/google-chat-messages/SKILL.md
@@ -23,7 +23,7 @@ In Google Chat:
2. Create webhook (name it, optionally add avatar URL)
3. Copy the webhook URL
-Store the URL as a secret (environment variable or Bitwarden), never hardcode.
+Store the URL as an environment variable or in your secrets manager — never hardcode.
### Step 2: Choose Message Type
@@ -161,7 +161,7 @@ const card = buildCard({
cardId: 'deploy-notification',
title: 'Deployment Complete',
subtitle: 'production - v2.1.0',
- imageUrl: 'https://www.jezweb.com.au/wp-content/uploads/2020/03/favicon-100x100.png',
+ imageUrl: 'https://example.com/your-icon.png',
sections: [{
widgets: [
{ decoratedText: { topLabel: 'Environment', text: 'Production' } },
diff --git a/plugins/shopify/skills/shopify-setup/SKILL.md b/plugins/shopify/skills/shopify-setup/SKILL.md
index bb1aab2f..675360bd 100644
--- a/plugins/shopify/skills/shopify-setup/SKILL.md
+++ b/plugins/shopify/skills/shopify-setup/SKILL.md
@@ -78,14 +78,7 @@ SHOPIFY_ACCESS_TOKEN=shpat_xxxxxxxxxxxxxxxxxxxxx
Ensure `.dev.vars` is in `.gitignore`.
-**For cross-project use** — store in Vault:
-
-```
-Use mcp__vault__secret_set with:
- name: "shopify-{store-name}-token"
- value: the access token
- tags: ["shopify", "api"]
-```
+**For cross-project use** — store in your preferred secrets manager (environment variable, 1Password CLI, Vault MCP, etc.).
### Step 5: Verify API Access
diff --git a/plugins/wordpress/skills/wordpress-setup/SKILL.md b/plugins/wordpress/skills/wordpress-setup/SKILL.md
index ee6f365b..8c4aafc5 100644
--- a/plugins/wordpress/skills/wordpress-setup/SKILL.md
+++ b/plugins/wordpress/skills/wordpress-setup/SKILL.md
@@ -91,14 +91,7 @@ WP_USERNAME=admin
WP_APP_PASSWORD=xxxx xxxx xxxx xxxx xxxx xxxx
```
-Ensure `.dev.vars` is in `.gitignore`. For cross-project use, store in Vault:
-
-```
-Use mcp__vault__secret_set with:
- name: "wordpress-{sitename}-credentials"
- value: JSON with url, username, app_password
- tags: ["wordpress", "api"]
-```
+Ensure `.dev.vars` is in `.gitignore`. For cross-project use, store in your preferred secrets manager (environment variable, 1Password CLI, Vault MCP, etc.).
### Step 4: Verify Full Access
diff --git a/plugins/writing/skills/aussie-business-english/SKILL.md b/plugins/writing/skills/aussie-business-english/SKILL.md
index d320fb0e..0bbb5709 100644
--- a/plugins/writing/skills/aussie-business-english/SKILL.md
+++ b/plugins/writing/skills/aussie-business-english/SKILL.md
@@ -125,7 +125,7 @@ Avoid in written professional comms:
> Next up is the contact form and booking system, which we'll have ready by end of next week. I'll send through a preview link once it's live on the staging site.
>
> Cheers,
-> Jez
+> [Your name]
### Delivering a quote
@@ -142,7 +142,7 @@ Avoid in written professional comms:
> Happy to jump on a call if you've got any questions.
>
> Cheers,
-> Jez
+> [Your name]
### Saying no to a request
@@ -160,7 +160,7 @@ Avoid in written professional comms:
> If timing works, we'd be happy to look at it in April. Otherwise, I can recommend a couple of people who might be able to help sooner.
>
> Cheers,
-> Jez
+> [Your name]
## Context Rules