Skip to content

Commit 5cad4bc

Browse files
authored
Update prompts.mdx
1 parent 0200225 commit 5cad4bc

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/content/docs/agents/build/prompts.mdx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -498,7 +498,7 @@ const sql = postgres(env.HYPERDRIVE.connectionString)
498498
return Response.json(
499499
{ error: e instanceof Error ? e.message : e },
500500
{ status: 500 },
501-
);
501+
);
502502
}
503503

504504
},
@@ -775,6 +775,7 @@ You can use the prompt in several ways:
775775
* Cursor: add the prompt to [your Project Rules](https://docs.cursor.com/context/rules-for-ai)
776776
* Zed: use [the `/file` command](https://zed.dev/docs/assistant/assistant-panel) to add the prompt to the Assistant context.
777777
* Windsurf: use [the `@-mention` command](https://docs.codeium.com/chat/overview) to include a file containing the prompt to your Chat.
778+
* GitHub Copilot: create the [`.github/copilot-instructions.md`](https://docs.github.com/en/copilot/customizing-copilot/adding-repository-custom-instructions-for-github-copilot) file in your repository and add the prompt.
778779

779780
For example, you can use the prompts here with the OpenAI SDK by saving the prompt to a file within your project directory and passing the text to the `system` prompt.
780781

0 commit comments

Comments
 (0)