Skip to content

Commit c971aee

Browse files
samedsonkmandrikajoehangemini-code-assist[bot]
authored
Prevent the init prompt from building a mobile app backend (#9180)
* Prevent the init prompt from building a mobile app backend Co-authored-by: Konstantin Mandrika <[email protected]> * Update src/mcp/prompts/core/init.ts Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com> --------- Co-authored-by: Konstantin Mandrika <[email protected]> Co-authored-by: Joe Hanley <[email protected]> Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
1 parent a3303f1 commit c971aee

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/mcp/prompts/core/init.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,8 @@ ${prompt || "<the user didn't supply specific instructions>"}
5454
5555
Follow the steps below taking note of any user instructions provided above.
5656
57+
IMPORTANT: The backend setup guide is for web apps only. If the user requests backend setup for a mobile app (iOS, Android, or Flutter), inform them that this is not supported and do not use the backend setup guide. You can still assist with other requests.
58+
5759
1. If there is no active user, use the \`firebase_login\` tool to help them sign in.
5860
2. If there is no active Firebase project, ask the user if they would like to create a project, or use an existing one, and ask them for the project ID
5961
- If they would like to create a project, use the firebase_create_project with the project ID

0 commit comments

Comments
 (0)