CCA Associate Foundations course · Page 2 of 10 · ← Back to all courses · Weight: 14%. Mark this page complete at the bottom to advance your course progress.
1.1 — The Four-Part Prompt · Core
Every reliable prompt has four parts, always in this order: role → criteria → boundaries → output format.
- Role first — gives the model context before it reads the rules ("You are a technical editor reviewing API documentation").
- Testable criteria — a criterion is testable only if you could write a pass/fail check for it. "Cite the verbatim clause for each finding" is testable. "Be accurate" is not.
- Boundary statements — two parts, always together: the explicit prohibition, and the exact sentence to say when it's triggered. A boundary without a specified refusal response leaves Claude to improvise one differently every time.
- Output format last — the final shape constraint, once role and rules are already established.
Why order matters: when this order is scrambled — format before role, criteria before boundaries — the model has less context for each later instruction and fills gaps inconsistently.
⚠ Often-missed — Vague Hedges Don't Fix Noisy Categories · Gap
A prompt that over-flags issues gets "fixed" with "be more conservative" or "only flag high-confidence issues." This never works — a confidence hedge defines no categorical boundary, so the model still has no rule for what to skip. The real fix: explicit report/skip categories ("Report: logic bugs and security vulnerabilities. Skip: style preferences and formatting."). If a category is still noisy after that, temporarily disable it, rewrite its criteria with concrete examples, then re-enable it — don't stack more hedges on top.
1.2 — Task Decomposition · Core
Break a complex request into sub-tasks when: steps are sequential and an error early on propagates forward, different parts need different handling, or consistent depth is needed across many items (files, sections, records).