No. 049 Write a skill

Create a /{name} skill for this project that {steps}

Create a /{name} skill for this project th.

  • Claude Code
  • Codex
  • Cursor
  • Write a skill

Prompt

create a /{name} skill for this project that {steps}

When to use

“Create a /{name} skill for this project that {steps}” fits when one repeated workflow should become a file the agent can load, because it says “create a /{name} skill for this project that {steps}”, after you replace {name}, {steps} with names from the repo.

One filled message for “Create a /{name} skill for this project that {steps}” is: create a /cart-total skill for this project that install, test, and build

When not to use

Leave “Create a /{name} skill for this project that {steps}” unused when the process is a one-off, or it is still changing every time you do it, because “create a /{name} skill for this project that {steps}” points the other way

How to run it

Claude Code

Claude Code takes “Create a /{name} skill for this project that {steps}” as one paste at the repo root. Do not also save .claude/commands, or “create a /{name} skill for this project that {steps}” replays on the next task.

Codex

Codex takes “Create a /{name} skill for this project that {steps}” as a paste above the task. Leave AGENTS.md unchanged so the next thread does not inherit “create a /{name} skill for this project that {steps}”.

Cursor

Cursor should see “Create a /{name} skill for this project that {steps}” only as a chat paste of “create a /{name} skill for this project that {steps}” for this turn. A file at .cursor/rules would keep applying after the turn ends.

Comparison

对比待补

This before-and-after was not run on this machine.

Related

来源:Anthropic · https://code.claude.com/docs/en/prompt-library · 2026-12-01