Documentation Index
Fetch the complete documentation index at: https://docs.workshop.ai/llms.txt
Use this file to discover all available pages before exploring further.
Understanding Agent Engineering
Just like “prompt engineering” helps you get better results from language models, “agent engineering” is a set of best practices to maximize your success with Workshop. While Workshop is powerful and intuitive, following these practices will significantly improve your outcomes, especially for complex projects. Agent engineering is about designing thoughtful interactions with AI systems to ensure they operate reliably, efficiently, and successfully. Even as AI models become more sophisticated, these practices help guide them toward the results you want.The Five Pillars of Successful Building
1. Separate Planning from Execution
Before diving into code, make sure you have clear requirements. If your project needs are still forming, start with collaborative planning:2. Build Incrementally
The most common mistake is asking for too much at once. Break your project into small, achievable steps: Instead of this:- Higher success rate for each step
- Easier to debug when issues arise
- Natural checkpoints to save progress
- Flexibility to change direction based on results
3. Verify Understanding Before Making Changes
When working with existing code, always ensure Workshop understands the current system before asking for modifications. The wrong approach:4. Manage Task Execution
Some tasks require multiple iterations. Instead of micromanaging every step, you can give Workshop more autonomy: For ongoing work:5. Handle Errors Effectively
When Workshop gets stuck or makes mistakes, use these recovery strategies: For spinning wheels or repeated failures:Using .workshop/rules.md for Project-Specific Instructions
Workshop automatically reads a .workshop/rules.md file in your project root, making it the ideal place to document project-specific context:
Context Management Best Practices
As projects grow, help Workshop maintain context effectively: Start new conversations for new topics. Credit cost per message increases as conversations get longer because each new message includes the full context of prior messages. Starting fresh conversations for distinct tasks is both cheaper and more effective. Use the/compact command. When a conversation gets long but you are not ready to start fresh, the /compact command summarizes the conversation to reduce context size while preserving key information.
Reference files explicitly. When you need Workshop to focus on specific parts of your codebase, point it to the relevant files rather than expecting it to search the entire project.
Keep .workshop/rules.md focused. Add emphasis like “IMPORTANT:” or “NOTE:” for critical information. Avoid dumping massive amounts of context — prioritize what is most unique about your project.
Common Success Patterns
The MVP-First Pattern
Always start with the minimum viable version:- Core functionality only — Get the basics working
- Add one feature at a time — Build on a solid foundation
- Enhance the user experience — Polish after functionality is proven
The Version Control Pattern
Establish good practices early:The Testing Pattern
Build confidence in your code:Common Anti-Patterns to Avoid
| Anti-Pattern | What Happens | What to Do Instead |
|---|---|---|
| ”Do Everything” | Asking for a complex multi-part app in a single request | Break it into smaller, focused steps |
| ”No Verification” | Not testing or verifying work at each step | Ask Workshop to test after each change |
| ”Context Overload” | Dumping massive context all at once | Introduce complexity gradually |
| ”No Progress Saves” | Forgetting to commit working versions | Use git checkpoints at logical milestones |
| ”Too Specific” | Over-prescribing implementation details | Give Workshop room to make good decisions |
Measuring Success
Good agent engineering leads to:- Higher success rates for complex tasks
- Fewer iterations needed to achieve goals
- More maintainable project outcomes
- Better project continuity across conversations
- Reduced frustration with debugging and errors