From 77560b93052dcf8d1f369e8d4fdfff12e6790e3a Mon Sep 17 00:00:00 2001 From: "Dr. Dominik Jain" Date: Tue, 21 Apr 2026 17:23:58 +0200 Subject: [PATCH] :sparkles: Encourage use of layouts and proper naming #9081 (#9084) Improve MCP instructions on design creation: * Agents should make use of layouts when appropriate * Agents should name all elements appropriately --- 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