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
This commit is contained in:
Dr. Dominik Jain 2026-04-21 17:23:58 +02:00 committed by GitHub
parent bd82829cb7
commit 77560b9305
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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