Skip to content

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

Use .claude/ project directories instead of /tmp for generated artifacts

Jeremy Dawes5a0867366b41
diff --git a/plugins/dev-tools/skills/project-health/SKILL.md b/plugins/dev-tools/skills/project-health/SKILL.md
index 40dda089..a791a473 100644
--- a/plugins/dev-tools/skills/project-health/SKILL.md
+++ b/plugins/dev-tools/skills/project-health/SKILL.md
@@ -43,7 +43,8 @@ Report:
7. Missing presets: based on files present, suggest presets from [permission-presets.md]
Prefer Read/Glob/Grep tools over Bash. If you need to scan multiple files or
-run 3+ commands for one analysis, write a Python script to /tmp and run it once.
+run 3+ commands for one analysis, write a Python script to .claude/scripts/
+and run it once (mkdir -p .claude/scripts first).
Return a structured summary, not raw data.
```
@@ -72,8 +73,9 @@ Audit the project context landscape at [repo-path]:
5. Check auto-memory at ~/.claude/projects/*/memory/MEMORY.md
Prefer Read/Glob/Grep tools over Bash. If you need to scan many files or
-aggregate data across the repo, write a Python script to /tmp and run it once
-rather than running many individual bash commands.
+aggregate data across the repo, write a Python script to .claude/scripts/
+and run it once rather than running many individual bash commands
+(mkdir -p .claude/scripts first).
Return: project type, quality scores, missing docs, stale refs, overlaps,
size violations, and total markdown footprint.
@@ -164,7 +166,8 @@ Both return summaries. The main agent combines them into one report and proposes
4. **Generate `.gitignore`**:
- Read [references/templates.md](references/templates.md)
- - Always include `.claude/settings.local.json`
+ - Always include `.claude/settings.local.json`, `.claude/plans/`, `.claude/screenshots/`, `.claude/artifacts/`
+ - Do NOT gitignore `.claude/scripts/` — generated scripts are worth keeping
5. **Optionally** (ask first): `git init` + `gh repo create`
diff --git a/plugins/dev-tools/skills/project-health/references/templates.md b/plugins/dev-tools/skills/project-health/references/templates.md
index 3870f4d7..b72f8de6 100644
--- a/plugins/dev-tools/skills/project-health/references/templates.md
+++ b/plugins/dev-tools/skills/project-health/references/templates.md
@@ -321,6 +321,8 @@ dist/
.env.local
.claude/settings.local.json
.claude/plans/
+.claude/screenshots/
+.claude/artifacts/
```
### Python
@@ -336,6 +338,8 @@ dist/
.DS_Store
.claude/settings.local.json
.claude/plans/
+.claude/screenshots/
+.claude/artifacts/
```
### Ops / Admin
@@ -346,6 +350,8 @@ dist/
.env.local
.claude/settings.local.json
.claude/plans/
+.claude/screenshots/
+.claude/artifacts/
```
### PHP / WordPress
@@ -359,6 +365,8 @@ node_modules/
.env.local
.claude/settings.local.json
.claude/plans/
+.claude/screenshots/
+.claude/artifacts/
```
### Go
@@ -372,6 +380,8 @@ bin/
.env
.claude/settings.local.json
.claude/plans/
+.claude/screenshots/
+.claude/artifacts/
```
### Rust
@@ -383,4 +393,6 @@ Cargo.lock
.env
.claude/settings.local.json
.claude/plans/
+.claude/screenshots/
+.claude/artifacts/
```
diff --git a/plugins/dev-tools/skills/skill-creator/SKILL.md b/plugins/dev-tools/skills/skill-creator/SKILL.md
index 9f1ab05b..07423cbe 100644
--- a/plugins/dev-tools/skills/skill-creator/SKILL.md
+++ b/plugins/dev-tools/skills/skill-creator/SKILL.md
@@ -289,6 +289,8 @@ If a skill step involves collecting data from multiple sources, scanning files,
**Rule of thumb**: If a step needs 3+ bash commands for one logical operation, it should be a script. One Write + one Bash run = 2 approvals instead of many.
+**Where to save**: Write scripts to `.claude/scripts/` in the project — not `/tmp`. Project scripts are part of the project's evolution and available to future sessions. Only use `/tmp` for truly disposable one-shot operations.
+
#### Start with Reusable Skill Contents
To begin implementation, start with the reusable resources identified above: `scripts/`, `references/`, and `assets/` files. Note that this step may require user input. For example, when implementing a `brand-guidelines` skill, the user may need to provide brand assets or templates to store in `assets/`, or documentation to store in `references/`.