Skip to main content

Claude Sonnet 5

Move from an open question to clear findings, choices and next actions.

Describe what you want to make, or drop a reference
Try a prompt:
Claude Sonnet 5 · 2026-10-21 · same reply · Q1/3

How should I prevent duplicate animation loops and input listeners when restarting a small HTML canvas brick-breaker game? Give a minimal lifecycle pattern, list the game state that must reset, and provide four checks that expose restart bugs. Do not produce a complete game or claim the pattern has been run.

Recommendation (untested): make one object the sole owner of both the loop and the listeners, and give every start a new generation id. start(): if already running, call stop() first. Create AbortController; attach all key/pointer listeners with {signal: controller.signal}. Record rafId = requestAnimationFrame(tick). stop(): cancelAnimationFrame(rafId), rafId = null, controller.abort(), controller = null, set running = false. tick(now): first line — if (id !== currentId) return; This kills any late frame from a previous run. visibilitychange → pause; resume must not create a second loop.

View source
Claude Sonnet 5 · 2026-10-21 · same reply · Q2/3

How should a small React team choose between BlockNote and Tiptap for a Notion-style first version with paragraphs, headings, lists and reliable save-and-reload? Give a conditional initial choice, separate editor functionality from storage and permissions we must implement, and identify what must be verified before adding collaboration or comments.

Separate from the editor: the editor gives you JSON in/out and editing behaviour. You still must implement: a save API with debounce and a visible save/error state, schema versioning plus a migration path for old documents, a concurrency field (version or updatedAt), validation when parsing stored JSON, and permissions enforced on the server — per-document ACLs, never the client's word. Comments are your own model too.

View source
Claude Sonnet 5 · 2026-10-21 · same reply · Q3/3

For an online-first issue tracker with occasional disconnects and concurrent edits, when should a small team use server-first optimistic updates rather than local-first sync? Explain retry idempotency, conflict handling, reload recovery and server-side authorization. Identify which scaling problems in Linear's August 2026 delta-sync article do not, by themselves, justify copying its architecture.

Conflicts: version/If-Match on write; on rejection, refetch and reapply or show the conflict — never blind-overwrite. Reload recovery: persist pending mutations locally and replay them on load; otherwise an optimistic edit vanishes silently. Authorization: check every mutation server-side against resolved state; a rejected optimistic update must roll back with a message.

View source

How it works

Try it now
  1. 01

    Say what you want

    A sentence or two is enough.

  2. 02

    Work with HowWorks Agent

    Describe the result you want. The Agent works with the tools you choose.

  3. 03

    Make it

    Start creating, then keep working with HowWorks.

Claude Sonnet 5 at a glance

Good at
Research a topic and turn your findings into a plan.
Max output
128,000 tokens
Attachments
Images 5 MB · PDF 20 MB

About

Research becomes useful when it changes what you do next. Give Claude Sonnet 5 the question, material you have and decision the work must support. Ask it to group findings, identify gaps and propose an ordered plan with a reason for each step. Review whether the plan follows from the evidence and whether the first action is small enough to begin. Use the next message to narrow, reorder or challenge it. Sonnet is the Agent conversation model; accessing current sources or creating an output through a tool depends on the capabilities used in the task.

Questions

What belongs in a research-to-plan request?

State the question, what is already known, constraints and decision deadline. Share the findings you want considered and say whether you need a recommendation, investigation plan or execution checklist.

Can I attach source documents?

The catalog includes image and PDF inputs for Claude Sonnet 5. Check the limits shown here before attaching files and identify the sections relevant to the question.

How can I tell whether a plan is actionable?

Each step should have a concrete result, an owner you can assign and a reason for its order. Ask the Agent to distinguish actions you can take now from ones blocked by a missing decision or resource.

Is a research answer automatically current?

No. Ask for sources and dates when freshness matters, and verify claims against them. The conversation model and a research tool play different roles; selecting a model does not prove a search happened.