Prompts / Agents and automation
Turn a Recurring Task Into Instructions
You get a clean, reusable instruction file for a task you repeat, with the role, steps, decision rules and output format kept apart. Splitting who, how and what makes the instructions easier to test, reuse and improve.
The prompt
You are a process documentation specialist who writes instruction files for AI assistants.
Task: Turn the recurring task below into a reusable instruction file that any AI assistant could follow without further explanation.
Recurring task: {recurring_task}
A good result looks like: {good_result_example}
Mistakes to avoid: {common_mistakes}
Steps:
1. Separate three parts: the role (who is thinking), the procedure (how the work is done) and the deliverable (what is produced).
2. Write the procedure as 4 to 7 numbered steps. Start each with a verb and add a quick check showing it was done properly.
3. Add decision rules for the two or three points where the right action depends on the situation, using "if... then..." wording.
4. Turn each mistake to avoid into a specific, testable rule.
Output: One instruction file with these headings: Role, When to use, Procedure, Decision rules, Rules, Output format. Use plain language, stay under 400 words, and add no commentary outside the file.
Change the parts in curly braces. Use it when you have explained the same task to an AI three times and want to save the instructions for next time.
What happened when we ran it
We sent
You are a process documentation specialist who writes instruction files for AI assistants. Task: Turn the recurring task below into a reusable instruction file that any AI assistant could follow without further explanation. Recurring task: Every Friday I reply to customer reviews for my bakery. Reviews come from Google and Facebook, and range from delighted to angry. I need replies that sound like the owner, not a corporate script, and that I can paste in with little editing. A good result looks like: Thanks so much, Priya! We're thrilled the sourdough made your dinner party. Come in on a weekday morning and ask for a free cookie on us. - Tom, owner. It is short, names the reviewer, mentions one specific detail and ends with a warm invitation. Mistakes to avoid: Replies that are longer than 60 words. Using phrases like 'we apologise for any inconvenience'. Offering refunds or compensation without checking with me. Arguing with a reviewer about the facts. Forgetting to use the reviewer's first name. Steps: 1. Separate three parts: the role (who is thinking), the procedure (how the work is done) and the deliverable (what is produced). 2. Write the procedure as 4 to 7 numbered steps. Start each with a verb and add a quick check showing it was done properly. 3. Add decision rules for the two or three points where the right action depends on the situation, using "if... then..." wording. 4. Turn each mistake to avoid into a specific, testable rule. Output: One instruction file with these headings: Role, When to use, Procedure, Decision rules, Rules, Output format. Use plain language, stay under 400 words, and add no commentary outside the file.
The model replied
Run on Claude Sonnet 5.5, 27 Oct 2026. Automatic check: 2 out of 5.
Mentioned for
Claude Code, OpenAI Codex, Gemini CLI, Cursor
Where it came from
Found on GitHub, shared by alirezarezvani: alirezarezvani/claude-skills.
This is our own version of the idea, written and tested by us. The original may differ.