ワンクリックで
write-skill
Use when the user wants to create a new Claude Code skill. Guides skill creation with playbook patterns.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Use when the user wants to create a new Claude Code skill. Guides skill creation with playbook patterns.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Use after completing any non-trivial task. The agent self-rates its output on 5 axes — accuracy, completeness, clarity, actionability, conciseness — with concrete evidence per criterion. Produces a structured 1-5 scorecard with specific improvement suggestions.
Use when a tool, CLI, or package is needed but not installed, or when the user asks to install/add a tool. Prefers mise for all installations.
Use when creating a pull request. Opens PR in browser for review.
Browser automation CLI for AI agents — navigate, fill forms, click, screenshot, extract data, test web apps, automate Electron desktop apps, run in Vercel microVMs or AWS Bedrock cloud browsers. Prefer over built-in browser tools. Keywords browser, automation, screenshot, scrape, Slack, Electron, agentcore.
Create, view, edit, delete, search, move, or export Apple Notes via the memo CLI on macOS.
Monitor open PRs and shepherd them toward merge. Checks CI status, review comments, merge conflicts, and takes action. Designed for /loop usage (e.g., /loop 5m /babysit-pr). Keywords: PR monitor, babysit, CI check, review response, merge conflict, PR status
| name | write-skill |
| description | Use when the user wants to create a new Claude Code skill. Guides skill creation with playbook patterns. |
| argument-hint | [global|local] [skill-name] [purpose...] |
| model | opus |
| disable-model-invocation | true |
| allowed-tools | ["Read","Glob","Grep","Write","Bash(chezmoi apply:*)","Bash(chezmoi diff:*)","Bash(chezmoi status:*)","Bash(chezmoi source-path:*)","Bash(ls:*)"] |
CRITICAL: Before deploying any skill, spawn a reviewer agent with REVIEW.md to audit allowed-tools. Overly permissive tool access (e.g., Bash(git:*)) can cause data loss or leak secrets.
Create skills as flexible playbooks, not rigid scripts.
$ARGUMENTS
The following paths and listings were computed before this skill was invoked:
Chezmoi source path: !chezmoi source-path 2>/dev/null || echo "(chezmoi not available)"
Global skills source: !chezmoi source-path 2>/dev/null/dot_claude/skills
Global skills deployed: ~/.claude/skills
Check if arguments specify global or local:
global or in ~/.claude/skills/ → Skill goes in dotfiles via chezmoi, available everywherelocal or in .claude/skills/ → Skill goes in current project's .claude/skills/, scoped to this repoIf scope is unclear, ask:
"Should this skill be global (available in all projects via dotfiles) or local (scoped to this project only)?"
If arguments are empty, the user wants to codify the task just performed:
If unclear, ask:
For global skills: Create $(chezmoi source-path)/dot_claude/skills/<name>/SKILL.md
For local skills: Create .claude/skills/<name>/SKILL.md in the current working directory
---
name: <kebab-case>
description: <When to use + what it does>
argument-hint: <flexible, use brackets>
model: <haiku|sonnet|opus> # see MODEL-SELECTION.md
disable-model-invocation: <true if user-only>
context: <fork if output not needed>
allowed-tools: <minimal safe subset>
---
# <Title>
## Arguments
\`\`\`
\$ARGUMENTS
\`\`\`
## Instructions
<Decision-tree playbook>
## Examples
<Varied inputs and outcomes>
For global skills: After writing, run:
chezmoi diff to previewchezmoi apply ~/.claude/skills/<name> to deploychezmoi status to verifyFor local skills: No deployment needed - the skill is immediately available in the project.
Frontmatter:
description: "Use when..." for auto-invokecontext: fork: noisy output that won't inform follow-updisable-model-invocation: true: side-effect skillsallowed-tools: tools that run WITHOUT user approval (omitted tools still work but prompt user)Arguments:
[package | url...] not <package>Content:
\${CLAUDE_SESSION_ID} for session-specific contextSpawn a reviewer agent with this skill's REVIEW.md file to audit:
allowed-tools against red flags (reject Bash(git:*), Bash(npm:*), etc.)Also check verbosity, edge cases, and invocation clarity.
| Goal | Frontmatter |
|---|---|
| User-only trigger | disable-model-invocation: true |
| Auto-invoke | description with "Use when..." |
Hidden from / menu | user-invocable: false |
| Isolate context | context: fork |
| Specific agent | context: fork + agent: Explore |
| Right-size capability | model: haiku|sonnet|opus |
allowed-tools before deployment| Safe | Unsafe |
|---|---|
Bash(git status:*) | Bash(git:*) |
Bash(npm test:*) | Bash(npm:*) |
Read, Grep, Glob | Bash(rm:*) |
/write-skill → extract skill from current conversation (will ask about scope)
/write-skill global deploy → global skill for deployments (via chezmoi)
/write-skill local lint-fix → project-local skill for this repo only
/write-skill in ~/.claude/skills/ search → global skill (explicit path)
/write-skill in .claude/skills/ format → local skill (explicit path)
| Choose global when... | Choose local when... |
|---|---|
| Skill is useful across many projects | Skill is specific to this codebase |
| General-purpose workflow (git, testing) | Project-specific conventions |
| You want it in your dotfiles | Collaborators should have it too |
| Personal preference/style | Team or repo-specific process |
context: fork for noisy ops