Practice workspaceY
30 PROBLEMS · 30 WORKED EXAMPLES

A strong brief, start to finish.

Complete starting prompts for real development problems, with explanations of what makes each one effective.

Explore fully written examples alongside the existing variable-based templates. Every example defines scope, relevant context, verification and stop conditions. “One-shot” describes the brief’s completeness, not a guarantee that an agent needs no clarification or correction.

30 of 30 examples

Understand

Trace where a setting is saved

Explain how the notification preference travels from the settings UI to durable storage.

Read prompt and explanation
Understand

Map a new repository before editing

Produce a concise onboarding map for the current repository so I can safely make my first change.

Read prompt and explanation
Understand

Reconcile conflicting setup instructions

Determine the correct local startup and test procedure when README instructions disagree with the manifest or lockfile.

Read prompt and explanation
Understand

Find the owner of a slow request

Map the request path for the slow search endpoint and identify the next discriminating measurement.

Read prompt and explanation
Fix a bug

Stop duplicate form submissions

Prevent a double-click on Submit from creating two records while the first request is pending.

Read prompt and explanation
Fix a bug

Fix stale search results

Ensure the results shown belong to the latest query when responses arrive out of order.

Read prompt and explanation
Fix a bug

Keep a saved preference after reload

Fix the preference toggle that appears saved but resets after a page reload.

Read prompt and explanation
Fix a bug

Correct pagination without duplicates

Fix duplicate or missing records when loading the next page of a stable result set.

Read prompt and explanation
Fix a bug

Repair a keyboard focus regression

Restore keyboard focus to the dialog trigger after the dialog closes.

Read prompt and explanation
Fix a bug

Fix an off-by-one retry limit

Enforce the documented maximum of three total attempts, including the first attempt.

Read prompt and explanation
Add a feature

Add case-insensitive filtering

Add case-insensitive title filtering to the existing list. An empty query must preserve every item in its current order.

Read prompt and explanation
Add a feature

Add a clear empty state

Show a useful empty state when a search has no matches, with an action that clears the query.

Read prompt and explanation
Add a feature

Add CSV export for visible rows

Let users download the currently filtered rows as CSV in their displayed order.

Read prompt and explanation
Add a feature

Add undo for removing a list item

Add an undo affordance for removing an item from the editable list, within the current session.

Read prompt and explanation
Add a feature

Add a confirmation for a risky action

Require a clear confirmation before permanently deleting a project.

Read prompt and explanation
Add a feature

Add a copyable diagnostic summary

Add a Copy diagnostics action containing build identity, browser/version details and non-sensitive error identifiers.

Read prompt and explanation
Testing

Write a regression test before fixing

Create a focused failing test for the reported bug before changing the implementation.

Read prompt and explanation
Testing

Test a private endpoint’s boundary

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

Read prompt and explanation
Testing

Characterize a formatter before refactoring

Capture the formatter’s current intentional output before extracting duplicate logic.

Read prompt and explanation
Testing

Investigate a flaky asynchronous test

Find why the asynchronous test passes alone but intermittently fails in the suite.

Read prompt and explanation
Review

Review a pull request for real risks

Review the selected pull request for correctness, security boundaries and missing regression coverage.

Read prompt and explanation
Review

Triage an agent review report

Assess the supplied review findings before making any implementation changes.

Read prompt and explanation
Review

Audit a dependency addition

Determine whether the dependency added by this diff is necessary for the requested feature.

Read prompt and explanation
Review

Check a configuration change for scope

Review the configuration diff for accidental permission or data-exposure expansion.

Read prompt and explanation
Refactor

Extract one reusable function safely

Extract repeated input-normalization logic into a shared helper without changing behavior.

Read prompt and explanation
Refactor

Split a large component without redesign

Extract the clearly separable display section from the large component while preserving behavior and appearance.

Read prompt and explanation
Workflow

Prepare a review-ready change summary

Write a concise completion summary from the current diff and actual verification evidence.

Read prompt and explanation
Workflow

Draft an accurate AGENTS.md

Draft concise repository instructions using only verified project facts and existing conventions.

Read prompt and explanation
Workflow

Turn a vague feature into a bounded brief

Turn “add team accounts” into an implementation-ready task brief without starting implementation.

Read prompt and explanation