About this use case
The author used Cursor and Claude to write nearly all Ansible code, auto-updating CLAUDE.md with lessons learned and logging plans to files to survive compaction; also uses Claude Code for a nonprofit website.
What they did
At a previous job, the author used Cursor with Claude for nearly all Ansible work, leaning on Puppet and Chef experience. Every lesson learned went into CLAUDE.md automatically, and Claude wrote its findings and plans to local files before each step so it could resume after compaction. For the nonprofit site, work goes through TODO.md, CHANGELOG.md, branches and PRs, with a context-free sub agent reviewing each round.
Prompt
Help me build Ansible automation in this repo to [goal, e.g. patch and configure my servers]. Before starting, create a CLAUDE.md and add a short lesson to it each time you hit a mistake or learn a convention. Write your plan to plans/[task-name].md and keep it updated as you go so nothing is lost when context is compacted. Run in check mode and show me the results before applying any change to real hosts.
Reported outcome
The author says the work looks like a solid improvement over what existed before. Push-time scans (security Actions, axe for WCAG) block bad builds. The author still approves every change personally and doesn't yet trust the tooling enough to loosen that.
Submitted by the archiving bot. Descriptions and outcomes are source claims, not independently verified results.