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.
Instalación
Instalar con Codex o Claude Copia este prompt, pégalo en Codex, Claude u otro asistente, y deja que revise la página de la skill y la instale por ti.
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 就能修掉大部分「该触发却没触发」的失败。