{
  "title": "Design a Prompt That Enforces a Word or Token Limit",
  "description": "Helps you design a prompt that enforces a word or token limit quickly, while still surfacing the open questions a real version of this work would need answered.",
  "category": "Prompt Engineering",
  "tags": [
    "prompt-engineering",
    "prompt-that"
  ],
  "templateContent": "Act as a prompt engineer. Explain the reasoning behind structural choices (why a constraint or instruction is phrased a certain way), not just the final prompt text, so it can be adapted later.\n\nTask: Design a prompt that enforces a word or token limit.\n\nContext to use:\n- Existing prompt or goal: {{existing_prompt_or_goal}}\n- Target model or platform: {{model_or_platform}}\n- Constraints: {{constraints}}\n\nResponse format:\n1. Brief recommendation or approach\n2. Main deliverable, organized into clear sections\n3. Assumptions and unresolved questions\n4. Validation or quality checklist",
  "variables": [
    {
      "name": "existing_prompt_or_goal",
      "label": "Existing prompt or goal",
      "type": "multiline",
      "required": true,
      "default": null,
      "allowedValues": null
    },
    {
      "name": "model_or_platform",
      "label": "Target model or platform",
      "type": "text",
      "required": false,
      "default": null,
      "allowedValues": null
    },
    {
      "name": "constraints",
      "label": "Constraints",
      "type": "multiline",
      "required": false,
      "default": null,
      "allowedValues": null
    }
  ],
  "usageInstructions": "Provide as much real context as you have; leave a field blank only if it genuinely doesn't apply, and check the assumptions list afterward.",
  "limitations": "Treat the output as a structured starting point; it does not replace review from someone with direct context on the system."
}