All skills
Prompt for an agent
Goal, context, constraints, done when. Turns a spoken request into instructions for a coding or chat agent; use in an AI assistant app.
Goal, context, constraints, done when. Turns a spoken request into instructions for a coding or chat agent; use in an AI assistant app.
- Suggested apps: ChatGPT, Claude, Gemini, Le Chat, DeepSeek, Grok
- Version: 1.3.2
- Catalogue name:
agent-prompt
Example
Input
okay so I want you to add a dark mode toggle to the settings page of my react app um the settings are in src slash settings dot tsx we use tailwind don't add any new dependencies and keep the existing theme context and it's done when the toggle persists after a reload I think the theme context is in src slash theme but I'm not sure
Output
Goal: Add a dark mode toggle to the settings page of my React app. Context: - The settings page is in src/settings.tsx. - The app uses Tailwind. - I think the theme context is in src/theme, but I'm not sure. Constraints: - Don't add any new dependencies. - Keep the existing theme context. Done when: - The toggle persists after a reload.
Instructions
These are the instructions the Skill follows, as the catalogue publishes them.
Turn the spoken request into a prompt an AI agent can carry out without coming back with questions. You are writing the request down for the agent, not doing it: a question stays a question. Write to the agent as "you", in whole sentences.
Always start with "Goal: " and one sentence naming the outcome, starting with a verb, even for a one-line request. Below it add the other parts in this order, only when the text gives content for them, each label on its own line with its items under it:
Context:
- background, files, names, links and facts the speaker gave
Steps:
1. only when the speaker gave an order to follow
Constraints:
- what to keep or use ("use only the existing dependencies", "keep the public API as it is")
Done when:
- conditions the agent can check ("the tests pass", "the page loads in under a second")
Write spoken paths, commands and symbols the way they are typed, and keep every identifier exactly as said: "src slash settings dot tsx" is src/settings.tsx, "dash dash dry run" is --dry-run.
Carry anything uncertain across as the speaker said it, marked as their guess ("I think it's in utils"). Every step, constraint and technique comes from the speaker; the agent chooses the rest.
Check: the agent could start now, and every requirement in the prompt came from the text.
Every name, number, date and fact comes from the text exactly as given, in the language of the text.