Design, debug, and iterate production prompts for AI agents using strong role/task framing, structured outputs, examples, evals, metaprompting, and escape hatches. Use when an agent prompt is unreliable, underspecified, overfit to demos, or needs a clearer system/developer/user architecture.
Use this skill for the durable workflow behind this topic, not to summarize the source video.
Put concrete tactics, anti-patterns, and code snippets in
references/patterns.md when the source material supports that level of detail.
system, developer, and user prompts.system prompt for stable company or workflow rules,
developer prompt for customer-, environment-, or run-specific context,
user prompt for end-user intent when one exists.Prompt stack split for system, developer, and user layers.Revised prompt structure or concrete edits.Examples and eval plan.Escape hatch / debug fields.Model-specific notes when relevant.Next iteration steps tied to observed failures or missing data.references/source-context.md for thesis, triggers, and non-goals.references/transcript.md for source evidence and timestamps.references/patterns.md for concrete anti-patterns, fixes, and implementation details.