讓 Claude Code 訪談你一個反覆手動的流程,再產出一個結構完整的 Agent Skill(SKILL.md),含 name/description/觸發時機/逐步指令/驗收標準/supporting references,並驗證能被自動觸發與 /斜線指令呼叫。
不用離開網站,直接看這組 prompt 跑出來長怎樣(AI 即時生成,扣 1 點)。
不只複製貼上 — 下載後放到 ~/.claude/skills/skill-builder-skillmd/SKILL.md,之後每個 session 自動可用(觸發時自動載入)。
mkdir -p ~/.claude/skills/skill-builder-skillmd && mv ~/Downloads/SKILL.md ~/.claude/skills/skill-builder-skillmd/SKILL.mdNew-Item -ItemType Directory -Force "$env:USERPROFILE\.claude\skills\skill-builder-skillmd" | Out-Null; Move-Item "$env:USERPROFILE\Downloads\SKILL.md" "$env:USERPROFILE\.claude\skills\skill-builder-skillmd\SKILL.md"何時用:你發現自己一直把同一套步驟(部署前檢查、產 commit message、寫 PR 範本、跑某個 lint+修復流程…)貼進 Claude Code 對話。為何有效:它先逼 Claude 訪談出「觸發時機 + 步驟 + 驗收定義 + 邊界情況」,再產出符合 2026 官方 SKILL.md 格式的檔案——重點放在 description(決定 Claude 會不會在對的時機自動載入)與一個明確的 Verify 步驟(避免假性完成)。技巧:① 對有副作用的流程(deploy/commit/送訊息)一定選 disable-model-invocation 改成只能手動 /呼叫;② 長的參考資料拆成 supporting files 走 progressive disclosure,平時不吃 context;③ 需要當下狀態就用 !`command` 注入,例如把 git diff 直接帶進指令。
Phase 1 問題(節錄): 1) 觸發時機:你說的是「部署前」——候選觸發語:『要 deploy 了』『上線前檢查』『push 到 prod 之前』。這三個對嗎?還有別的? 2) 步驟順序:a) 跑測試 b) tsc --noEmit c) 檢查 git 是否乾淨 d) 列出將上線的 migration——順序對嗎?有沒有漏? ... Phase 2 產出(節錄): --- SKILL.md --- --- name: predeploy-check description: 上線前安全檢查並阻擋有風險的部署。Use when the user says they are about to deploy, ship, or push to production. disable-model-invocation: true allowed-tools: Bash Read Grep --- ## Current git state !`git status --porcelain` ## Steps 1. Run the test suite; if any test fails, STOP and report which. 2. Run `tsc --noEmit`; report any type errors and STOP. 3. If the working tree above is not clean, STOP and list uncommitted files. 4. List pending migrations not yet applied to prod. 5. Verify: only output "SAFE TO DEPLOY" if steps 1-4 all passed; otherwise output the first blocker. 儲存:mkdir -p ~/.claude/skills/predeploy-check && ... 測試:對 Claude 說「上線前幫我檢查」應自動觸發;或直接打 /predeploy-check
以上為此 Prompt 丟進 Claude Code 後可得到的描述性成果,實際畫面會因填入的變數而有差異。
[WORKFLOW_DESCRIPTION]你想封裝成技能的重複流程,講清楚步驟、會碰到的檔案/指令、以及你期望的產出(越具體越好)
[SKILL_SCOPE]技能放哪裡:personal(~/.claude/skills/,所有專案可用)或 project(.claude/skills/,隨 repo 進版控、團隊共用)
填下面的欄位,上方 prompt 會即時替換 [方括號] 內容。填好後按「複製組好的 prompt」直接丟進工具。
You are helping me build a reusable Claude Code Agent Skill (a `SKILL.md` file) that captures a workflow I currently repeat by hand. Follow the real Claude Code skill format and conventions. Do NOT invent fields that do not exist.
## What I want to turn into a skill
{{WORKFLOW_DESCRIPTION}}
## Where it should live
Scope: {{SKILL_SCOPE}} (personal = `~/.claude/skills/<name>/SKILL.md` available in all my projects; project = `.claude/skills/<name>/SKILL.md` checked into this repo for my team)
## Phase 1 — Interview me (ask, do not assume)
Ask me a tight batch of questions, then wait for my answers. Cover:
1. The trigger: what should make Claude auto-load this skill? Give me 3-5 candidate trigger phrases / situations to react to or edit.
2. The exact step-by-step procedure, in order, including any commands to run and files to read or write.
3. The definition of done: how do we know the skill succeeded? What output or side effect must exist?
4. Failure / edge cases the skill must handle gracefully (e.g. empty input, missing file, dirty git tree).
5. Any reference material too long to inline (style guides, API specs, examples) that should become a separate supporting file instead of bloating the main body.
6. Should the model be allowed to invoke this automatically, or only me via `/<name>`? (For anything with side effects like deploy/commit/send, recommend manual-only.)
## Phase 2 — Produce the skill
After I answer, output the complete files as code blocks, ready to save:
### A) `SKILL.md`
- YAML frontmatter between `---` markers. Use only real fields: `name` (lowercase-hyphenated; this is the display name — the command comes from the directory name), `description` (what it does AND when to use it — put the key use case first; this is what Claude reads to decide when to auto-load), and where appropriate `when_to_use` (extra trigger phrases), `allowed-tools` (tools usable without a permission prompt while active), `disable-model-invocation: true` (if it should be manual-only via `/<name>`), `argument-hint` (if it takes arguments). Keep `description` + `when_to_use` well under ~1500 characters total.
- A concise markdown body that STATES what to do (imperative), not narrates why. Number the steps. Bake in the definition-of-done as an explicit final "Verify" step. Handle the edge cases I listed. Keep the body under ~500 lines; push long reference material into supporting files.
- Reference any supporting files by relative path so Claude knows what each contains and when to load it (progressive disclosure — they cost nothing until needed).
- If the procedure benefits from live context, show how to inline a shell command result using the !`<command>` dynamic-injection syntax (e.g. inlining `git diff HEAD`).
### B) Supporting files (only if needed)
For each long reference, output its filename and content (e.g. `reference.md`, `examples.md`, or a `scripts/<name>.sh` helper). Keep the main `SKILL.md` pointing at them.
### C) Save + test instructions
Give me the exact shell commands to create the directory and save the files for my chosen scope, then two ways to test it:
1. An example natural-language request that should make Claude AUTO-trigger it (matching the description).
2. The direct `/<name>` invocation.
Note that personal/project `.claude/skills/` edits are picked up live in-session, but a brand-new top-level skills directory needs a Claude Code restart.
## Rules
- Original wording only. Do not copy any existing skill text verbatim.
- Only use fields and syntax that actually exist in Claude Code. If you are unsure a field exists, leave it out and say so.
- Optimize the `description` for triggering: it is the single most important line for whether Claude loads the skill at the right moment.
- End with a 4-item checklist confirming: valid frontmatter, trigger-optimized description, explicit verify step, save+test commands provided.這組 prompt 專為 Claude Code 設計。把 prompt 內 2 個方括號 [變數] 換成你自己的內容,貼進 Claude Code 執行即可。難度中等,照變數說明填好後即可上手。
完整 prompt 免費開放閱讀,不用註冊;登入後可一鍵複製、收藏與留言。
prompt 文字本身你可自由使用與修改。但 AI 生成物(圖/音樂/影片/文字)的商用授權,取決於你在 Claude Code 使用的方案與其官方服務條款,請以該工具的授權規範為準。
Studio engineer 視角拆解 Suno 致命弱點(油炸 vocals、高頻 artifact)+ 4 步驟 DAW workflow + Suno Studio 修音 prompt
提案產生器 / 會議處理器 / 內容再利用 / 週五回顧 / 收工 reset — 試了 40 個只有這 5 個沒被丟掉、各省 30+ 分鐘 / 次。
適合:部落格、Medium、Notion 公開頁、Substack — 任何支援 iframe / HTML 嵌入的地方。對方點「看完整」會回到本站、是 prompt 庫的免費 backlink。
<iframe src="https://prompt.luvai.net/embed/claude-code-skill-builder-skillmd" width="100%" height="380" frameborder="0" style="border:1px solid #e0dcd0;border-radius:4px;" loading="lazy" title="PromptCraft Embed"></iframe>
You are helping me build a reusable Claude Code Agent Skill (a `SKILL.md` file) that captures a workflow I currently repeat by hand. Follow the real Claude Code skill format and conventions. Do NOT invent fields that do not exist.
## What I want to turn into a skill
{{WORKFLOW_DESCRIPTION}}
## Where it should live
Scope: {{SKILL_SCOPE}} (personal = `~/.claude/skills/<name>/SKILL.md` available in all my projects; project = `.claude/skills/<name>/SKILL.md` checked into this repo for my team)
## Phase 1 — Interview me (ask, do not assume)
Ask me a tight batch of questions, then wait for my answers. Cover:
1. The trigger: what should make Claude auto-load this skill? Give me 3-5 candidate trigger phrases / situations to react to or edit.
2. The exact step-by-step procedure, in order, including any commands to run and files to read or write.
3. The definition of done: how do we know the skill succeeded? What output or side effect must exist?
4. Failure / edge cases the skill must handle gracefully (e.g. empty input, missing file, dirty git tree).
5. Any reference material too long to inline (style guides, API specs, examples) that should become a separate supporting file instead of bloating the main body.
6. Should the model be allowed to invoke this automatically, or only me via `/<name>`? (For anything with side effects like deploy/commit/send, recommend manual-only.)
## Phase 2 — Produce the skill
After I answer, output the complete files as code blocks, ready to save:
### A) `SKILL.md`
- YAML frontmatter between `---` markers. Use only real fields: `name` (lowercase-hyphenated; this is the display name — the command comes from the directory name), `description` (what it does AND when to use it — put the key use case first; this is what Claude reads to decide when to auto-load), and where appropriate `when_to_use` (extra trigger phrases), `allowed-tools` (tools usable without a permission prompt while active), `disable-model-invocation: true` (if it should be manual-only via `/<name>`), `argument-hint` (if it takes arguments). Keep `description` + `when_to_use` well under ~1500 characters total.
- A concise markdown body that STATES what to do (imperative), not narrates why. Number the steps. Bake in the definition-of-done as an explicit final "Verify" step. Handle the edge cases I listed. Keep the body under ~500 lines; push long reference material into supporting files.
- Reference any supporting files by relative path so Claude knows what each contains and when to load it (progressive disclosure — they cost nothing until needed).
- If the procedure benefits from live context, show how to inline a shell command result using the !`<command>` dynamic-injection syntax (e.g. inlining `git diff HEAD`).
### B) Supporting files (only if needed)
For each long reference, output its filename and content (e.g. `reference.md`, `examples.md`, or a `scripts/<name>.sh` helper). Keep the main `SKILL.md` pointing at them.
### C) Save + test instructions
Give me the exact shell commands to create the directory and save the files for my chosen scope, then two ways to test it:
1. An example natural-language request that should make Claude AUTO-trigger it (matching the description).
2. The direct `/<name>` invocation.
Note that personal/project `.claude/skills/` edits are picked up live in-session, but a brand-new top-level skills directory needs a Claude Code restart.
## Rules
- Original wording only. Do not copy any existing skill text verbatim.
- Only use fields and syntax that actually exist in Claude Code. If you are unsure a field exists, leave it out and say so.
- Optimize the `description` for triggering: it is the single most important line for whether Claude loads the skill at the right moment.
- End with a 4-item checklist confirming: valid frontmatter, trigger-optimized description, explicit verify step, save+test commands provided.把方括號 [ ] 內的變數換成你的內容,丟進 Claude Code。
六個月在 Claude / GPT-4 / Gemini 上用人工 rater A/B 測 200+ prompt 後寫的。包含 persona+constraint stacking / anti-example / role reversal QA / cognitive scaffold / emotional priming / uncertainty CoT / steelman first。
一年的 role-play system prompt + 14-step framework 後總結:真正改變品質的是 5 個單行 prompt。沒有 role、沒有 markdown、沒有「you are an expert」。