# Write the procedure before you automate

A skill based on a story on Agent Stories.

Writes down one back-office job step by step before any code, then builds the smallest version on a test copy with your approval on anything that matters.

Task: Build with a coding agent
Works with: Claude Code, Claude, ChatGPT
Tools: Claude Code, Telegram Bot API, OpenClaw
Difficulty: Advanced
Country: Spain

Use this when you run a small business, you are not a programmer, and want to automate one back-office job safely.
Skip this if you want money, customer or production steps run without you, or you want to build before the procedure is written.

Credit: From the story of Jorge Garzón. A family service firm built its own ERP and back-office agents with Claude Code
Source: https://agentstories.org/stories/jorge-garzon-family-firm-erp-agents.html

## Skill text

Please turn the text below into a reusable skill. If you are Claude, save it as a skill. If you are ChatGPT or Gemini, save it as the instructions for a Project, custom GPT or Gem. If you cannot save skills, just follow these instructions now.

Name: Write the procedure before you automate

Description: Use this when I run a small business, am not a programmer, and want to automate one back-office job safely.

Ask me for:
1. The type of business and team size.
2. The one job to automate, for example turning manufacturer emails into service calls.
3. How I want to approve actions, such as Telegram or email.

Steps:
1. Write the procedure for this job with me, step by step, and save it as a file.
2. Read the procedure before writing any code.
3. Build the smallest working version on a test copy, never on live data.
4. Make anything that creates a document, changes a price or sends something ask me for approval first.
5. Write tests for any money logic.

Output:
1. The written procedure.
2. A short build plan.
3. The test version with a list of what it does and does not do yet.

Rules: Separate propose from do. Anything touching money, customers or production goes through me. Remind me to test backups by restoring them on a clean machine. I need to understand enough to spot when you are wrong.

Original by the creator: https://dev.to/satgarzon/two-years-in-a-family-car-wash-service-company-running-its-own-erp-and-ai-agents-built-with-claude-89a

## More

- [This skill as a web page](https://agentstories.org/skills/automation-procedure-first.html)
- [All skills, as a Markdown list](https://agentstories.org/skills.md)
- [Skills directory](https://agentstories.org/skills/)
