Prompt Framework

PAIN prompt framework

Problem, Action, Information, Next Steps — A troubleshooting-focused framework for when something is broken and you need a fix.

P — Problem

What's actually going wrong, described as specifically as possible.

A — Action

What you want the AI to do about it — diagnose, fix, or explain.

I — Information

The relevant details: error messages, what you've already tried, environment specifics.

N — Next Steps

The form you want the resolution in — a fix, a checklist, a set of things to try.

Related frameworks

RESEE

RESEE

A framework built specifically for improving something you've already written.

CREO

CREO

A framework built for answers that need to be grounded in specific evidence.

RISE

RISE

A process-oriented framework for tasks that need to happen in a specific order.