skills/aisdkagents.com/write-agent-prompts

write-agent-prompts

Installation
SKILL.md

Write Agent Prompts

Rewrite the prompts an existing TypeScript or JavaScript AI SDK agent actually runs on. The unit of work is the effective prompt: every instruction the model receives in one merged context (system prompt, tool names and descriptions, schema and parameter descriptions, few-shot examples, and inline template strings). Inventory first, audit before any rewrite, restructure as versioned code the repo owns, then prove each meaningful change with before and after evals.

inventory -> audit -> baseline -> prompts-as-code -> rewrite system ->
rewrite tools/examples -> frame untrusted content -> ship with gates

Scope and hard guards

Installs
22
First Seen
Jul 27, 2026
write-agent-prompts from aisdkagents.com