Master the art of contextual prompting to receive precise, actionable results from Coplay, every time.
Effective communication is key to efficiency. By organizing your requests using a clear framework, you eliminate guesswork for Coplay and ensure the output—be it code, refactoring, or scene analysis—is always ready to use in your Unity project.
Coplay is project-aware, but you must direct its attention. Always reference specific files or objects to ensure the AI uses the correct context from your Unity project.
Avoid generalized language. Use file pinning (like the @ symbol) or the in-editor selection tools to ensure Coplay is working on the correct scripts, prefabs, or scenes.
Effective: “Please update the PlayerAttack() function inside @MeleeCombatSystem.cs to…” Ineffective: “Fix the player’s attack script…”
Asking Coplay to perform tasks like “Fix all compilation errors” will yield poor results. Be precise: “Address the specific type error in the @HealthBarUI.cs script.”
If Coplay generates an incorrect or incomplete response, resist the urge to debug it conversationally within the same thread. Since you cannot edit past prompts, this only creates confusion.
If the AI misunderstands the core objective after the first attempt, it is always the most efficient choice to Start a New Thread.
A clean start ensures the model is not polluted by the failed attempts and has a fresh contextual memory for your request.
When starting the new thread, you may need to re-pin your assets and provide richer Initial State context to guide the AI correctly this time.
NEVER attempt to debug or fix a massive, incorrect AI output by conversationally pointing out dozens of errors. Start a New Thread instead.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Coplay Documentation","colors":{"primary":"#442172","light":"#B48AEB","dark":"#442172"},"logo":{"light":"https://mintcdn.com/coplay/KZ8Rjc9ndnV33yOF/logo/logo.svg?fit=max\u0026auto=format\u0026n=KZ8Rjc9ndnV33yOF\u0026q=85\u0026s=03aacea3ddce917c6907cb848fb6b46d","dark":"https://mintcdn.com/coplay/KZ8Rjc9ndnV33yOF/logo/logo.svg?fit=max\u0026auto=format\u0026n=KZ8Rjc9ndnV33yOF\u0026q=85\u0026s=03aacea3ddce917c6907cb848fb6b46d"},"favicon":"/favicon.ico","navbar":{"links":[{"href":"mailto:ben@coplay.dev","label":"Support"}],"primary":{"type":"button","label":"Get Started","href":"/getting-started/installation"}},"footer":{"socials":{"x":"https://x.com/JosvdWest","github":"https://github.com/coplayDev","linkedin":"https://linkedin.com/company/coplaydev","discord":"https://discord.com/invite/KmGfEr6d3v","youtube":"https://www.youtube.com/@coplay-ai"}},"styling":{"latex":false},"navigation":{"global":{"anchors":[{"anchor":"Community","icon":"discord","href":"https://discord.com/invite/KmGfEr6d3v"},{"anchor":"Blog","icon":"newspaper","href":"https://www.coplay.dev/blog"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"coplay","hasAudioNarration":false,"actualSubdomain":"coplay","customDomains":["docs.coplay.dev"],"gitSource":{"type":"github","owner":"coplaydev","repo":"coplay","deployBranch":"main","contentDirectory":"Docs","isPrivate":true,"mountPath":"","label":""},"entitlements":{"AI_CHAT":{"status":"DISABLED"}},"buildId":"6ae9280db0baf2aa5436c3d1:success","clientVersion":"0.0.4088","searchFilterCounts":[{"language":"default","tag":"Guides","count":17},{"language":"default","tag":"Get Started","count":5},{"language":"default","tag":"Using Coplay","count":4},{"language":"default","tag":"Tutorials","count":3},{"language":"default","tag":"Coplay MCP","count":2},{"language":"default","tag":"Modes","count":2},{"language":"default","tag":"Unity MCP","count":1}]},"assistantConfig":{},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"comment-mode","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"getting-started/promptguide","slug":"/getting-started/promptguide","pageMetadata":{"title":"Prompt Guide","description":"Master the art of contextual prompting to receive precise, actionable results from Coplay, every time.","href":"/getting-started/promptguide","hidden":false},"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 contextual prompting to receive precise, actionable results from Coplay, every time.\"\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={blockquote:`blockquote`,code:`code`,hr:`hr`,li:`li`,p:`p`,strong:`strong`,ul:`ul`,..._provideComponents(),...props.components},{Heading,OptimizedImage,Tip,Warning}=_components;if(!Heading)_missingMdxReference(`Heading`,true);if(!OptimizedImage)_missingMdxReference(`OptimizedImage`,true);if(!Tip)_missingMdxReference(`Tip`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`Effective communication is key to efficiency. By organizing your requests using a clear framework, you eliminate guesswork for `,_jsx(_components.strong,{children:`Coplay`}),` and ensure the output—be it code, refactoring, or scene analysis—is always ready to use in your Unity project.`]}),`\n`,_jsx(Heading,{level:`2`,id:`the-optimal-prompt-formula`,children:`The Optimal Prompt Formula`}),`\n`,_jsxs(_components.p,{children:[`Every high-quality `,_jsx(_components.strong,{children:`Coplay`}),` prompt should contain these three components:`]}),`\n`,_jsx(Heading,{level:`3`,id:`1-initial-state-the-context`,children:_jsx(_components.strong,{children:`1. Initial State (The Context)`})}),`\n`,_jsx(_components.p,{children:`Define where you are starting. Include the necessary background, the existing issue, or the component you plan to modify.`}),`\n`,_jsxs(_components.blockquote,{children:[`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Example:`}),` “I have a third-person camera system using Cinemachine. The shake on impact is jarring.”`]}),`\n`]}),`\n`,_jsx(OptimizedImage,{src:`https://mintcdn.com/coplay/r3tlrFdB2A71g3tz/images/Prompt-Guide/initialstate.png?fit=max\u0026auto=format\u0026n=r3tlrFdB2A71g3tz\u0026q=85\u0026s=82eb459d512ecd19d00500094377b319`,alt:`Initialstate Pn`,\"data-og-width\":`624`,width:`624`,\"data-og-height\":`126`,height:`126`,\"data-path\":`images/Prompt-Guide/initialstate.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/coplay/r3tlrFdB2A71g3tz/images/Prompt-Guide/initialstate.png?w=280\u0026fit=max\u0026auto=format\u0026n=r3tlrFdB2A71g3tz\u0026q=85\u0026s=85a887aca74d91d4866a0fe331161d25 280w, https://mintcdn.com/coplay/r3tlrFdB2A71g3tz/images/Prompt-Guide/initialstate.png?w=560\u0026fit=max\u0026auto=format\u0026n=r3tlrFdB2A71g3tz\u0026q=85\u0026s=42f1729da84ca8b18abdc01365ff2ade 560w, https://mintcdn.com/coplay/r3tlrFdB2A71g3tz/images/Prompt-Guide/initialstate.png?w=840\u0026fit=max\u0026auto=format\u0026n=r3tlrFdB2A71g3tz\u0026q=85\u0026s=e671c0edcdde54a4959939d7dae84ec7 840w, https://mintcdn.com/coplay/r3tlrFdB2A71g3tz/images/Prompt-Guide/initialstate.png?w=1100\u0026fit=max\u0026auto=format\u0026n=r3tlrFdB2A71g3tz\u0026q=85\u0026s=de42211c982b9bb7cdb0deaad16998ef 1100w, https://mintcdn.com/coplay/r3tlrFdB2A71g3tz/images/Prompt-Guide/initialstate.png?w=1650\u0026fit=max\u0026auto=format\u0026n=r3tlrFdB2A71g3tz\u0026q=85\u0026s=917c68623258b89beab712767b180839 1650w, https://mintcdn.com/coplay/r3tlrFdB2A71g3tz/images/Prompt-Guide/initialstate.png?w=2500\u0026fit=max\u0026auto=format\u0026n=r3tlrFdB2A71g3tz\u0026q=85\u0026s=045acb264815e9ec6989b60c425e16ca 2500w`}),`\n`,_jsx(Heading,{level:`3`,id:`2-desired-outcome-the-goal`,children:_jsx(_components.strong,{children:`2. Desired Outcome (The Goal)`})}),`\n`,_jsx(_components.p,{children:`State exactly what you want the AI to deliver. Be specific about the functionality and the performance criteria.`}),`\n`,_jsxs(_components.blockquote,{children:[`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Example:`}),` “Refactor the camera script to smoothly ramp up and then immediately decay the shake effect over 0.75 seconds to feel more natural.”`]}),`\n`]}),`\n`,_jsx(OptimizedImage,{src:`https://mintcdn.com/coplay/r3tlrFdB2A71g3tz/images/Prompt-Guide/refactor.png?fit=max\u0026auto=format\u0026n=r3tlrFdB2A71g3tz\u0026q=85\u0026s=ef59eb788aec0081bc7ed2be7de67fc6`,alt:`Refactor Pn`,\"data-og-width\":`642`,width:`642`,\"data-og-height\":`133`,height:`133`,\"data-path\":`images/Prompt-Guide/refactor.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/coplay/r3tlrFdB2A71g3tz/images/Prompt-Guide/refactor.png?w=280\u0026fit=max\u0026auto=format\u0026n=r3tlrFdB2A71g3tz\u0026q=85\u0026s=07f3f7beb05662d297131e2933cb9881 280w, https://mintcdn.com/coplay/r3tlrFdB2A71g3tz/images/Prompt-Guide/refactor.png?w=560\u0026fit=max\u0026auto=format\u0026n=r3tlrFdB2A71g3tz\u0026q=85\u0026s=a8250319bbffa41a7d450464682b0df4 560w, https://mintcdn.com/coplay/r3tlrFdB2A71g3tz/images/Prompt-Guide/refactor.png?w=840\u0026fit=max\u0026auto=format\u0026n=r3tlrFdB2A71g3tz\u0026q=85\u0026s=9fb89080cfdbb2b05f1dd8075f235213 840w, https://mintcdn.com/coplay/r3tlrFdB2A71g3tz/images/Prompt-Guide/refactor.png?w=1100\u0026fit=max\u0026auto=format\u0026n=r3tlrFdB2A71g3tz\u0026q=85\u0026s=d383919967ea1a4fd3c22a0ff1c7021e 1100w, https://mintcdn.com/coplay/r3tlrFdB2A71g3tz/images/Prompt-Guide/refactor.png?w=1650\u0026fit=max\u0026auto=format\u0026n=r3tlrFdB2A71g3tz\u0026q=85\u0026s=1c32ba12fa4d4da7508d874f4200e2ef 1650w, https://mintcdn.com/coplay/r3tlrFdB2A71g3tz/images/Prompt-Guide/refactor.png?w=2500\u0026fit=max\u0026auto=format\u0026n=r3tlrFdB2A71g3tz\u0026q=85\u0026s=85c899bef0b77f18be681baf12018fde 2500w`}),`\n`,_jsx(Heading,{level:`3`,id:`3-response-specifications-the-format`,children:_jsx(_components.strong,{children:`3. Response Specifications (The Format)`})}),`\n`,_jsxs(_components.p,{children:[`Tell `,_jsx(_components.strong,{children:`Coplay`}),` where the change should happen and how the output should be structured.`]}),`\n`,_jsxs(_components.blockquote,{children:[`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Example:`}),` “Provide the full C# script for `,_jsx(_components.strong,{children:_jsx(_components.code,{children:`@CameraControl.cs`})}),` with the new logic, ensuring all public fields are serialized.”`]}),`\n`]}),`\n`,_jsx(OptimizedImage,{src:`https://mintcdn.com/coplay/r3tlrFdB2A71g3tz/images/Prompt-Guide/TheFormat.png?fit=max\u0026auto=format\u0026n=r3tlrFdB2A71g3tz\u0026q=85\u0026s=7ca3e64818b21883708e60b0c5a8a0a5`,alt:`The Format Pn`,\"data-og-width\":`641`,width:`641`,\"data-og-height\":`136`,height:`136`,\"data-path\":`images/Prompt-Guide/TheFormat.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/coplay/r3tlrFdB2A71g3tz/images/Prompt-Guide/TheFormat.png?w=280\u0026fit=max\u0026auto=format\u0026n=r3tlrFdB2A71g3tz\u0026q=85\u0026s=e5cc1cfd4e462ae9c2356cb4e38fad69 280w, https://mintcdn.com/coplay/r3tlrFdB2A71g3tz/images/Prompt-Guide/TheFormat.png?w=560\u0026fit=max\u0026auto=format\u0026n=r3tlrFdB2A71g3tz\u0026q=85\u0026s=58b9950e780c1e9a4dd17ed2978ea680 560w, https://mintcdn.com/coplay/r3tlrFdB2A71g3tz/images/Prompt-Guide/TheFormat.png?w=840\u0026fit=max\u0026auto=format\u0026n=r3tlrFdB2A71g3tz\u0026q=85\u0026s=1072562f3ab3126ffa958c27157ced4e 840w, https://mintcdn.com/coplay/r3tlrFdB2A71g3tz/images/Prompt-Guide/TheFormat.png?w=1100\u0026fit=max\u0026auto=format\u0026n=r3tlrFdB2A71g3tz\u0026q=85\u0026s=c429420b8bc798082c4046afb4891f9d 1100w, https://mintcdn.com/coplay/r3tlrFdB2A71g3tz/images/Prompt-Guide/TheFormat.png?w=1650\u0026fit=max\u0026auto=format\u0026n=r3tlrFdB2A71g3tz\u0026q=85\u0026s=9546efba94cffed450689bfece9fe334 1650w, https://mintcdn.com/coplay/r3tlrFdB2A71g3tz/images/Prompt-Guide/TheFormat.png?w=2500\u0026fit=max\u0026auto=format\u0026n=r3tlrFdB2A71g3tz\u0026q=85\u0026s=7d905997c96ab10d6c16c5f0e438f81a 2500w`}),`\n`,_jsx(Tip,{children:_jsxs(_components.p,{children:[`A great prompt is always focused: `,_jsx(_components.strong,{children:`What is happening?`}),` ➡️ `,_jsx(_components.strong,{children:`What should happen?`}),` ➡️ `,_jsx(_components.strong,{children:`Where should it go?`})]})}),`\n`,_jsx(Heading,{level:`2`,id:`ensuring-project-focus`,children:`Ensuring Project Focus`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Coplay`}),` is project-aware, but you must direct its attention. Always reference specific files or objects to ensure the AI uses the correct context from your Unity project.`]}),`\n`,_jsx(Heading,{level:`3`,id:`always-reference-assets`,children:_jsx(_components.strong,{children:`Always Reference Assets`})}),`\n`,_jsxs(_components.p,{children:[`Avoid generalized language. Use file pinning (like the `,_jsx(_components.code,{children:`@`}),` symbol) or the in-editor selection tools to ensure `,_jsx(_components.strong,{children:`Coplay`}),` is working on the correct scripts, prefabs, or scenes.`]}),`\n`,_jsxs(_components.blockquote,{children:[`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Effective:`}),` “Please update the `,_jsx(_components.code,{children:`PlayerAttack()`}),` function inside `,_jsx(_components.strong,{children:_jsx(_components.code,{children:`@MeleeCombatSystem.cs`})}),` to…” `,_jsx(_components.strong,{children:`Ineffective:`}),` “Fix the player’s attack script…”`]}),`\n`]}),`\n`,_jsx(Warning,{children:_jsxs(_components.p,{children:[`Asking `,_jsx(_components.strong,{children:`Coplay`}),` to perform tasks like “Fix all compilation errors” will yield poor results. Be precise: “Address the specific type error in the `,_jsx(_components.strong,{children:_jsx(_components.code,{children:`@HealthBarUI.cs`})}),` script.”`]})}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`2`,id:`dealing-with-subpar-outputs`,children:`Dealing with Subpar Outputs`}),`\n`,_jsxs(_components.p,{children:[`If `,_jsx(_components.strong,{children:`Coplay`}),` generates an incorrect or incomplete response, resist the urge to debug it conversationally within the same thread. Since you cannot edit past prompts, this only creates confusion.`]}),`\n`,_jsx(Heading,{level:`3`,id:`know-when-to-reset`,children:_jsx(_components.strong,{children:`Know When to Reset`})}),`\n`,_jsxs(_components.p,{children:[`If the AI misunderstands the core objective after the first attempt, it is always the most efficient choice to `,_jsx(_components.strong,{children:`Start a New Thread`}),`.`]}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`A clean start ensures the model is not polluted by the failed attempts and has a fresh contextual memory for your request.`}),`\n`,_jsxs(_components.li,{children:[`When starting the new thread, you may need to `,_jsx(_components.strong,{children:`re-pin your assets`}),` and provide richer `,_jsx(_components.strong,{children:`Initial State`}),` context to guide the AI correctly this time.`]}),`\n`]}),`\n`,_jsx(Warning,{children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`NEVER`}),` attempt to debug or fix a massive, incorrect AI output by conversationally pointing out dozens of errors. `,_jsx(_components.strong,{children:`Start a New Thread instead.`})]})})]})}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":"Prompt Guide","description":"Master the art of contextual prompting to receive precise, actionable results from Coplay, every time.","href":"/getting-started/promptguide","hidden":false}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"The Optimal Prompt Formula","slug":"the-optimal-prompt-formula","depth":2,"children":[{"title":"1. Initial State (The Context)","slug":"1-initial-state-the-context","depth":3,"children":[]},{"title":"2. Desired Outcome (The Goal)","slug":"2-desired-outcome-the-goal","depth":3,"children":[]},{"title":"3. Response Specifications (The Format)","slug":"3-response-specifications-the-format","depth":3,"children":[]}]},{"title":"Ensuring Project Focus","slug":"ensuring-project-focus","depth":2,"children":[{"title":"Always Reference Assets","slug":"always-reference-assets","depth":3,"children":[]}]},{"title":"Dealing with Subpar Outputs","slug":"dealing-with-subpar-outputs","depth":2,"children":[{"title":"Know When to Reset","slug":"know-when-to-reset","depth":3,"children":[]}]}],"codeExamples":{}},"jsLinks":[],"subdomain":"coplay","siteName":"Coplay Documentation","title":"Prompt Guide - Coplay Documentation","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"originalFileLocation":"getting-started/promptguide.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 contextual prompting to receive precise, actionable results from Coplay, every time.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Coplay Documentation\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/coplay/2qSsIvzClypMTVvr/_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/coplay/2qSsIvzClypMTVvr/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/coplay/2qSsIvzClypMTVvr/_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/coplay/2qSsIvzClypMTVvr/_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/coplay/2qSsIvzClypMTVvr/_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/coplay/2qSsIvzClypMTVvr/_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/coplay/2qSsIvzClypMTVvr/_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/coplay/2qSsIvzClypMTVvr/_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/coplay/2qSsIvzClypMTVvr/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Prompt Guide - Coplay Documentation\">\u003cmeta data-mint-head property=\"og:description\" content=\"Master the art of contextual prompting to receive precise, actionable results from Coplay, every time.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Coplay Documentation\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.coplay.dev/getting-started/promptguide\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://coplay.mintlify.site/_mintlify/api/og/v2?division=Get+Started\u0026amp;title=Prompt+Guide\u0026amp;description=Master+the+art+of+contextual+prompting+to+receive+precise%2C+actionable+results+from+Coplay%2C+every+time.\u0026amp;theme=5621b210faa8ffb5bd0bc99d\u0026amp;signature=a7336463a4facef8c769e57008727d5ddb475624ade41ed982129f9bca2c207d\">\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=\"Prompt Guide - Coplay Documentation\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Master the art of contextual prompting to receive precise, actionable results from Coplay, every time.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://coplay.mintlify.site/_mintlify/api/og/v2?division=Get+Started\u0026amp;title=Prompt+Guide\u0026amp;description=Master+the+art+of+contextual+prompting+to+receive+precise%2C+actionable+results+from+Coplay%2C+every+time.\u0026amp;theme=5621b210faa8ffb5bd0bc99d\u0026amp;signature=a7336463a4facef8c769e57008727d5ddb475624ade41ed982129f9bca2c207d\">\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/coplay/2qSsIvzClypMTVvr/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Coplay Documentation\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#442172\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.coplay.dev/getting-started/promptguide\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/getting-started/promptguide.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.coplay.dev/#organization\",\"name\":\"Coplay Documentation\",\"url\":\"https://docs.coplay.dev\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/coplay/KZ8Rjc9ndnV33yOF/logo/logo.svg?fit=max\u0026auto=format\u0026n=KZ8Rjc9ndnV33yOF\u0026q=85\u0026s=03aacea3ddce917c6907cb848fb6b46d\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.coplay.dev#website\",\"name\":\"Coplay Documentation\",\"url\":\"https://docs.coplay.dev\",\"publisher\":{\"@id\":\"https://docs.coplay.dev/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.coplay.dev/getting-started/promptguide#webpage\",\"url\":\"https://docs.coplay.dev/getting-started/promptguide\",\"name\":\"Prompt Guide\",\"description\":\"Master the art of contextual prompting to receive precise, actionable results from Coplay, every time.\",\"isPartOf\":{\"@id\":\"https://docs.coplay.dev#website\"},\"breadcrumb\":{\"@id\":\"https://docs.coplay.dev/getting-started/promptguide#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.coplay.dev/getting-started/promptguide#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Get Started\",\"item\":\"https://docs.coplay.dev/getting-started/index\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Prompt Guide\",\"item\":\"https://docs.coplay.dev/getting-started/promptguide\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.coplay.dev/getting-started/promptguide#article\",\"headline\":\"Prompt Guide\",\"name\":\"Prompt Guide\",\"description\":\"Master the art of contextual prompting to receive precise, actionable results from Coplay, every time.\",\"url\":\"https://docs.coplay.dev/getting-started/promptguide\",\"mainEntityOfPage\":{\"@id\":\"https://docs.coplay.dev/getting-started/promptguide#webpage\"},\"publisher\":{\"@id\":\"https://docs.coplay.dev/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.coplay.dev#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Coplay Documentation\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Coplay Documentation","nav":{"global":{"anchors":[{"anchor":"Community","icon":"discord","href":"https://discord.com/invite/KmGfEr6d3v"},{"anchor":"Blog","icon":"newspaper","href":"https://www.coplay.dev/blog"}]},"tabs":[{"tab":"Guides","groups":[{"group":"Get Started","pages":[{"title":"Welcome to Coplay","href":"/getting-started"},{"title":"Installation","href":"/getting-started/installation"},{"title":"Quickstart","description":"Get started with Coplay in your Unity project in minutes","href":"/getting-started/quickstart"},{"title":"Prompt Guide","href":"/getting-started/promptguide"},{"title":"Prompt Cost Guide","description":"Average prompt costs for Coplay users across GPT-5, Claude 4.5, and Gemini 3.","href":"/getting-started/promptcost"}]},{"group":"Using Coplay","pages":[{"title":"Best Practices","href":"/essentials/best-practices"},{"title":"Configuration","href":"/essentials/configuration"},{"title":"Settings","href":"/essentials/settings"},{"title":"Troubleshooting","href":"/essentials/troubleshooting"},{"title":"Common Issues","href":"/essentials/Common-Issues"}]},{"group":"Modes","pages":[{"title":"Modes Overview","href":"/essentials/modes"},{"title":"Troubleshooting","href":"/essentials/troubleshooting"}]},{"group":"Modes","pages":[{"title":"Modes Overview","href":"/essentials/modes"}]},{"group":"Coplay MCP","pages":[{"title":"Quick Start","href":"/coplay-mcp/guide"},{"title":"Setting Up Coplay MCP with Claude Code","href":"/coplay-mcp/claude-code-guide"}]},{"group":"Tutorials","pages":[{"title":"Build a Chess Game","href":"/tutorials/chess"},{"title":"Generate Blender Assets","href":"/tutorials/blender-mcp"},{"title":"Creating UI with Coplay","href":"/tutorials/Creating-UI"}]},{"group":"Unity MCP","pages":[{"title":"Comparing Coplay with Unity MCP","href":"/unity-mcp/coplay-comparison"}]}]}]},"basePath":"","title":"Prompt Guide - Coplay Documentation","buildId":"dpl_DTau1J5HqS9UTgVSDwGksstFWtPa","deploymentId":"dpl_DTau1J5HqS9UTgVSDwGksstFWtPa","dynamics":["a74be98ba7"],"chunks":["zoom-image-lightbox-BFbLClTf.js","lightbox-handle-r17bVUz3.js"]}