Practice workspaceY
30 worked prompt examples
TESTING · ONE-SHOT STARTING BRIEF

Test a private endpoint’s boundary

Add negative authorization coverage for reading another account’s private record.

“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

Owner access is already tested. Use synthetic accounts and records; the expected unauthorized response must follow the existing API contract.

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

It tests data leakage and ownership, not merely whether one status code appeared.

Learn the judgment behind it

Open the related lesson