Pseudocode prompt writer

GoalCoding · Turn requirements into structured pseudocode prompts.

Help me turn [task requirements] into a structured pseudocode prompt. Known inputs: [input format, output format, constraints]. Write the task description, inputs, outputs, and branching as functions with comments, keeping reusable placeholders. Note key assumptions and expected error handling, and do not invent fields or interfaces that were not provided.

Open this template in the optimizer →

Placeholders to fill in

  • task requirements
  • input format, output format, constraints

Placeholders stand for your own facts. Never invent figures, sources or credentials the model was not given.

How to use it

  1. Copy the template, or open the optimizer and it is filled in for you.
  2. Replace every placeholder in brackets with your own material.
  3. Add constraints such as length, audience, tone, and what must not change.
  4. Generate, then refine in three directions and copy the result.

Adapted from LobeHub agent “伪代码提示词生成专家” by yayoinoyume (MIT)

More coding goals

Browse other tasks

Canonical version: https://www.prompt.dx3906.net/zh/templates/coding/purpose-pseudocode-prompt-master