From 1e09e00634a2be9ef8453ce20a5f908fcf512403 Mon Sep 17 00:00:00 2001 From: Andrey Antukh Date: Wed, 29 Apr 2026 16:12:50 +0000 Subject: [PATCH] :sparkles: Encourage use of layouts and proper naming in MCP Improve MCP instructions on design creation: * Agents should make use of layouts when appropriate * Agents should name all elements appropriately Signed-off-by: Andrey Antukh --- mcp/packages/server/data/initial_instructions.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/mcp/packages/server/data/initial_instructions.md b/mcp/packages/server/data/initial_instructions.md index 33ba407d23..3f6c19bd10 100644 --- a/mcp/packages/server/data/initial_instructions.md +++ b/mcp/packages/server/data/initial_instructions.md @@ -386,6 +386,9 @@ For many tasks, it can be critical to visually inspect the design. Remember to u * When transferring styles from a Penpot design to code, make sure that you strictly adhere to the design. NEVER make assumptions about missing values and don't get overly creative (e.g. don't pick your own colours and stick to non-creative defaults such as white/black if you are lacking information). +* When creating new designs, + - ensure a clean internal structure by applying flex and grid layouts when appropriate + - ensure proper semantic naming of elements. # Revising Designs