<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>M02: Prompt Engineering for Developers on Generative AI Boot Camp for Developers</title><link>https://genai-for-devs.agilebrainslabs.com/modules/m02-promptengineering/</link><description>Recent content in M02: Prompt Engineering for Developers on Generative AI Boot Camp for Developers</description><generator>Hugo</generator><language>en-us</language><atom:link href="https://genai-for-devs.agilebrainslabs.com/modules/m02-promptengineering/index.xml" rel="self" type="application/rss+xml"/><item><title>Lab</title><link>https://genai-for-devs.agilebrainslabs.com/modules/m02-promptengineering/lab/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://genai-for-devs.agilebrainslabs.com/modules/m02-promptengineering/lab/</guid><description>&lt;p&gt;&lt;strong&gt;Time budget:&lt;/strong&gt; ~20 minutes&lt;br&gt;
&lt;strong&gt;Section:&lt;/strong&gt; Day 1 AM (shared with M01 lab)&lt;/p&gt;
&lt;hr&gt;
&lt;h2 id="learning-objectives"&gt;Learning Objectives&lt;/h2&gt;
&lt;p&gt;After completing this lab, you will:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Apply the four pillars (Context, Instruction, Constraints, Format) to craft effective prompts&lt;/li&gt;
&lt;li&gt;Iterate and refine prompts to measurably improve output quality&lt;/li&gt;
&lt;li&gt;Generate real development artifacts using prompt engineering across multiple tools&lt;/li&gt;
&lt;/ol&gt;
&lt;hr&gt;
&lt;h2 id="tool-reminders"&gt;Tool Reminders&lt;/h2&gt;
&lt;p&gt;&lt;em&gt;You used these tools in M01. Quick refresher:&lt;/em&gt;&lt;/p&gt;
&lt;table&gt;
	&lt;thead&gt;
			&lt;tr&gt;
					&lt;th&gt;Tool&lt;/th&gt;
					&lt;th&gt;Best For&lt;/th&gt;
					&lt;th&gt;Command / Access&lt;/th&gt;
			&lt;/tr&gt;
	&lt;/thead&gt;
	&lt;tbody&gt;
			&lt;tr&gt;
					&lt;td&gt;&lt;strong&gt;OpenCode CLI&lt;/strong&gt;&lt;/td&gt;
					&lt;td&gt;Provider-flexible, scriptable, one-shot tasks&lt;/td&gt;
					&lt;td&gt;&lt;code&gt;opencode run &amp;quot;prompt&amp;quot;&lt;/code&gt;&lt;/td&gt;
			&lt;/tr&gt;
			&lt;tr&gt;
					&lt;td&gt;&lt;strong&gt;VS Code Chat&lt;/strong&gt;&lt;/td&gt;
					&lt;td&gt;IDE-integrated, sees your open files&lt;/td&gt;
					&lt;td&gt;Ctrl+Shift+I in VS Code&lt;/td&gt;
			&lt;/tr&gt;
			&lt;tr&gt;
					&lt;td&gt;&lt;strong&gt;Claude Code&lt;/strong&gt; &lt;em&gt;(optional)&lt;/em&gt;&lt;/td&gt;
					&lt;td&gt;Deep codebase analysis, complex refactoring&lt;/td&gt;
					&lt;td&gt;&lt;code&gt;claude -p &amp;quot;prompt&amp;quot; # Requires ANTHROPIC_API_KEY set&lt;/code&gt;&lt;/td&gt;
			&lt;/tr&gt;
			&lt;tr&gt;
					&lt;td&gt;&lt;strong&gt;Codex CLI&lt;/strong&gt; &lt;em&gt;(optional)&lt;/em&gt;&lt;/td&gt;
					&lt;td&gt;Fast prototyping, web dev&lt;/td&gt;
					&lt;td&gt;&lt;code&gt;codex exec &amp;quot;prompt&amp;quot;&lt;/code&gt;&lt;/td&gt;
			&lt;/tr&gt;
	&lt;/tbody&gt;
&lt;/table&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Today&amp;rsquo;s focus:&lt;/strong&gt; Prompt engineering patterns work the same regardless of which tool
you use. Try at least two tools across the exercises to see how each handles the same
prompt differently.&lt;/p&gt;</description></item></channel></rss>