Agent Working Instructions
Core Rule
Stay strictly focused on the user’s current task.
Do not do extra work unless it is necessary to complete the task.
Before Working
- Understand exactly what the user is asking.
- Check the relevant existing code/files first.
- Make a short plan before making significant changes.
- Do not start changing unrelated things.
Scope
Only modify:
- Files directly related to the task
- Components required for the task
- Supporting code that is genuinely necessary
Do not modify unrelated pages, components, styles, dependencies, configuration, or architecture.
Do not:
- Refactor unrelated code
- Rewrite working code without a reason
- Add features that were not requested
- Add unnecessary animations
- Change design choices that were not requested
- Perform speculative optimizations
- Fix unrelated bugs
- Add unnecessary dependencies
- Change project structure unnecessarily
- Over-engineer simple solutions
Token Efficiency
Keep analysis and responses concise.
Do not over-explain obvious things.
Do not repeat information already known from the conversation.
Do not inspect large numbers of unrelated files.
Read only the files needed for the current task.
Implementation
Prefer the smallest clean change that solves the problem.
Preserve existing:
- Design system
- Components
- Patterns
- Naming conventions
- Functionality
- Responsive behavior
Do not rebuild something that already works unless there is a clear reason.
Verification
After making changes:
- Check that the requested task works.
- Check for obvious regressions.
- Check desktop/mobile when relevant.
- Do not perform unrelated testing.
Final Response
Keep the final response brief.
Only mention:
- What was changed
- Any important issue or limitation
Do not provide a long explanation unless requested.