Skip to content

Add prompt engineering blog post#487

Merged
eschmier merged 6 commits into
mainfrom
sc-32808
Jul 17, 2025
Merged

Add prompt engineering blog post#487
eschmier merged 6 commits into
mainfrom
sc-32808

Conversation

@daniellemaxwell
Copy link
Copy Markdown
Contributor

@daniellemaxwell daniellemaxwell commented Jul 17, 2025

This PR adds a blog post to the series on AI agents about prompt engineering. Comments have been added to point out changes made to the original post.

https://www.awesomescreenshot.com/video/42154224?key=50c595a8087ea52594680d3fadaf759d

tags: ['AI Agents', 'Prompt Engineering']
description: "We continue our exploration of AI agents with an overview of prompt engineering."
---
AI agents have the ability to complete tasks autonomously, but without clear, well-structured prompts, they stumble. Prompt engineering helps bridge the gap between potential and performance.
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added intro.


The rule of thumb? If it’s something you want the agent to always remember (e.g., “you’re a finance expert”), it typically belongs in the system prompt. If it’s request-specific (e.g., “analyze this quarter’s sales data”), that goes into the user prompt.

The system prompt tends to not be visible to the end user as hiding it can prevent confusion or tampering, though [showing the prompt](https://techcrunch.com/2024/08/26/anthropic-publishes-the-system-prompt-that-makes-claude-tick/) could improve transparency and trust.
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I included a reference to Anthropic publishing their system prompts while changing the wording a bit as it feels like system prompts generally aren't made available to end users.


The system prompt tends to not be visible to the end user as hiding it can prevent confusion or tampering, though [showing the prompt](https://techcrunch.com/2024/08/26/anthropic-publishes-the-system-prompt-that-makes-claude-tick/) could improve transparency and trust.

Conflicts are possible as user prompts may override system prompts in cases like persona shifts, boundary changes, or domain switches. This may cause inconsistent behavior or confusion, since models blend instructions rather than following one set over another. To address this, researchers have proposed an [instruction hierarchy](https://arxiv.org/abs/2404.13208) that teaches LLMs how to to prioritize privileged instructions.
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Another change here by introducing the concept of instruction hierarchy without going too in-depth on the topic.

@daniellemaxwell daniellemaxwell requested a review from eschmier July 17, 2025 18:05
Copy link
Copy Markdown
Contributor

@eschmier eschmier left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice additions @daniellemaxwell ! My only change request is to add yourself as an author :)

@daniellemaxwell daniellemaxwell requested a review from eschmier July 17, 2025 19:07
Copy link
Copy Markdown
Contributor

@eschmier eschmier left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved! Thanks @daniellemaxwell !

@eschmier eschmier merged commit 9a52c85 into main Jul 17, 2025
1 check passed
@eschmier eschmier deleted the sc-32808 branch July 17, 2025 20:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants