Skip to main content
SDK
Wallet
SDK
FIND YOUR WAY
Wallet

Connect your wallet to build, save and manage SDKs.

Library

Official · SDK

Prompt Architect

Turns a rough instruction into a clearer prompt, explains the important changes, and suggests a few variations.

Version 1

What it does

Turns a rough instruction into a clearer prompt, explains the important changes, and suggests a few variations.

Try this SDK

Enter the required inputs and run this SDK using the published version.

Examples fill the form. They are not a test result.

Remix this SDK

Open an editable version in the AI Builder and make it your own.

Developer details

Version 1

Inputs

Outputs

Operations

  1. 01

    rewrite

    Generate

Content hash

368196581edf6c8aeb1c847c1f9a9047ea720ac9263faccf55b297b98ae499dc

Blueprint
{
  "name": "Prompt Architect",
  "steps": [
    {
      "id": "rewrite",
      "op": "ai.generate",
      "args": {
        "audience": {
          "$ref": "inputs.audience"
        },
        "objective": {
          "$ref": "inputs.objective"
        },
        "output_format": {
          "$ref": "inputs.output_format"
        },
        "original_prompt": {
          "$ref": "inputs.original_prompt"
        }
      },
      "config": {
        "task": "Rewrite the original prompt so it states the objective, audience, and output format. Put the rewritten prompt in improved. Use notes for the important changes and for two or three variations. Do not claim the prompt was tested.",
        "responseSchema": "prompt_result_v1"
      }
    }
  ],
  "inputs": {
    "audience": {
      "type": "string",
      "required": true,
      "maxLength": 500
    },
    "objective": {
      "type": "string",
      "required": true,
      "maxLength": 1000
    },
    "output_format": {
      "type": "string",
      "required": true,
      "maxLength": 500
    },
    "original_prompt": {
      "type": "string",
      "required": true,
      "maxLength": 4000
    }
  },
  "limits": {
    "timeoutMs": 60000,
    "maxOutputBytes": 131072
  },
  "outputs": {
    "prompt": {
      "from": {
        "$ref": "steps.rewrite.result"
      },
      "type": "object"
    }
  },
  "description": "Turns a rough instruction into a clearer prompt, explains the important changes, and suggests a few variations.",
  "capabilities": [
    "ai.generate"
  ],
  "schemaVersion": "1.0"
}
Prompt Architect | SDK