Skip to content

Instantly share code, notes, and snippets.

@conradcaffier03
Created June 20, 2026 18:32
Show Gist options
  • Select an option

  • Save conradcaffier03/2b8e5552a4fc234e593ea04478cc56a1 to your computer and use it in GitHub Desktop.

Select an option

Save conradcaffier03/2b8e5552a4fc234e593ea04478cc56a1 to your computer and use it in GitHub Desktop.
The Goal / Constraint / Success Prompt Frame — kill vague prompts

The Goal / Constraint / Success Prompt Frame

The fix for vague prompts like "make it better." Claude can't hit a target you didn't name — so name it.

Add one line of structure to any request:

GOAL       — what "done" looks like, measurably
CONSTRAINT — what Claude is NOT allowed to change
SUCCESS    — how you'll verify it actually worked

The template (copy this)

Goal: <what done looks like, measurable>
Constraint: <what you must NOT change / break>
Success: <how we verify it worked>

Task: <your actual request>

Examples

Code — performance

Goal: cut initial load under 1s. Constraint: don't add new dependencies. Success: Lighthouse Performance ≥ 90. Task: speed up the dashboard page.

Copy — landing headline

Goal: a headline a technical founder gets in 3 seconds. Constraint: no buzzwords ("revolutionary", "next-gen"), under 10 words. Success: states the outcome, not the feature. Task: rewrite the hero headline.

Design — component

Goal: a pricing card that reads as premium. Constraint: keep the existing color tokens and spacing scale. Success: clear visual hierarchy price → benefits → CTA. Task: redesign the $69 tier card.


Precise in, less back-and-forth out.

Want the full Claude operator setup — the CLAUDE.md + skills + memory system that makes Claude remember your whole project every session? → https://get.caffier-agency.com

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment