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.
Before diving into code, make sure you have clear requirements. If your project needs are still forming, start with collaborative planning:
I'm not sure about all the requirements for my project. I want to builda data dashboard for my team, but I need help working through the details.Don't start building until I give you the go-ahead.
Use Plan Mode to work through requirements systematically. This mode acts like an experienced technical product manager, asking the right questions and helping you scope appropriately.
Plan Mode is especially valuable at the start of a project. It helps you avoid the most common mistake: jumping into code before requirements are clear.
When working with existing code, always ensure Workshop understands the current system before asking for modifications.The wrong approach:
Change the color scheme to dark mode with blue accents.
The right approach:
First, examine the existing CSS structure and explain how the currentstyling system works. Then show me the key files that control thecolor scheme.
Now that you understand the structure, update it to use a dark modetheme with blue accents.
This pattern is crucial for success with existing codebases. Just like human developers study code before modifying it, Workshop needs guided exploration to understand how things work.
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:
# Project: E-commerce Dashboard## Architecture- React frontend with TypeScript- Node.js backend (Express)- MongoDB database- Authentication via Auth0## Core Files- src/api/auth.ts: Authentication middleware- src/components/common/: Reusable UI components- src/pages/: Main application views## Style Guidelines- Use functional components with hooks- Use CSS modules for styling- Follow Airbnb JavaScript style guide## Testing- Jest for unit tests- React Testing Library for component tests
You do not need to write this file manually. Ask Workshop to create it:
Please create a .workshop/rules.md file for this project that documentsour code style, architecture, and main files.
Treat .workshop/rules.md as a living document. Update it as your project evolves. Focus on what is unique or non-obvious about your project — Workshop already understands common frameworks and patterns.
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.
Agent engineering is a skill that improves with practice. Start with these patterns, experiment with your own approaches, and share what works in our Discord community.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Workshop","description":"Agentic coding for builders who don't code. Turn your expertise into working software with Workshop.","colors":{"primary":"#EA5E2A","light":"#F08A5E","dark":"#D64A1A"},"logo":{"light":"https://mintcdn.com/atlasfutures/0_YRyij7VbV4949o/images/workshop-logo-light.svg?fit=max\u0026auto=format\u0026n=0_YRyij7VbV4949o\u0026q=85\u0026s=6cef930407e91abb11a2e838693b9e37","dark":"https://mintcdn.com/atlasfutures/0_YRyij7VbV4949o/images/workshop-logo-dark.svg?fit=max\u0026auto=format\u0026n=0_YRyij7VbV4949o\u0026q=85\u0026s=5223ca21203835d79db3c4d87684de2c","href":"https://workshop.ai"},"favicon":"https://mintcdn.com/atlasfutures/0_YRyij7VbV4949o/images/favicon.svg?fit=max\u0026auto=format\u0026n=0_YRyij7VbV4949o\u0026q=85\u0026s=378bc5ae5ee309fd484d7c9ca4cc6380","background":{"color":{"light":"#F0EEE6","dark":"#0A0D10"}},"navbar":{"links":[{"href":"https://workshop.ai/blog","label":"Blog"},{"href":"https://discord.gg/ggqJkUN3vx","type":"discord"}],"primary":{"type":"button","label":"Start Building","href":"https://app.workshop.ai"}},"footer":{"socials":{"x":"https://x.com/workshopai_","discord":"https://discord.gg/ggqJkUN3vx","linkedin":"https://www.linkedin.com/company/workshop-ai","website":"https://workshop.ai"}},"search":{},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"atlasfutures","hasAudioNarration":false,"actualSubdomain":"atlasfutures","customDomains":["docs.workshop.ai"],"gitSource":{"type":"github","owner":"atlasfutures","repo":"memex-desktop","deployBranch":"main","contentDirectory":"docs-site","isPrivate":true,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6aecad7b759a071fd76f7493","collectionId":"48decb35-e8d9-49ea-b568-5ef0251dd922","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6aecad7b759a071fd76f7493"},"entitlements":{},"buildId":"6aecad7b759a071fd76f7493","clientVersion":"0.0.4076","searchFilterCounts":[{"language":"default","tag":"Connectors","count":13},{"language":"default","tag":"Workshop Desktop","count":8},{"language":"default","tag":"Build Guides","count":7},{"language":"default","tag":"Core Concepts","count":7},{"language":"default","tag":"Import \u0026 Migrate","count":6},{"language":"default","tag":"Workshop Cloud","count":6},{"language":"default","tag":"AI Providers","count":5},{"language":"default","tag":"Data Connectors","count":5},{"language":"default","tag":"Getting Started","count":5},{"language":"default","tag":"Best Practices","count":4}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[],"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":"#sidebar{width:320px}*{scrollbar-width:thin;scrollbar-color:#C8C4BA transparent}::-webkit-scrollbar{width:6px;height:6px}::-webkit-scrollbar-track{background:transparent}::-webkit-scrollbar-thumb{background-color:#C8C4BA;border-radius:3px}::-webkit-scrollbar-thumb:hover{background-color:#A8A49A}html.dark *{scrollbar-color:#3A3D44 transparent}html.dark ::-webkit-scrollbar-thumb{background-color:#3A3D44}html.dark ::-webkit-scrollbar-thumb:hover{background-color:#50535A}"}],"page":{"pagePath":"best-practices","slug":"/best-practices","pageMetadata":{"title":"Agent Engineering Essentials","icon":"star","description":"Master the art of agent engineering — the skill of getting the most out of your AI development partner.","href":"/best-practices/index"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Master the art of agent engineering — the skill of getting the most out of your AI development partner.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,li:`li`,ol:`ol`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,Heading,Table,Tip}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Tip)_missingMdxReference(`Tip`,true);return _jsxs(_Fragment,{children:[_jsx(Heading,{level:`2`,id:`understanding-agent-engineering`,children:`Understanding Agent Engineering`}),`\n`,_jsx(_components.p,{children:`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.`}),`\n`,_jsx(_components.p,{children:`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.`}),`\n`,_jsx(Heading,{level:`2`,id:`the-five-pillars-of-successful-building`,children:`The Five Pillars of Successful Building`}),`\n`,_jsx(Heading,{level:`3`,id:`1-separate-planning-from-execution`,children:`1. Separate Planning from Execution`}),`\n`,_jsx(_components.p,{children:`Before diving into code, make sure you have clear requirements. If your project needs are still forming, start with collaborative planning:`}),`\n`,_jsx(CodeBlock,{numberOfLines:`4`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`4`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`I'm not sure about all the requirements for my project. I want to build`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`a data dashboard for my team, but I need help working through the details.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Don't start building until I give you the go-ahead.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsxs(_components.p,{children:[`Use `,_jsx(_components.strong,{children:`Plan Mode`}),` to work through requirements systematically. This mode acts like an experienced technical product manager, asking the right questions and helping you scope appropriately.`]}),`\n`,_jsx(Tip,{children:_jsx(_components.p,{children:`Plan Mode is especially valuable at the start of a project. It helps you avoid the most common mistake: jumping into code before requirements are clear.`})}),`\n`,_jsx(Heading,{level:`3`,id:`2-build-incrementally`,children:`2. Build Incrementally`}),`\n`,_jsx(_components.p,{children:`The most common mistake is asking for too much at once. Break your project into small, achievable steps:`}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`Instead of this:`})}),`\n`,_jsx(CodeBlock,{numberOfLines:`3`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`3`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Build me a complete e-commerce website with user authentication,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`payment processing, inventory management, and order tracking.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`Try this approach:`})}),`\n`,_jsx(CodeBlock,{numberOfLines:`3`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`3`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Let's start by setting up a basic product catalog that displays`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`items with images and prices.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsx(_components.p,{children:`Then continue step by step:`}),`\n`,_jsx(CodeBlock,{numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Great! Now let's add a shopping cart where users can add items.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsx(CodeBlock,{numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Perfect. Now let's add a simple checkout form (no payments yet).`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsx(_components.p,{children:`This incremental approach has multiple benefits:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Higher success rate for each step`}),`\n`,_jsx(_components.li,{children:`Easier to debug when issues arise`}),`\n`,_jsx(_components.li,{children:`Natural checkpoints to save progress`}),`\n`,_jsx(_components.li,{children:`Flexibility to change direction based on results`}),`\n`]}),`\n`,_jsx(Heading,{level:`3`,id:`3-verify-understanding-before-making-changes`,children:`3. Verify Understanding Before Making Changes`}),`\n`,_jsx(_components.p,{children:`When working with existing code, always ensure Workshop understands the current system before asking for modifications.`}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`The wrong approach:`})}),`\n`,_jsx(CodeBlock,{numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Change the color scheme to dark mode with blue accents.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`The right approach:`})}),`\n`,_jsx(CodeBlock,{numberOfLines:`4`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`4`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`First, examine the existing CSS structure and explain how the current`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`styling system works. Then show me the key files that control the`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`color scheme.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsx(CodeBlock,{numberOfLines:`3`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`3`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Now that you understand the structure, update it to use a dark mode`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`theme with blue accents.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsx(_components.p,{children:`This pattern is crucial for success with existing codebases. Just like human developers study code before modifying it, Workshop needs guided exploration to understand how things work.`}),`\n`,_jsx(Heading,{level:`3`,id:`4-manage-task-execution`,children:`4. Manage Task Execution`}),`\n`,_jsx(_components.p,{children:`Some tasks require multiple iterations. Instead of micromanaging every step, you can give Workshop more autonomy:`}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`For ongoing work:`})}),`\n`,_jsx(CodeBlock,{numberOfLines:`3`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`3`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Keep working on this until it's fully functional, but check with me`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`if you hit any major roadblocks.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`For quick iterations:`})}),`\n`,_jsx(CodeBlock,{numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Proceed`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`When things get complex:`})}),`\n`,_jsx(CodeBlock,{numberOfLines:`3`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`3`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Take your time with this. Make sure each step works before moving`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`to the next one, and commit your progress after each successful change.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsx(Heading,{level:`3`,id:`5-handle-errors-effectively`,children:`5. Handle Errors Effectively`}),`\n`,_jsx(_components.p,{children:`When Workshop gets stuck or makes mistakes, use these recovery strategies:`}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`For spinning wheels or repeated failures:`})}),`\n`,_jsx(CodeBlock,{numberOfLines:`3`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`3`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Stop. Let's step back and reconsider our approach. Is there a simpler`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`way to achieve this goal?`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`For dependency or environment issues:`})}),`\n`,_jsx(CodeBlock,{numberOfLines:`3`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`3`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Let's try a different approach. Can we use Docker, or is there an`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`alternative library that might work better?`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`For complex debugging:`})}),`\n`,_jsx(CodeBlock,{numberOfLines:`3`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`3`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Let's break this down. First, create a minimal test case that`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`reproduces the issue, then we can fix it step by step.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsxs(Heading,{level:`2`,id:`using-workshop/rules-md-for-project-specific-instructions`,children:[`Using `,_jsx(_components.code,{children:`.workshop/rules.md`}),` for Project-Specific Instructions`]}),`\n`,_jsxs(_components.p,{children:[`Workshop automatically reads a `,_jsx(_components.code,{children:`.workshop/rules.md`}),` file in your project root, making it the ideal place to document project-specific context:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`21`,language:`markdown`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`markdown`,children:_jsxs(_components.code,{language:`markdown`,numberOfLines:`21`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-light-font-weight\":`bold`,\"--shiki-dark\":`#569CD6`,\"--shiki-dark-font-weight\":`bold`},children:`# Project: E-commerce Dashboard`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-light-font-weight\":`bold`,\"--shiki-dark\":`#569CD6`,\"--shiki-dark-font-weight\":`bold`},children:`## Architecture`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#6796E6`},children:`-`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` React frontend with TypeScript`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#6796E6`},children:`-`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` Node.js backend (Express)`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#6796E6`},children:`-`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` MongoDB database`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#6796E6`},children:`-`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` Authentication via Auth0`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-light-font-weight\":`bold`,\"--shiki-dark\":`#569CD6`,\"--shiki-dark-font-weight\":`bold`},children:`## Core Files`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#6796E6`},children:`-`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` src/api/auth.ts: Authentication middleware`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#6796E6`},children:`-`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` src/components/common/: Reusable UI components`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#6796E6`},children:`-`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` src/pages/: Main application views`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-light-font-weight\":`bold`,\"--shiki-dark\":`#569CD6`,\"--shiki-dark-font-weight\":`bold`},children:`## Style Guidelines`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#6796E6`},children:`-`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` Use functional components with hooks`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#6796E6`},children:`-`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` Use CSS modules for styling`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#6796E6`},children:`-`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` Follow Airbnb JavaScript style guide`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-light-font-weight\":`bold`,\"--shiki-dark\":`#569CD6`,\"--shiki-dark-font-weight\":`bold`},children:`## Testing`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#6796E6`},children:`-`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` Jest for unit tests`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#6796E6`},children:`-`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` React Testing Library for component tests`})]}),`\n`]})})}),`\n`,_jsx(_components.p,{children:`You do not need to write this file manually. Ask Workshop to create it:`}),`\n`,_jsx(CodeBlock,{numberOfLines:`3`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`3`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Please create a .workshop/rules.md file for this project that documents`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`our code style, architecture, and main files.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsx(Tip,{children:_jsxs(_components.p,{children:[`Treat `,_jsx(_components.code,{children:`.workshop/rules.md`}),` as a living document. Update it as your project evolves. Focus on what is unique or non-obvious about your project — Workshop already understands common frameworks and patterns.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`context-management-best-practices`,children:`Context Management Best Practices`}),`\n`,_jsx(_components.p,{children:`As projects grow, help Workshop maintain context effectively:`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`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.`]}),`\n`,_jsxs(_components.p,{children:[_jsxs(_components.strong,{children:[`Use the `,_jsx(_components.code,{children:`/compact`}),` command.`]}),` When a conversation gets long but you are not ready to start fresh, the `,_jsx(_components.code,{children:`/compact`}),` command summarizes the conversation to reduce context size while preserving key information.`]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`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.`]}),`\n`,_jsxs(_components.p,{children:[_jsxs(_components.strong,{children:[`Keep `,_jsx(_components.code,{children:`.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.`]}),`\n`,_jsx(Heading,{level:`2`,id:`common-success-patterns`,children:`Common Success Patterns`}),`\n`,_jsx(Heading,{level:`3`,id:`the-mvp-first-pattern`,children:`The MVP-First Pattern`}),`\n`,_jsx(_components.p,{children:`Always start with the minimum viable version:`}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Core functionality only`}),` — Get the basics working`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Add one feature at a time`}),` — Build on a solid foundation`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Enhance the user experience`}),` — Polish after functionality is proven`]}),`\n`]}),`\n`,_jsx(Heading,{level:`3`,id:`the-version-control-pattern`,children:`The Version Control Pattern`}),`\n`,_jsx(_components.p,{children:`Establish good practices early:`}),`\n`,_jsx(CodeBlock,{numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Initialize git with a sensible .gitignore file and commit our initial setup.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsx(CodeBlock,{numberOfLines:`3`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`3`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Great progress! Let's commit this working version before we add`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`the next feature.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsx(_components.p,{children:`Regular commits create safety nets and clear progress markers. Workshop’s built-in checkpointing provides an additional layer of safety for within-session changes.`}),`\n`,_jsx(Heading,{level:`3`,id:`the-testing-pattern`,children:`The Testing Pattern`}),`\n`,_jsx(_components.p,{children:`Build confidence in your code:`}),`\n`,_jsx(CodeBlock,{numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Create some basic tests to verify the core functionality works correctly.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsx(CodeBlock,{numberOfLines:`3`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`3`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Before we deploy this, let's test it thoroughly to make sure everything`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`works as expected.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsx(Heading,{level:`2`,id:`common-anti-patterns-to-avoid`,children:`Common Anti-Patterns to Avoid`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Anti-Pattern`}),_jsx(_components.th,{children:`What Happens`}),_jsx(_components.th,{children:`What to Do Instead`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`”Do Everything”`})}),_jsx(_components.td,{children:`Asking for a complex multi-part app in a single request`}),_jsx(_components.td,{children:`Break it into smaller, focused steps`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`”No Verification”`})}),_jsx(_components.td,{children:`Not testing or verifying work at each step`}),_jsx(_components.td,{children:`Ask Workshop to test after each change`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`”Context Overload”`})}),_jsx(_components.td,{children:`Dumping massive context all at once`}),_jsx(_components.td,{children:`Introduce complexity gradually`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`”No Progress Saves”`})}),_jsx(_components.td,{children:`Forgetting to commit working versions`}),_jsx(_components.td,{children:`Use git checkpoints at logical milestones`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`”Too Specific”`})}),_jsx(_components.td,{children:`Over-prescribing implementation details`}),_jsx(_components.td,{children:`Give Workshop room to make good decisions`})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`measuring-success`,children:`Measuring Success`}),`\n`,_jsx(_components.p,{children:`Good agent engineering leads to:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Higher success rates`}),` for complex tasks`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Fewer iterations`}),` needed to achieve goals`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`More maintainable`}),` project outcomes`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Better project continuity`}),` across conversations`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Reduced frustration`}),` with debugging and errors`]}),`\n`]}),`\n`,_jsxs(_components.p,{children:[`Agent engineering is a skill that improves with practice. Start with these patterns, experiment with your own approaches, and share what works in our `,_jsx(_components.a,{href:`https://discord.gg/ggqJkUN3vx`,children:`Discord community`}),`.`]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Agent Engineering Essentials","icon":"star","description":"Master the art of agent engineering — the skill of getting the most out of your AI development partner.","href":"/best-practices/index"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Understanding Agent Engineering","slug":"understanding-agent-engineering","depth":2,"children":[]},{"title":"The Five Pillars of Successful Building","slug":"the-five-pillars-of-successful-building","depth":2,"children":[{"title":"1. Separate Planning from Execution","slug":"1-separate-planning-from-execution","depth":3,"children":[]},{"title":"2. Build Incrementally","slug":"2-build-incrementally","depth":3,"children":[]},{"title":"3. Verify Understanding Before Making Changes","slug":"3-verify-understanding-before-making-changes","depth":3,"children":[]},{"title":"4. Manage Task Execution","slug":"4-manage-task-execution","depth":3,"children":[]},{"title":"5. Handle Errors Effectively","slug":"5-handle-errors-effectively","depth":3,"children":[]}]},{"title":"Using .workshop/rules.md for Project-Specific Instructions","slug":"using-workshop/rules-md-for-project-specific-instructions","depth":2,"children":[]},{"title":"Context Management Best Practices","slug":"context-management-best-practices","depth":2,"children":[]},{"title":"Common Success Patterns","slug":"common-success-patterns","depth":2,"children":[{"title":"The MVP-First Pattern","slug":"the-mvp-first-pattern","depth":3,"children":[]},{"title":"The Version Control Pattern","slug":"the-version-control-pattern","depth":3,"children":[]},{"title":"The Testing Pattern","slug":"the-testing-pattern","depth":3,"children":[]}]},{"title":"Common Anti-Patterns to Avoid","slug":"common-anti-patterns-to-avoid","depth":2,"children":[]},{"title":"Measuring Success","slug":"measuring-success","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"atlasfutures","siteName":"Workshop","title":"Agent Engineering Essentials - Workshop","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-03-06T20:48:07.918Z","originalFileLocation":"best-practices/index.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Master the art of agent engineering — the skill of getting the most out of your AI development partner.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Workshop\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/atlasfutures/HYKZq10H_jp5wWyo/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/atlasfutures/HYKZq10H_jp5wWyo/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/atlasfutures/HYKZq10H_jp5wWyo/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/atlasfutures/HYKZq10H_jp5wWyo/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/atlasfutures/HYKZq10H_jp5wWyo/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/atlasfutures/HYKZq10H_jp5wWyo/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/atlasfutures/HYKZq10H_jp5wWyo/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/atlasfutures/HYKZq10H_jp5wWyo/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/atlasfutures/HYKZq10H_jp5wWyo/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Agent Engineering Essentials - Workshop\">\u003cmeta data-mint-head property=\"og:description\" content=\"Master the art of agent engineering — the skill of getting the most out of your AI development partner.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Workshop\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.workshop.ai/best-practices\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://atlasfutures.mintlify.site/_mintlify/api/og/v2?division=Best+Practices\u0026amp;title=Agent+Engineering+Essentials\u0026amp;description=Master+the+art+of+agent+engineering+%E2%80%94+the+skill+of+getting+the+most+out+of+your+AI+development+partner.\u0026amp;theme=c40fcba46c6d5d581a614c81\u0026amp;signature=201aca4aadcd5d8be1082c45aa02e25d87d637c570905c13e481b2af937deba4\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Agent Engineering Essentials - Workshop\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Master the art of agent engineering — the skill of getting the most out of your AI development partner.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://atlasfutures.mintlify.site/_mintlify/api/og/v2?division=Best+Practices\u0026amp;title=Agent+Engineering+Essentials\u0026amp;description=Master+the+art+of+agent+engineering+%E2%80%94+the+skill+of+getting+the+most+out+of+your+AI+development+partner.\u0026amp;theme=c40fcba46c6d5d581a614c81\u0026amp;signature=201aca4aadcd5d8be1082c45aa02e25d87d637c570905c13e481b2af937deba4\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/atlasfutures/HYKZq10H_jp5wWyo/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Workshop\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#EA5E2A\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.workshop.ai/best-practices\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/best-practices.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.workshop.ai/#organization\",\"name\":\"Workshop\",\"url\":\"https://docs.workshop.ai\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/atlasfutures/0_YRyij7VbV4949o/images/workshop-logo-light.svg?fit=max\u0026auto=format\u0026n=0_YRyij7VbV4949o\u0026q=85\u0026s=6cef930407e91abb11a2e838693b9e37\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.workshop.ai#website\",\"name\":\"Workshop\",\"url\":\"https://docs.workshop.ai\",\"publisher\":{\"@id\":\"https://docs.workshop.ai/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.workshop.ai/best-practices#webpage\",\"url\":\"https://docs.workshop.ai/best-practices\",\"name\":\"Agent Engineering Essentials\",\"description\":\"Master the art of agent engineering — the skill of getting the most out of your AI development partner.\",\"dateModified\":\"2026-03-06T20:48:07.918Z\",\"isPartOf\":{\"@id\":\"https://docs.workshop.ai#website\"},\"breadcrumb\":{\"@id\":\"https://docs.workshop.ai/best-practices#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.workshop.ai/best-practices#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Best Practices\",\"item\":\"https://docs.workshop.ai/best-practices/index\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Agent Engineering Essentials\",\"item\":\"https://docs.workshop.ai/best-practices\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.workshop.ai/best-practices#article\",\"headline\":\"Agent Engineering Essentials\",\"name\":\"Agent Engineering Essentials\",\"description\":\"Master the art of agent engineering — the skill of getting the most out of your AI development partner.\",\"url\":\"https://docs.workshop.ai/best-practices\",\"mainEntityOfPage\":{\"@id\":\"https://docs.workshop.ai/best-practices#webpage\"},\"dateModified\":\"2026-03-06T20:48:07.918Z\",\"publisher\":{\"@id\":\"https://docs.workshop.ai/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.workshop.ai#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Workshop\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Workshop","nav":{"global":null,"groups":[{"group":"Getting Started","pages":[{"title":"Welcome to Workshop","icon":"house","href":"/index"},{"title":"Choose Your Path","icon":"rocket","href":"/getting-started/index"},{"title":"Workshop Cloud in 5 Minutes","icon":"cloud","href":"/getting-started/cloud-quickstart"},{"title":"Workshop Desktop in 5 Minutes","icon":"desktop","href":"/getting-started/desktop-quickstart"},{"title":"Workshop Cloud vs Desktop","icon":"arrows-left-right","href":"/getting-started/cloud-vs-desktop"}]},{"group":"Build Guides","pages":[{"title":"Build Guides","icon":"hammer","href":"/build-guides/index"},{"title":"Build and Deploy Websites","icon":"globe","href":"/build-guides/websites"},{"title":"Build AI-Powered Apps","icon":"microchip-ai","href":"/build-guides/ai-apps"},{"title":"Build Trusted Dashboards","icon":"chart-mixed","href":"/build-guides/dashboards"},{"title":"Build Internal Tools","icon":"screwdriver-wrench","href":"/build-guides/internal-tools"},{"title":"Build Mobile Apps","icon":"mobile","href":"/build-guides/mobile-apps"},{"title":"Build Local Apps","icon":"laptop","href":"/build-guides/local-apps"}]},{"group":"Import \u0026 Migrate","pages":[{"title":"Import \u0026 Migrate","icon":"arrow-right-to-bracket","href":"/import/index"},{"title":"Import from Lovable","icon":"heart","href":"/import/from-lovable"},{"title":"Import from Bolt","icon":"bolt","href":"/import/from-bolt"},{"title":"Import from Replit","icon":"code","href":"/import/from-replit"},{"title":"Import from FlutterFlow","icon":"mobile","href":"/import/from-flutterflow"},{"title":"Migrating from Bubble","icon":"circle-nodes","href":"/import/from-bubble"}]},{"group":"Core Concepts","pages":[{"title":"Conversations and Projects","icon":"messages","href":"/core-concepts/conversations-and-projects"},{"title":"Working with the Agent","icon":"messages","href":"/core-concepts/working-with-the-agent"},{"title":"Sub-agents","icon":"diagram-project","href":"/core-concepts/sub-agents"},{"title":"Context and Memory","icon":"brain","href":"/core-concepts/context-and-memory"},{"title":"Skills","icon":"puzzle-piece","href":"/core-concepts/skills"},{"title":"Settings","icon":"sliders","href":"/core-concepts/settings"},{"title":"Web ↔ Desktop Sync","icon":"arrows-left-right","href":"/core-concepts/web-desktop-sync"}]},{"group":"Workshop Cloud","pages":[{"title":"Workshop Cloud","icon":"cloud","href":"/workshop-cloud/index"},{"title":"Workshop Arena","icon":"trophy","href":"/workshop-cloud/arena"},{"title":"Project Templates","icon":"file-code","href":"/workshop-cloud/templates"},{"title":"One-Click Publishing","icon":"share-from-square","href":"/workshop-cloud/publishing"},{"title":"Sharing and Teams","icon":"users","href":"/workshop-cloud/sharing-and-teams"},{"title":"GitHub Integration","icon":"code-branch","href":"/workshop-cloud/github-integration"}]},{"group":"Workshop Desktop","pages":[{"title":"Workshop Desktop","icon":"desktop","href":"/workshop-desktop/index"},{"title":"Running Local AI Models","icon":"microchip","href":"/workshop-desktop/local-models"},{"title":"Publishing","icon":"share-from-square","href":"/workshop-desktop/publishing"},{"title":"Sharing and Teams","icon":"users","href":"/workshop-desktop/sharing-and-teams"},{"title":"GitHub Integration","icon":"code-branch","href":"/workshop-desktop/github-integration"},{"title":"MCP Server Configuration","icon":"puzzle-piece","href":"/workshop-desktop/mcp-servers"},{"title":"File System and Terminals","icon":"folder-tree","href":"/workshop-desktop/file-system-and-terminals"},{"title":"Checkpoints","icon":"clock-rotate-left","href":"/workshop-desktop/checkpoints"}]},{"group":"Connectors","pages":[{"title":"Connectors","icon":"plug","href":"/connectors/index"},{"group":"AI Providers","pages":[{"title":"Managed AI Connectors","icon":"robot","href":"/connectors/managed-ai-connectors"},{"title":"Anthropic (BYOK)","icon":"a","href":"/connectors/anthropic"},{"title":"OpenAI (BYOK)","icon":"o","href":"/connectors/openai"},{"title":"Google Gemini (BYOK)","icon":"g","href":"/connectors/gemini"},{"title":"Jev","icon":"scale-balanced","href":"/connectors/jev"}]},{"group":"Database Providers","pages":[{"title":"Managed Database","icon":"database","href":"/connectors/managed-database"},{"title":"Database Connectors","icon":"database","href":"/connectors/databases"}]},{"group":"Data Connectors","pages":[{"title":"Data Warehouse Connectors","icon":"warehouse","href":"/connectors/data-warehouses"},{"title":"Google Sheets","icon":"table","href":"/connectors/google-sheets"},{"title":"Google Drive","icon":"hard-drive","href":"/connectors/google-drive"},{"title":"AWS S3","icon":"bucket","href":"/connectors/aws-s3"},{"title":"GitHub","icon":"code-branch","href":"/connectors/github"}]}]},{"group":"Solutions","pages":[{"title":"Trusted Dashboards","icon":"shield-check","href":"/solutions/trusted-dashboards"},{"title":"Unified GTM Analytics","icon":"chart-line","href":"/solutions/gtm-analytics"},{"title":"Prototyping for Product Managers","icon":"pen-ruler","description":"Go from idea to clickable prototype in minutes. Real code, not mockups — instantly shareable with your team.","href":"/solutions/prototyping"}]},{"group":"Best Practices","pages":[{"title":"Agent Engineering Essentials","icon":"star","href":"/best-practices/index"},{"title":"Using Credits Effectively","icon":"coins","description":"How to manage conversations, project context, caching, and model choice without wasting credits.","href":"/best-practices/using-credits-effectively"},{"title":"Patterns from 10,000+ Projects","icon":"trophy","href":"/best-practices/vibe-coding-from-10k-projects"},{"title":"Refactoring AI-Generated Projects","icon":"arrows-rotate","href":"/best-practices/refactoring"}]},{"group":"Troubleshooting","pages":[{"title":"Troubleshooting","icon":"circle-question","href":"/troubleshooting/index"},{"title":"Network and Connectivity","icon":"wifi","href":"/troubleshooting/network-connectivity"},{"title":"Debugging Strategies","icon":"bug","href":"/troubleshooting/debugging-strategies"},{"title":"When to Start Fresh vs. Persist","icon":"rotate","href":"/troubleshooting/when-to-start-fresh"}]},{"group":"Pricing and Billing","pages":[{"title":"Plans and Credits","icon":"credit-card","href":"/pricing/plans"},{"title":"Billing FAQs","icon":"circle-question","href":"/pricing/billing-faqs"}]},{"group":"Account","pages":[{"title":"Account Deletion","href":"/account-deletion"}]}]},"basePath":"","title":"Agent Engineering Essentials - Workshop","buildId":"dpl_8LJbrAiZvr1K98WQNZXCyY5AvT34","deploymentId":"dpl_8LJbrAiZvr1K98WQNZXCyY5AvT34","dynamics":[],"chunks":[]}