# Stay inside the lines

Way of working · Before it starts · AD01

Keeps the agent strictly inside the task you asked for so it does not refactor neighbouring files, reformat code, or upgrade packages on the side.

**Use it when:** Past changes touched files you didn't expect, or you are editing a delicate area right before shipping.

## Prompt

```text
Stay strictly inside the task I asked for. Do not refactor neighbouring code, rename unrelated variables, reformat untouched files, delete comments, or upgrade dependencies unless the task cannot work without it. If you spot a separate bug or cleanup opportunity while working, leave it untouched and list it at the end under "Spotted outside scope" with the file and line so I can decide whether to do it next. Before finishing, check the diff and revert any accidental edit outside scope.
```

Source: https://www.atlasscope.dev/prompts/stay-inside-the-lines
