一键导入
writing-skills
Use when creating, editing, reviewing, or testing agent skills, skill repositories, SKILL.md files, bootstrap skills, or skill discovery rules
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Use when creating, editing, reviewing, or testing agent skills, skill repositories, SKILL.md files, bootstrap skills, or skill discovery rules
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Use when testing, validating, pressure-testing, or iterating an agent skill by having subagents use it
Use when adding backend feature modules, creating tRPC routers, writing Drizzle adapters, defining domain ports or services, or diagnosing backend layer-boundary issues
Use when cleaning, deleting, pruning, or removing files from the repository root `.handoff/` directory
Use when adding a new React TypeScript frontend app to an existing pnpm monorepo or wiring a new app to package/ui
Use when creating a new TypeScript monorepo, initializing a fresh workspace, or bootstrapping apps and packages from an empty directory
Use when code reads process.env directly, .env loading is requested, dotenv.config() appears, APP_* prefixes differ across dev/server, env examples drift, or startup config validation is missing
| name | writing-skills |
| description | Use when creating, editing, reviewing, or testing agent skills, skill repositories, SKILL.md files, bootstrap skills, or skill discovery rules |
If you are creating or changing a skill, you must use this skill before writing or editing SKILL.md.
Skills are process documents that change future agent behavior. Treat them like tested code: define the failure, write the smallest instruction that prevents it, then verify behavior changed.
Before acting on any request about skills:
Do not rely on memory. Skill instructions evolve.
A skill is a reusable guide for a technique, workflow, tool, or decision pattern.
Create a skill when:
Do not create a skill for:
SKILL.md that blocks that failure.using-* bootstrap skill with a skill catalog or discovery summary, update it in the same change.For pressure scenario templates, see pressure-scenarios.md.
Do not start by writing SKILL.md. First clarify the skill as a design problem:
SKILL.md; add references only for long examples, pressure scenarios, or platform mappings.If requirements are unclear, ask focused questions before drafting. If several designs are possible, compare them briefly and choose the smallest one that changes behavior.
Keep the brainstorm auditable. Before drafting or in your final report, state:
Every SKILL.md needs:
---
name: lower-case-hyphen-name
description: Use when [specific trigger, symptom, or situation]
---
Description rules:
Use when.Bad:
description: Use when writing skills - creates pressure scenarios, writes instructions, and verifies behavior
Good:
description: Use when creating, editing, reviewing, or testing agent skills or SKILL.md files
A using-* skill teaches agents how to load and obey other skills. It should be small, strict, and loaded at session start or repository entry.
Include:
Avoid:
Use this default structure unless the task needs something simpler:
# Skill Name
## When to Use
[Concrete triggers and non-triggers]
## Core Rule
[The behavior that must not be skipped]
## Workflow
[Ordered steps]
## Common Mistakes
[Rationalizations and corrections]
## Verification
[How to know the skill worked]
## References
[Adjacent files only]
Write actions by intent:
Do not name a specific runtime tool in the main skill unless the skill is only for that runtime. Put mappings in a reference file instead.
For examples, see platform-neutral-actions.md.
SKILL.md as documentation only, instead of behavior control.For any non-trivial skill creation or modification, dispatch two independent review agents before finalizing:
Use Composer 2.5 by default for independent review agents. In Cursor environments that require an exact model slug, use composer-2.5-fast when available; if it is unavailable, do not silently substitute another explicit model, and report the model limitation.
Give reviewers the skill files, target behavior, and pressure scenario. Ask for findings first, ordered by severity. Fix issues that would prevent discovery, correct use, or behavior verification.
Skip independent review only for tiny wording edits that do not alter triggers, workflow, references, verification, pressure scenarios, or behavior. If review is skipped, state why the edit is trivial.
pressure-scenarios.md.platform-neutral-actions.md.Before finishing: