Skip to content

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

Overhaul permission presets: generic, comprehensive, all languages

Jeremy Dawes07b093bdabd7
diff --git a/plugins/dev-tools/skills/project-kickoff/SKILL.md b/plugins/dev-tools/skills/project-kickoff/SKILL.md
index 1b52ced3..97cda31b 100644
--- a/plugins/dev-tools/skills/project-kickoff/SKILL.md
+++ b/plugins/dev-tools/skills/project-kickoff/SKILL.md
@@ -26,12 +26,19 @@ Bootstrap a new project or clean up an existing one so Claude Code has the right
|-----------|------|
| `wrangler.jsonc` or `wrangler.toml` | cloudflare-worker |
| `vercel.json` or `next.config.*` | vercel-app |
- | `package.json` (no deploy target) | node-generic |
- | `pyproject.toml` or `setup.py` | python |
+ | `package.json` (no deploy target) | javascript-typescript |
+ | `pyproject.toml` or `setup.py` or `requirements.txt` | python |
+ | `Cargo.toml` | rust |
+ | `go.mod` | go |
+ | `Gemfile` or `Rakefile` | ruby |
+ | `composer.json` or `wp-config.php` | php |
+ | `Dockerfile` or `docker-compose.yml` | docker |
| `.claude/agents/` or operational scripts | ops-admin |
| Empty directory | Ask the user |
- If ambiguous, ask. Types can stack (e.g. cloudflare-worker + node-generic).
+ If ambiguous, ask. Types can stack (e.g. cloudflare-worker + javascript-typescript).
+
+ Always include **Universal Base** preset. Add language and deployment presets based on detected type. Ask if the user wants MCP blanket (`mcp__*`) or per-server control.
2. **Generate `.claude/settings.local.json`**:
- Read [references/permission-presets.md](references/permission-presets.md) for the preset definitions
@@ -90,11 +97,18 @@ Bootstrap a new project or clean up an existing one so Claude Code has the right
| Pattern | Meaning |
|---------|---------|
-| `Bash(git *)` | Current syntax — space before `*` = word boundary |
-| `Bash(git:*)` | Deprecated colon syntax (still works) |
-| `WebFetch(domain:x.com)` | Domain-scoped web access |
+| `Bash(git *)` | Preferred — space before `*` = word boundary |
+| `Bash(nvidia-smi)` | Exact match, no arguments |
+| `WebFetch` | Blanket web fetch (all domains) |
+| `WebFetch(domain:x.com)` | Domain-scoped web fetch |
| `WebSearch` | Blanket web search |
-| `mcp__server__tool` | Specific MCP tool |
+| `mcp__*` | All MCP servers and tools |
+| `mcp__brain__*` | All tools on one server |
+| `mcp__brain__brain_sites` | One specific MCP tool |
+
+**Deprecated**: `Bash(git:*)` colon syntax still works but prefer space syntax.
+
+**Not hot-reloaded**: Edits to `settings.local.json` require a session restart. The "don't ask again" prompt injects at runtime (no restart needed) using legacy colon format — this is expected and both formats are equivalent.
**Critical**: Project `settings.local.json` **shadows** global settings. It does not merge. If a project has its own allow list, the global allow list is ignored entirely for that project.
diff --git a/plugins/dev-tools/skills/project-kickoff/references/permission-presets.md b/plugins/dev-tools/skills/project-kickoff/references/permission-presets.md
index 88d47a6c..ca912242 100644
--- a/plugins/dev-tools/skills/project-kickoff/references/permission-presets.md
+++ b/plugins/dev-tools/skills/project-kickoff/references/permission-presets.md
@@ -1,302 +1,398 @@
# Permission Presets
-Curated permission presets for `settings.local.json`. Each preset is a JSON array of permission strings grouped with `//` comments.
+Curated permission presets for `settings.local.json`. Each preset is a JSON array of permission strings grouped with `//` comments. Compose presets by stacking: Universal Base + language preset + deployment preset + extras.
## Syntax Reference
| Pattern | Meaning |
|---------|---------|
-| `Bash(git *)` | Space before `*` = word boundary (current preferred syntax) |
-| `Bash(git:*)` | Colon syntax (deprecated, still works) |
-| `Bash(git*)` | No space = no boundary (matches `gitk` too) |
-| `WebFetch(domain:example.com)` | Domain-scoped web access |
-| `WebSearch` | Blanket web search (no specifiers) |
-| `mcp__server__tool` | Specific MCP tool |
+| `Bash(git *)` | Space before `*` = word boundary. Matches `git status` but not `gitk`. **Preferred syntax.** |
+| `Bash(git*)` | No space = prefix match. Matches `git status` AND `gitk`. |
+| `Bash(nvidia-smi)` | Exact match — no arguments. Use for bare commands. |
+| `WebFetch` | Blanket web fetch (all domains) |
+| `WebFetch(domain:example.com)` | Domain-scoped web fetch |
+| `WebSearch` | Blanket web search |
+| `mcp__*` | All MCP servers and tools |
+| `mcp__brain__*` | All tools on one MCP server |
+| `mcp__brain__brain_sites` | One specific MCP tool |
-**Critical**: Project `settings.local.json` SHADOWS global settings (does not merge). If a project has its own allow list, it completely replaces the global one.
+### Format Notes
+
+- **Deprecated**: `Bash(git:*)` colon syntax still works but prefer space syntax `Bash(git *)`
+- **"Don't ask again"** prompt uses legacy colon format (e.g. `node:*`) — it's equivalent but looks different
+- **Comments**: `"// --- Section ---"` strings in the allow array are ignored and useful for organisation
+- **Not hot-reloaded**: Changes to `settings.local.json` require a session restart. "Don't ask again" bypasses this because it injects into the running session directly.
+
+**Critical**: Project `settings.local.json` **SHADOWS** global settings (does not merge). If a project has its own allow list, the global allow list is ignored entirely for that project.
+
+Shell operators (`&&`, `||`, `;`) are handled safely — `Bash(git *)` won't match `git add && rm -rf /`.
---
## Universal Base
-Every project gets these. Git and GitHub CLI are needed for all development work.
+Every project gets these. Version control, file operations, and basic tools needed for all development.
```json
-"// --- Git ---",
+"// --- Version Control ---",
"Bash(git *)",
-
-"// --- GitHub CLI ---",
"Bash(gh *)",
-"Bash(gh repo:*)",
-"Bash(gh issue:*)",
-"Bash(gh pr:*)",
-"Bash(gh api:*)",
-"Bash(gh search:*)",
-"Bash(gh run:*)",
-"Bash(gh release:*)",
-"Bash(gh label:*)",
-"Bash(gh workflow:*)",
+
+"// --- File Operations ---",
+"Bash(ls *)",
+"Bash(cat *)",
+"Bash(head *)",
+"Bash(tail *)",
+"Bash(wc *)",
+"Bash(sort *)",
+"Bash(mkdir *)",
+"Bash(cp *)",
+"Bash(mv *)",
+"Bash(touch *)",
+"Bash(chmod *)",
+"Bash(find *)",
+"Bash(tree *)",
+"Bash(du *)",
+"Bash(df *)",
+
+"// --- Archives ---",
+"Bash(tar *)",
+"Bash(zip *)",
+"Bash(unzip *)",
+"Bash(gzip *)",
+
+"// --- Text Processing ---",
+"Bash(grep *)",
+"Bash(rg *)",
+"Bash(awk *)",
+"Bash(sed *)",
+"Bash(diff *)",
+"Bash(jq *)",
+"Bash(echo *)",
+"Bash(printf *)",
+"Bash(tee *)",
+
+"// --- System ---",
+"Bash(which *)",
+"Bash(whereis *)",
+"Bash(type *)",
+"Bash(ps *)",
+"Bash(env *)",
+"Bash(date *)",
+"Bash(uname *)",
+"Bash(make *)",
+
+"// --- Network ---",
+"Bash(curl *)",
+"Bash(wget *)",
+"Bash(ssh *)",
+"Bash(scp *)",
+"Bash(rsync *)",
+"Bash(dig *)",
"// --- Web ---",
-"WebSearch"
+"WebSearch",
+"WebFetch"
```
-Note: `Bash(gh *)` has a known bug where some subcommands don't match. Include both the broad pattern and explicit subcommand patterns as a workaround.
-
---
-## Cloudflare Worker
+## JavaScript / TypeScript
-For projects using Cloudflare Workers, D1, R2, KV. Add to Universal Base.
+For any JS/TS project. Add to Universal Base.
```json
-"// --- Wrangler ---",
-"Bash(npx wrangler *)",
-"Bash(wrangler *)",
+"// --- Node.js ---",
+"Bash(node *)",
+"Bash(npm *)",
+"Bash(npx *)",
+
+"// --- Alternative Runtimes ---",
+"Bash(bun *)",
+"Bash(bunx *)",
+"Bash(deno *)",
"// --- Package Managers ---",
"Bash(pnpm *)",
-"Bash(npm *)",
-"Bash(npx *)",
+"Bash(yarn *)",
-"// --- Cloudflare Docs ---",
-"mcp__claude_ai_cloudflare-docs__search_cloudflare_documentation",
-"WebFetch(domain:developers.cloudflare.com)",
+"// --- TypeScript ---",
+"Bash(tsc *)",
+"Bash(tsx *)",
-"// --- Build & Dev ---",
-"Bash(curl *)",
-"Bash(node *)"
+"// --- Bundlers ---",
+"Bash(esbuild *)",
+"Bash(vite *)",
+"Bash(turbo *)",
+
+"// --- Testing ---",
+"Bash(jest *)",
+"Bash(vitest *)",
+"Bash(playwright *)",
+"Bash(cypress *)",
+
+"// --- Linting / Formatting ---",
+"Bash(eslint *)",
+"Bash(prettier *)",
+"Bash(biome *)"
```
-### Cloudflare Account Note
+---
-Default account: Jezweb Team `0460574641fdbb98159c98ebf593e2bd`. Add `account_id` to `wrangler.jsonc` to avoid interactive prompts — don't put it in permission patterns.
+## Python
+
+For Python projects. Add to Universal Base.
+
+```json
+"// --- Python Runtime ---",
+"Bash(python *)",
+"Bash(python3 *)",
+
+"// --- Package Managers ---",
+"Bash(pip *)",
+"Bash(pip3 *)",
+"Bash(uv *)",
+"Bash(poetry *)",
+"Bash(pipx *)",
+"Bash(conda *)",
+
+"// --- Testing / Quality ---",
+"Bash(pytest *)",
+"Bash(mypy *)",
+"Bash(ruff *)",
+"Bash(black *)",
+"Bash(flake8 *)",
+"Bash(isort *)",
+
+"// --- Dev Servers ---",
+"Bash(flask *)",
+"Bash(uvicorn *)",
+"Bash(gunicorn *)",
+"Bash(django-admin *)",
+
+"// --- Notebooks ---",
+"Bash(jupyter *)"
+```
---
-## Vercel App
+## PHP
-For Next.js or other Vercel-deployed projects. Add to Universal Base.
+For PHP projects including WordPress and Laravel. Add to Universal Base.
```json
-"// --- Vercel CLI ---",
-"Bash(npx vercel *)",
-"Bash(vercel *)",
+"// --- PHP Runtime ---",
+"Bash(php *)",
+"Bash(composer *)",
+
+"// --- WordPress ---",
+"Bash(wp *)",
+
+"// --- Testing / Quality ---",
+"Bash(phpunit *)",
+"Bash(phpstan *)",
+"Bash(phpcs *)",
+"Bash(phpcbf *)",
+"Bash(pest *)",
+
+"// --- Laravel ---",
+"Bash(artisan *)",
+"Bash(sail *)"
+```
-"// --- Package Managers ---",
-"Bash(pnpm *)",
-"Bash(npm *)",
-"Bash(npx *)",
+---
-"// --- Database ---",
-"Bash(npx prisma *)",
-"Bash(prisma *)",
+## Go
-"// --- Build & Dev ---",
-"Bash(curl *)",
-"Bash(node *)"
+For Go projects. Add to Universal Base.
+
+```json
+"// --- Go ---",
+"Bash(go *)",
+"Bash(golangci-lint *)"
```
-### Vercel Account Note
+---
+
+## Rust
-Always use the Jezweb team account. Run `vercel switch jezweb` before deploying.
+For Rust projects. Add to Universal Base.
+
+```json
+"// --- Rust ---",
+"Bash(cargo *)",
+"Bash(rustc *)",
+"Bash(rustup *)"
+```
---
-## Node Generic
+## Ruby
-For generic Node.js projects without a specific deployment target. Add to Universal Base.
+For Ruby / Rails projects. Add to Universal Base.
```json
-"// --- Package Managers ---",
-"Bash(pnpm *)",
-"Bash(npm *)",
-"Bash(npx *)",
+"// --- Ruby ---",
+"Bash(ruby *)",
+"Bash(gem *)",
+"Bash(bundle *)",
+"Bash(bundler *)",
+"Bash(rails *)",
+"Bash(rake *)",
+"Bash(rspec *)"
+```
-"// --- Runtime ---",
-"Bash(node *)",
-"Bash(npx tsx *)"
+---
+
+## Cloudflare Worker
+
+Deployment preset. Add to Universal Base + JavaScript/TypeScript.
+
+```json
+"// --- Wrangler ---",
+"Bash(wrangler *)",
+"Bash(npx wrangler *)"
```
---
-## Python
+## Vercel
-For Python projects using uv or pip. Add to Universal Base.
+Deployment preset. Add to Universal Base + JavaScript/TypeScript.
```json
-"// --- Python ---",
-"Bash(python3 *)",
-"Bash(python *)",
-"Bash(pip *)",
-"Bash(uv *)",
+"// --- Vercel ---",
+"Bash(vercel *)",
+"Bash(npx vercel *)",
-"// --- Testing ---",
-"Bash(pytest *)",
-"Bash(mypy *)"
+"// --- Prisma (common with Vercel) ---",
+"Bash(prisma *)",
+"Bash(npx prisma *)"
```
---
-## Ops / Admin
+## Docker / Containers
-For operational repos (like HQ, Anthro) that interact with many MCP services. Add to Universal Base.
+For containerised projects. Add to any stack.
```json
-"// --- Gmail ---",
-"mcp__claude_ai_google-gmail-jez__gmail_messages",
-"mcp__claude_ai_google-gmail-jez__gmail_threads",
-"mcp__claude_ai_google-gmail-jez__gmail_labels",
-"mcp__claude_ai_google-gmail-jez__gmail_drafts",
-"mcp__claude_ai_google-gmail-jez__gmail_contacts",
-"mcp__claude_ai_google-gmail-anthro__gmail_messages",
-"mcp__claude_ai_google-gmail-anthro__gmail_threads",
-"mcp__claude_ai_google-gmail-anthro__gmail_labels",
-"mcp__claude_ai_google-gmail-anthro__gmail_drafts",
-"mcp__claude_ai_google-gmail-anthro__gmail_contacts",
-
-"// --- Google Chat ---",
-"mcp__claude_ai_google-chat-jez__chat_spaces",
-"mcp__claude_ai_google-chat-jez__chat_messages",
-"mcp__claude_ai_google-chat-jez__chat_members",
-"mcp__claude_ai_google-chat-anthro__chat_spaces",
-"mcp__claude_ai_google-chat-anthro__chat_messages",
-"mcp__claude_ai_google-chat-anthro__chat_members",
-
-"// --- Google Docs ---",
-"mcp__claude_ai_google-docs-jez__docs_documents",
-"mcp__claude_ai_google-docs-jez__docs_content",
-"mcp__claude_ai_google-docs-jez__docs_format",
-"mcp__claude_ai_google-docs-jez__docs_collaborate",
-"mcp__claude_ai_google-docs-anthro__docs_documents",
-"mcp__claude_ai_google-docs-anthro__docs_content",
-"mcp__claude_ai_google-docs-anthro__docs_format",
-"mcp__claude_ai_google-docs-anthro__docs_collaborate",
-
-"// --- Google Sheets ---",
-"mcp__claude_ai_google-sheets-jez__sheets_spreadsheets",
-"mcp__claude_ai_google-sheets-jez__sheets_values",
-"mcp__claude_ai_google-sheets-jez__sheets_data",
-"mcp__claude_ai_google-sheets-jez__sheets_format",
-"mcp__claude_ai_google-sheets-anthro__sheets_spreadsheets",
-"mcp__claude_ai_google-sheets-anthro__sheets_values",
-"mcp__claude_ai_google-sheets-anthro__sheets_data",
-"mcp__claude_ai_google-sheets-anthro__sheets_format",
-
-"// --- Calendar ---",
-"mcp__claude_ai_calendar__calendar_calendars",
-"mcp__claude_ai_calendar__calendar_events",
-
-"// --- Google Tasks ---",
-"mcp__claude_ai_google-tasks-jez__tasks_lists",
-"mcp__claude_ai_google-tasks-jez__tasks_tasks",
-"mcp__claude_ai_google-tasks-anthro__tasks_lists",
-"mcp__claude_ai_google-tasks-anthro__tasks_tasks",
-
-"// --- Google Search Console ---",
-"mcp__claude_ai_google-search-console__search_console_analytics",
-"mcp__claude_ai_google-search-console__search_console_sitemaps",
-"mcp__claude_ai_google-search-console__search_console_sites",
-
-"// --- Brain (CRM) ---",
-"mcp__claude_ai_brain__brain_clients",
-"mcp__claude_ai_brain__brain_sites",
-"mcp__claude_ai_brain__brain_contacts",
-"mcp__claude_ai_brain__brain_issues",
-"mcp__claude_ai_brain__brain_knowledge",
-"mcp__claude_ai_brain__brain_comms",
-"mcp__claude_ai_brain__brain_documents",
-"mcp__claude_ai_brain__brain_billing",
-"mcp__claude_ai_brain__brain_admin",
-"mcp__claude_ai_brain__brain_recall",
-"mcp__claude_ai_brain__brain_client_get",
-"mcp__claude_ai_brain__brain_site_get",
-"mcp__claude_ai_brain__brain_projects",
-"mcp__claude_ai_brain__brain_tasks",
-
-"// --- Vault ---",
-"mcp__claude_ai_Vault__secret_get",
-"mcp__claude_ai_Vault__secret_set",
-"mcp__claude_ai_Vault__secret_list",
-"mcp__claude_ai_Vault__secret_delete",
-"mcp__claude_ai_Vault__remember",
-"mcp__claude_ai_Vault__recall",
-"mcp__claude_ai_Vault__knowledge_list",
-"mcp__claude_ai_Vault__forget",
-"mcp__claude_ai_Vault__update_knowledge",
-
-"// --- Rocket.net ---",
-"mcp__claude_ai_rocket__rocketnet_sites",
-"mcp__claude_ai_rocket__rocketnet_performance",
-"mcp__claude_ai_rocket__rocketnet_backups",
-"mcp__claude_ai_rocket__rocketnet_domains",
-"mcp__claude_ai_rocket__rocketnet_wordpress",
-"mcp__claude_ai_rocket__rocketnet_credentials",
-"mcp__claude_ai_rocket__rocketnet_activity",
-"mcp__claude_ai_rocket__rocketnet_access",
-
-"// --- Synergy Wholesale ---",
-"mcp__claude_ai_synergy_wholesale__synergy_domains",
-"mcp__claude_ai_synergy_wholesale__synergy_dns",
-"mcp__claude_ai_synergy_wholesale__synergy_hosting",
-"mcp__claude_ai_synergy_wholesale__synergy_email",
-"mcp__claude_ai_synergy_wholesale__synergy_contacts",
-"mcp__claude_ai_synergy_wholesale__synergy_transfers",
-"mcp__claude_ai_synergy_wholesale__synergy_account",
-"mcp__claude_ai_synergy_wholesale__synergy_credentials",
-"mcp__claude_ai_synergy_wholesale__synergy_discovery",
+"// --- Docker ---",
+"Bash(docker *)",
+"Bash(docker-compose *)",
-"// --- Network ---",
-"mcp__claude_ai_network__network_check",
-"mcp__claude_ai_network__network_lookup",
+"// --- Kubernetes ---",
+"Bash(kubectl *)",
+"Bash(helm *)",
-"// --- Australian Business ---",
-"mcp__claude_ai_australian_business__australia_business",
-"mcp__claude_ai_australian_business__australia_datetime",
-"mcp__claude_ai_australian_business__australia_ip",
+"// --- IaC ---",
+"Bash(terraform *)",
+"Bash(pulumi *)"
+```
-"// --- Cloudflare Docs ---",
-"mcp__claude_ai_cloudflare-docs__search_cloudflare_documentation",
+---
-"// --- GitHub MCP ---",
-"mcp__claude_ai_github__github_repos",
-"mcp__claude_ai_github__github_issues",
-"mcp__claude_ai_github__github_pulls",
-"mcp__claude_ai_github__get_user_info",
+## Database
-"// --- Scraper ---",
-"mcp__claude_ai_scraper__web_scraper",
-"mcp__claude_ai_scraper__web_crawler",
+For projects that interact with databases directly. Add to any stack.
-"// --- YouTube ---",
-"mcp__claude_ai_youtube__youtube_video",
-"mcp__claude_ai_youtube__youtube_search",
-"mcp__claude_ai_youtube__youtube_channel",
-"mcp__claude_ai_youtube__youtube_playlist",
+```json
+"// --- SQL ---",
+"Bash(psql *)",
+"Bash(mysql *)",
+"Bash(sqlite3 *)",
+
+"// --- NoSQL ---",
+"Bash(redis-cli *)",
+"Bash(mongosh *)"
+```
-"// --- Weather ---",
-"mcp__claude_ai_weather__weather",
+---
-"// --- Web ---",
-"WebFetch(domain:github.com)",
-"WebFetch(domain:developers.cloudflare.com)",
-"WebFetch(domain:rocket.net)",
+## Cloud CLIs
-"// --- Bash ---",
-"Bash(curl *)",
-"Bash(playwright-cli *)",
-"Bash(pm2 *)",
-"Bash(claude *)",
-"Bash(dig *)",
-"Bash(node *)",
-"Bash(python3 *)"
+For cloud-deployed projects. Add to any stack.
+
+```json
+"// --- AWS ---",
+"Bash(aws *)",
+
+"// --- Google Cloud ---",
+"Bash(gcloud *)",
+"Bash(gsutil *)",
+
+"// --- Azure ---",
+"Bash(az *)"
+```
+
+---
+
+## AI / GPU
+
+For AI/ML workloads. Add to any stack.
+
+```json
+"// --- Local LLM ---",
+"Bash(ollama *)",
+
+"// --- GPU ---",
+"Bash(nvidia-smi *)",
+"Bash(nvidia-smi)"
+```
+
+Note: `Bash(nvidia-smi)` (no wildcard) matches the bare command with no arguments, which is the most common usage.
+
+---
+
+## MCP Servers
+
+MCP (Model Context Protocol) servers provide tool access to external services. Permission patterns use the format `mcp__servername__toolname`.
+
+### Blanket Allow (Recommended)
+
+If you trust all your connected MCP servers, use a single wildcard:
+
+```json
+"// --- All MCP Servers ---",
+"mcp__*"
+```
+
+This covers every MCP server and tool. Since you control which servers are connected (via `.mcp.json` or Claude Desktop config), this is safe for most setups.
+
+### Per-Server Wildcards
+
+For granular control, allow all tools on specific servers:
+
+```json
+"mcp__brain__*",
+"mcp__playwright__*",
+"mcp__vault__*"
+```
+
+### Individual Tools
+
+For maximum control, allow specific tools only:
+
+```json
+"mcp__brain__brain_sites",
+"mcp__brain__brain_recall"
```
---
## Combining Presets
-Presets stack. A Cloudflare Worker project gets: Universal + Cloudflare Worker. An ops project gets: Universal + Ops/Admin.
+Presets stack. Examples:
+
+| Project Type | Presets to Combine |
+|-------------|-------------------|
+| Next.js on Vercel | Universal + JavaScript/TypeScript + Vercel |
+| Cloudflare Worker | Universal + JavaScript/TypeScript + Cloudflare Worker |
+| Django app | Universal + Python + Database + Docker |
+| WordPress plugin | Universal + PHP |
+| Rust CLI | Universal + Rust |
+| ML project | Universal + Python + AI/GPU |
+| Full-stack ops | Universal + JavaScript/TypeScript + Python + Docker + Database + MCP (blanket) |
When merging, deduplicate and keep the grouped `//` comment structure. The final `settings.local.json` should look like:
@@ -304,11 +400,12 @@ When merging, deduplicate and keep the grouped `//` comment structure. The final
{
"permissions": {
"allow": [
- "// --- Git ---",
+ "// --- Version Control ---",
"Bash(git *)",
- "// --- GitHub CLI ---",
"Bash(gh *)",
- ...
+ "// --- Node.js ---",
+ "Bash(node *)",
+ "..."
],
"deny": []
}