From 20524a3a0d06cc86065876f301eba23c77b4e311 Mon Sep 17 00:00:00 2001 From: Dominik Jain Date: Mon, 19 Jan 2026 21:40:29 +0100 Subject: [PATCH] Instruct model to copy selection immediately --- mcp-server/data/prompts.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/mcp-server/data/prompts.yml b/mcp-server/data/prompts.yml index 3479366..5a68671 100644 --- a/mcp-server/data/prompts.yml +++ b/mcp-server/data/prompts.yml @@ -113,6 +113,7 @@ initial_instructions: | A key object to use in your code is the `penpot` object (which is of type `Penpot`): * `penpot.selection` provides the list of shapes the user has selected in the Penpot UI. If it is unclear which elements to work on, you can ask the user to select them for you. + ALWAYS immediately copy the selected shape(s) into `storage`! Do not assume that the selection remains unchanged. * `penpot.root` provides the root shape of the currently active page. * Generation of CSS content for elements via `penpot.generateStyle` * Generation of HTML/SVG content for elements via `penpot.generateMarkup`