Skillpress.
AI WorkflowsFree

Claude Code Prompting Framework

Use when writing prompts for Claude Code or agentic tasks to raise first-pass output quality. Provides a 4-part prompt structure (role, context, negative, verification) plus a self-verification pattern.

Drop the file into ~/.claude/skills/learned-claude-code-prompting-framework/SKILL.md and your agent knows it in every session.

Claude Code Prompting Framework (Role + Context + Negative + Verify)

When crafting a prompt for Claude Code or any agent task, always include these four levers. From Nate Herk's 'Claude Code for Normal People' course.

1. Role

Tell the agent who it is and what it does.

2. Context & Background

Give both general background AND task-specific context. Generic prompts get generic output — the private, non-public context (your business, priorities, metrics, avatar, history) is what makes output unique.

3. Negative Prompt (what NOT to do)

Explicitly state guardrails. Like a curious student, the agent will try things unless told not to.

4. Verification — MAKE THE AI PROVE ITS WORK

The biggest quality lever. Ask yourself: "If a human handed me this, what would I do to approve it?" Then instruct Claude to do exactly that.

Choosing agent vs simple workflow (before you even prompt)

Cost awareness

Output tokens cost ~5x input tokens. Use cheaper models (Haiku) for fast/simple jobs, balanced (Sonnet) for most, expensive (Opus) only when deep reasoning is required.

Source: https://www.youtube.com/watch?v=jdbOVepEtUE