Topic 4 of 16 in the learning path
Prompt & Context Engineering
Writing prompts, structured outputs, context windows and context management.
Reels and posts (19)
- Watch What Fills Your Coding Agent's Context and When to Clear · Melvin Vivas, X: A short follow-up to the Claude Code sidebar post.
- Emoji Acknowledgement Prompt for Agents (Built Into Grok Bot) · Melvin Vivas, X: A quoted post shares a prompt for Dot or any agent: when a request needs no clarification, the agent reacts with an emoji instead of replying in text.
- Devil's Advocate Grok Bot That Challenges Your Ideas · Melvin Vivas, X: The creator shares a Grok Bot template called Devil's Advocate.
- Keep One Topic per Chat (Why Dots Didn't Fit) · Melvin Vivas, X: The creator doesn't like Dots because it mixes different topics into one chat.
- Clearing context with fresh conversations in Coworker · Melvin Vivas, X: The creator explains a deliberate design choice in Coworker: you can start a fresh conversation to clear the agent's context.
- Karpathy's Tip: Ask LLMs to Explain in ASD-STE100 · Melvin Vivas, X: Shares Andrej Karpathy's tips for understanding LLM outputs.
- Instant Generative UI with json-render and Jev · Melvin Vivas, X: The creator shares an experiment that combines json-render with the Jev model to render generative UI in milliseconds, using your own components, actions and design system.
- Jev on OpenRouter: Typed Decisions Instead of Generated Text · Melvin Vivas, X: TypeSafe AI's Jev model is now in beta on OpenRouter, with no waitlist.
- How to Prompt GPT-6 Astra in Codex: Simpler Instructions, Leaner AGENTS.md · Melvin Vivas, X: A short checklist for adapting Codex setups to GPT-6 Astra.
- OpenAI Guide: Rethinking Skills and Prompts for GPT-6 Astra · Melvin Vivas, X: The creator shares an OpenAI developer blog post on getting more out of GPT-6 Astra.
- Codex Losing Task Context After Compaction · Melvin Vivas, X: Melvin Vivas reports that Codex forgot what he had asked it to do after context compaction.
- Codex + GPT-6 Astra: Persistent Notes to Keep Context Across Windows · Melvin Vivas, X: The creator shares a quoted announcement that Astra brings a new way for Codex to keep and retrieve context when the context window fills up.
- MiniMax H3 Official Video Prompt Writing Guide · Melvin Vivas, X: Melvin Vivas shares MiniMax's official prompt-writing guide for its MiniMax-H3 video model.
- Context Management in Coding Agents: /compact vs /clear vs /handoff · Melvin Vivas, X: A short take on managing context in agentic coding tools.
- Better Frontend UI from GLM 5.2 with a Design Skill in Claude Code · Melvin Vivas, X: Left alone, GLM 5.2 produces only basic frontend designs.
- Use local Qwen 3.6 to write JSON prompts for Ideogram 4 · Melvin Vivas, X: The creator says Qwen 3.6, running locally for free, can replace ChatGPT or Claude for turning ideas into structured JSON prompts for the Ideogram 4 image model.
- Anthropic's Prompting Best Practices Guide for Claude Opus 4.8 · Melvin Vivas, X: Points to Anthropic's official prompt-engineering best-practices documentation, updated for Claude Opus 4.8.
- Use HTML for LLM Outputs, Markdown for Context · Melvin Vivas, X: A short take on output formats: have the model produce HTML when you need richer output, but don't feed HTML into the context.
- Cursor 3.3: See Which Rules, Skills, MCPs and Subagents Use Your Context · Melvin Vivas, X · 0:25: Melvin Vivas shares a Cursor 3.3 feature that shows how much of an agent's context window each part of your setup uses.
Watch, free (2)
- ChatGPT Prompt Engineering for Developers · course · deeplearning.ai · free
A DeepLearning.AI short course on prompt engineering. Free with a DeepLearning.AI account during its platform beta; certificates are paid.
Mentioned in: How to Relearn LLMs & RAG in 2026: A 7-Step Roadmap with Free Resources (Bashiri Smith on Facebook · notes) - Prompt Engineering Full Course (Tech With Tim) · video · youtube.com · free
A Tech With Tim video on how to prompt LLMs well.
Mentioned in: How to Relearn LLMs & RAG in 2026: A 7-Step Roadmap with Free Resources (Bashiri Smith on Facebook · notes)
Read and use (14)
- AGENTS.md · docs · agents.md · free
Instruction file format that gives coding agents project context such as the tech stack, skills and MCP servers.
Mentioned in: Claude Code Now Reads AGENTS.md When CLAUDE.md Is Missing (Melvin Vivas on X · notes), Subagents with mixed models: a strong planner and a fast executor (Melvin Vivas on X · notes), Updating Skills and AGENTS.md for Astra with OpenAI's Guidance (Melvin Vivas on X · notes), How to Prompt GPT-6 Astra in Codex: Simpler Instructions, Leaner AGENTS.md (Melvin Vivas on X · notes) and 6 more - Hardware Guy bot template · pdf · check price
The creator's own bot persona template for hardware tutoring. Not linked or described in the post.
Mentioned in: Using a Custom Grok Bot Persona to Learn Arduino (Melvin Vivas on X · notes), Using a Grok Custom Bot Template as an Arduino Tutor (Melvin Vivas on X · notes) - OpenAI's Skills/AGENTS.md migration guidance for Astra · article · developers.openai.com · free
OpenAI's guidance on adapting skills, AGENTS.md and task prompts for GPT-6 Astra.
Mentioned in: Updating Skills and AGENTS.md for Astra with OpenAI's Guidance (Melvin Vivas on X · notes), OpenAI Guide: Rethinking Skills and Prompts for GPT-6 Astra (Melvin Vivas on X · notes) - Anthropic Courses · repo · github.com · free
Courses on API fundamentals, real-world prompting, tool use and evals. The guide also calls this the 'Anthropic evals course'.
In a shared PDF: The AI Pivot Field Guide - shared in this reel on Facebook, this reel on Facebook - Anthropic Prompt Engineering Interactive Tutorial · repo · github.com · free
Nine hands-on prompt engineering chapters with exercises.
In a shared PDF: The AI Pivot Field Guide - shared in this reel on Facebook, this reel on Facebook - ASD-STE100 (Simplified Technical English) · docs · asd-ste100.org · check price
A controlled language specification for writing clear technical text, which you can ask an LLM to follow.
Mentioned in: Karpathy's Tip: Ask LLMs to Explain in ASD-STE100 (Melvin Vivas on X · notes) - Devil's Advocate by Melvin · tool · x.ai · check price
The creator's public Grok Bot that challenges your ideas with Socratic pushback.
Mentioned in: Devil's Advocate Grok Bot That Challenges Your Ideas (Melvin Vivas on X · notes) - Effective context engineering for AI agents (Anthropic engineering) · article · anthropic.com · free
Anthropic's guidance on context engineering, which treats context as a finite resource with diminishing returns. The guide says it is worth reading in full.
In a shared PDF: Agentic design patterns: The AI engineer's field guide to designing, building, and deploying agents (2026 edition) - shared in this reel on Facebook - Full Claude prompt (Bashiri Smith) · pdf · free
A Claude prompt from the creator, sent by DM. The reel doesn't say what it's for.
DM only: comment BETTER on this reel on Facebook and you get it by DM.
Mentioned in: Comment-to-DM Offer: Claude Prompt, 27 AI Engineering Projects & BASWE.AI (Bashiri Smith on Facebook · notes) - MiniMax-H3 Video Prompt Writing Guide · docs · huggingface.co · free
MiniMax's official English guide to writing prompts for the MiniMax-H3 video model.
Mentioned in: MiniMax H3 Official Video Prompt Writing Guide (Melvin Vivas on X · notes) - NuExtract 3 - a Hugging Face Space by numind · tool · huggingface.co · free
Free web demo for trying NuExtract3 OCR and structured extraction.
Mentioned in: NuExtract3: Open 4B VLM for OCR and Structured JSON Extraction (Melvin Vivas on X · notes) - Prompt Engineering Guide · website · promptingguide.ai · free
A reference for prompting techniques.
In a shared PDF: The AI Pivot Field Guide - shared in this reel on Facebook, this reel on Facebook - Prompting best practices (Claude Platform Docs) · docs · platform.claude.com · free
Anthropic's official guide to prompt-engineering best practices for Claude models, including Opus 4.8.
Mentioned in: Anthropic's Prompting Best Practices Guide for Claude Opus 4.8 (Melvin Vivas on X · notes) - Pydantic · tool · docs.pydantic.dev · free
Typed-model library the guide names for validating structured LLM output, retrying once with the validation error if it fails.
In a shared PDF: BASWE - 100 AI Engineering Interview Questions & Answers - shared in this reel on Facebook
Build
- Build your own critic bot whose prompt tells it to question assumptions instead of agreeing. (from Devil's Advocate Grok Bot That Challenges Your Ideas)
- Build a generative UI demo where Jev picks components from your design system and json-render renders them (from Instant Generative UI with json-render and Jev)
- Build a reusable design-system skill for Claude Code and benchmark UI quality across models. (from Better Frontend UI from GLM 5.2 with a Design Skill in Claude Code)
- A local prompt-expansion tool that turns short ideas into JSON image prompts using Qwen 3.6. (from Use local Qwen 3.6 to write JSON prompts for Ideogram 4)