No. 073 Write it down

Add JSDoc comments to the undocumented functions in auth.js

Add JSDoc comments to the undocumented fun.

  • Claude Code
  • Codex
  • Cursor
  • Write it down

Prompt

add JSDoc comments to the undocumented functions in auth.js

When to use

“Add JSDoc comments to the undocumented functions in auth.js” fits when someone who was not in the session has to understand the result, because it says “add JSDoc comments to the undocumented functions in auth.js”, and that published sentence is the whole assignment.

Send “Add JSDoc comments to the undocumented functions in auth.js” as the turn itself: add JSDoc comments to the undocumented functions in auth.js

When not to use

Leave “Add JSDoc comments to the undocumented functions in auth.js” unused when the file's behavior is wrong and a paragraph would hide that, because “add JSDoc comments to the undocumented functions in auth.js” points the other way

How to run it

Claude Code

Claude Code takes “Add JSDoc comments to the undocumented functions in auth.js” as one paste at the repo root. Do not also save .claude/commands, or “add JSDoc comments to the undocumented functions in auth.js” replays on the next task.

Codex

Codex takes “Add JSDoc comments to the undocumented functions in auth.js” as a paste above the task. Leave AGENTS.md unchanged so the next thread does not inherit “add JSDoc comments to the undocumented functions in auth.js”.

Cursor

Cursor should see “Add JSDoc comments to the undocumented functions in auth.js” only as a chat paste of “add JSDoc comments to the undocumented functions in auth.js” 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/common-workflows · 2026-12-01