Practice workspaceY
30 worked prompt examples
ADD A FEATURE · ONE-SHOT STARTING BRIEF

Add a confirmation for a risky action

Require a clear confirmation before permanently deleting a project.

“One-shot” means a complete starting request, not guaranteed success in one attempt. Confirm the scenario assumptions, adapt the brief to your repository, and inspect the resulting diff and verification evidence.

The scenario

The existing authorization and deletion endpoint must remain authoritative. Product rule: cancellation makes no deletion request.

Required context: a selected repository matching this scenario, relevant task evidence, and access to its instructions and checks. Use redacted or synthetic data where appropriate.

Adapt the complete prompt

Edits stay in this browser tab. Saving bookmarks the original example; export your edited version to keep it elsewhere.

Why this is a strong example

The confirmation is treated as user interaction, not a replacement for authorization.

Learn the judgment behind it

Open the related lesson