Use when creating, rewriting, reviewing, or testing an agent skill (a SKILL.md package for Claude Code, Codex, or any agent) — covers picking the skill type, writing directive instructions, engineering the description as a routing contract, splitting deterministic work into scripts, and building an eval harness to verify it. Trigger when someone says "write a skill", "improve this skill", "why doesn't my skill trigger", "test/eval this skill", or is designing reusable operational workflows for an agent.
Installation
Mit Codex oder Claude installieren Kopieren Sie diesen Prompt, fügen Sie ihn in Codex, Claude oder einen anderen Assistant ein und lassen Sie die Skill-Seite prüfen und installieren.
Use when creating, rewriting, reviewing, or testing an agent skill (a SKILL.md package for Claude Code, Codex, or any agent) — covers picking the skill type, writing directive instructions, engineering the description as a routing contract, splitting deterministic work into scripts, and building an eval harness to verify it. Trigger when someone says "write a skill", "improve this skill", "why doesn't my skill trigger", "test/eval this skill", or is designing reusable operational workflows for an agent.
写成 when / if-then 条件,而非功能说明。要同时讲清三件事:何时适用、哪类变更触发、是否可选。
反例(太模糊):Run the mandatory verification stack in the monorepo.
正例:Run the mandatory verification stack when changes affect runtime code, tests, or build/test behavior in the monorepo.
描述里要嵌入触发时机与产出形态。例:Create a PR title and draft description after substantive code changes are finished. Trigger when wrapping up a moderate-or-larger change ... you need the PR-ready summary block. —— 它告诉模型:这是任务结束型、仅用于实质变更、产出是 PR 块。
匹配用户意图,不用 API 术语。 用用户真正会说的话描述场景。实测中,仅重写 description 就能修掉大部分「该触发却没触发」的失败。