Write Good Requests for Studio

Clear requests get better code, in fewer steps, for fewer AI Tokens.

Updated Dec 1, 2026

Studio reads your project before it acts, so you do not need to explain your code. What it needs from you is what you want, where, and how you will know it works.

The shape of a good request

A good request answers three questions.

  1. What should change? A feature, a fix, a new page, a new command.
  2. Where? The file, the command or the page, when you know it.
  3. What does done look like? What you expect to see in Discord, in the browser or in the console.

Compare these two requests.

  • "My bot is broken."
  • "The /ping command in commands/ping.js no longer answers since I added the music commands. Find why and fix it, then check the bot logs in without errors."

The second one saves Studio a search, and gives it a clear test.

Example requests

For a Discord bot

Add a /roll command that rolls a die with 6 sides by default, or the number
of sides given as an option. Register it, restart the bot and check that it
logs in without errors.
The bot crashes on start. Read the console, find the cause and fix it.
Do not change the commands themselves.

For a website

Turn index.js into a small landing page for my Discord server, with a hero,
a "Join the Discord" button (leave the link as # for now) and three feature
cards. Keep it a plain Node server with no build step. Put it online and
check that the page answers.
Add a contact form that saves messages to a SQLite file. Show a thank-you
page after sending. Then test the form with one request.

To understand before changing

Explain how this project works and what each file does. Do not change anything.

Habits that work

  • Point at the file or the feature. Studio spends less time searching and more time building.
  • Let it read the error. If the app crashed, say so and let Studio open the console, or use Fix in Studio on the crash.
  • Say what must not change. "Keep the database format" or "do not touch the commands" avoids surprises.
  • Plan first when it is big. Switch to Plan mode, read the plan, adjust it, then click Build it.
  • Give it what it cannot invent. Tokens, API keys and invite links go in the Environment tab as secret variables. Tell Studio their names.
  • Attach a screenshot or a log when words are not enough. You can drop up to 4 files in a message.
  • Review the diff before the next request. It is faster than debugging a change you did not notice.
  • One conversation per subject. A fresh conversation is cheaper and sharper than a long one that drifted. Older conversations stay in the list if you need them later.

When Studio gets it wrong

  1. Click Restore this point on the request to put the files back.
  2. Say what was wrong, in one or two sentences, and ask again.
  3. If the same task keeps failing, try Deep thinking or a model from a higher group in the picker. See Studio models and costs.

If Studio pauses on a long task, it keeps everything it finished. Say continue to pick up from there.

What to avoid

  • Pasting a secret token into the message. Put it in an environment variable instead, it stays masked.
  • Asking for many unrelated changes in one request. Split them, and check each one.
  • Asking for something the platform rules forbid, such as Discord self-bots or raid tools. Code written by Studio follows the same rules as code you write yourself.

Back to Studio, the AI coding agent.