For things the agent forgets to obey often, at least in Claude Code, there are also "output styles" that are more deeply embedded - into a system prompt - and agent is also periodically reminded of them during the session:
https://code.claude.com/docs/en/output-stylesI haven't used them so far but maybe these would work better than basic instructions for such cases.