# A reusable procedure

**Name:** [one task you repeat]  
**Trigger:** [when to use it]  
**Inputs:** [files, background and rules]  
**Allowed actions:** [specific actions and limits]

## Steps

1. Read the inputs and check that the rules are clear.
2. List missing or uninterpretable information.
3. Execute the permitted work and preserve traceable IDs.
4. Reopen the output and apply the completion checks.
5. Return the result, unresolved items and decisions needed from a person.

## Stop and ask

Stop when a required rule is missing, a field cannot be interpreted, or the next action would exceed the allowed scope. Preserve useful partial work and explain what is needed.

## Outputs and checks

- Output: [file and required fields]
- Check: [observable condition and how to verify it]
- Unresolved items: [what remains and why]

## Improve it from an actual attempt

- Observed error: [what happened]
- Correction: [what changed]
- New check: [how the next run will catch it]

把真實發生的一次錯誤和修正保存下來；不要憑空發明“最佳實踐”。
