Skip to main content
File instructions let you set standing rules for a file — product rules, tone of voice, layout conventions — that Flowstep sends with every AI generation and edit in that file. Instead of repeating the same guidance in every prompt, write it down once and the AI follows it from then on. Colors, rounding, and fonts come from the file’s theme, so file instructions are for everything else.

Edit your file instructions

1

Open the File instructions modal

In the chat panel header, click Edit file instructions. The File instructions modal opens with a markdown editor.
2

Write or import your instructions

Type your instructions as plain markdown, or drop an .md file into the editor to import it. There’s no required format — write whatever guidance helps, for example:
  • Prices are always in euros.
  • Navigation sits in a left sidebar, never a top bar.
  • Copy is plain and direct.
3

Save

Save your changes. From then on, every generation and edit in this file is sent your instructions as context.
Instructions apply to future output only — existing designs stay as they are. They’re scoped to the current file and don’t carry over to other files. If a prompt directly conflicts with your instructions, the prompt wins for that request.

Good to know

  • Length limit — file instructions can be up to 50,000 characters. Imported files longer than that are truncated.
  • Plain markdown — there’s no format to validate; write in whatever structure suits you.
  • Only you write them — Flowstep never edits your file instructions on its own.
  • Colors, rounding, and fonts — these come from the file’s theme. Instructions that mention them are applied through your theme’s tokens rather than as fixed values.
  • Removing instructions — clear the editor and save to remove the instructions for that file.

File instructions over MCP

If you work through the MCP server, the get-file-instructions, update-file-instructions, and delete-file-instructions tools read and write the same instructions — so your IDE workflow and the web app stay in sync. See the Tools reference.