Track intent and vet plans before running code
A developer records user messages for later review and has agents inspect written plans against project rules before work starts.
- What they did
- They keep a running log of each user message so earlier direction is not lost if a session is compacted or restarted, then revisit that log to pull out the latest version of the intent. Before they begin a substantial task, they draft a plan, save it, and ask an agent to compare it with the project’s limits.
- How it went
- No outcome or measurements are given. The commenter treats both habits as safeguards for staying aligned with user intent, and says trust in agent-generated code depends on the project itself.
- Tips
- This works best when your project has clear constraints and you want a record of why decisions were made. Make sure the agent pauses for your approval before any action that could have lasting effects.
Try it yourself with Claude Code
Act as my planning assistant for [project]. Each time I send a message, add it to [log file path] so my intent is preserved. Before you do any work, write your proposed approach in [plans folder]/[plan file], then check it against these rules: [constraint 1], [constraint 2], [constraint 3]. Present the plan and your review, then stop and ask for my approval before changing files, sending anything, deleting anything, or making any payment. After I approve, complete the task. When you finish, summarize the intent you inferred from the log and mention any changes made to the original plan.
Fill in the [brackets]. Agents can make mistakes, so review anything before it is sent, paid or deleted.
Get 3 agent uses like this every morning
With the day's top AI news. Free, and one click to unsubscribe.
Related agent uses
Review a feature and pass the findings to an engineer
One developer had an agent inspect a feature for problems, then handed the issue list to an engineer whose agent fixed most of them.
Build a staged agent pipeline for PRs
Create a multi-step system that assigns issues, tests changes, and leaves the final merge to a person.
Let an AI agent inspect a Windows crash dump
Use MCP to give an AI agent structured crash details from a Windows dump so it can track down the fault and propose a fix.
Have the agent interview you before it writes code
A developer uses an agent to clear up vague requirements, handle small implementation choices, and keep them learning while the code is being built.
Translate a runtime to Rust module by module
Microsoft used agents to replace the Copilot runtime’s TypeScript with Rust while keeping the implementation’s overall design the same.
Turn tickets into code changes and draft the PR
Stripe uses in-house coding agents to carry tasks from ticket to reviewable code, then humans check the result.