No. 017 Write the change
Create a {tool} using HTML, CSS, and vanilla JavaScript…
Use when the behavior is already chosen and a file should change
- Claude Code
- Codex
- Cursor
- Write the change
create a {tool} using HTML, CSS, and vanilla JavaScript, then open it in my browser
When to use
“Create a {tool} using HTML, CSS, and vanilla JavaScript…” fits when the behavior is already chosen and a file should change, because it says “create a {tool} using HTML, CSS, and vanilla JavaScript, then open it in my browser”, after you replace {tool} with names from the repo.
One filled message for “Create a {tool} using HTML, CSS, and vanilla JavaScript…” is: create a a one-page cart preview using HTML, CSS, and vanilla JavaScript, then open it in my browser
When not to use
Leave “Create a {tool} using HTML, CSS, and vanilla JavaScript…” unused when you only wanted the file explained, or two designs are still open, because “create a {tool} using HTML, CSS, and vanilla JavaScript, then open it in my browser” points the other way
How to run it
Claude Code
Claude Code takes “Create a {tool} using HTML, CSS, and vanilla JavaScript…” as one paste at the repo root. Do not also save .claude/commands, or “create a {tool} using HTML, CSS, and vanilla JavaScript, then open it in my browser” replays on the next task.
Codex
Codex takes “Create a {tool} using HTML, CSS, and vanilla JavaScript…” as a paste above the task. Leave AGENTS.md unchanged so the next thread does not inherit “create a {tool} using HTML, CSS, and vanilla JavaScript, then open it in my browser”.
Cursor
Cursor should see “Create a {tool} using HTML, CSS, and vanilla JavaScript…” only as a chat paste of “create a {tool} using HTML, CSS, and vanilla JavaScript, then open it in my browser” 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
- Stage: Write the change
- Same stage: Read the {examples} in {folder} to learn the structure and…
来源:Anthropic · https://code.claude.com/docs/en/prompt-library · 2026-12-01