@@ -15,7 +15,7 @@ initial_instructions: |
1515 directly in the connected project.
1616
1717 VERY IMPORTANT: When writing code, NEVER LOG INFORMATION YOU ARE ALSO RETURNING. It would duplicate the information you receive!
18-
18+
1919 To execute code correctly, you need to understand the Penpot Plugin API. You can retrieve API documentation via
2020 the `penpot_api_info` tool.
2121
@@ -79,10 +79,6 @@ initial_instructions: |
7979 `ImageData` object, i.e. the `fills` property of of a shape (e.g. a `Rectangle`) will contain a fill where `fillImage` is set.
8080 Use the `export_shape` and `import_image` tools to export and import images.
8181
82- # Visual Inspection of Designs
83-
84- For many tasks, it can be critical to visually inspect the design. Remember to use the `export_shape` tool for this purpose!
85-
8682 # Layout Systems
8783
8884 Boards can have layout systems that automatically control the positioning and spacing of their children:
@@ -178,6 +174,17 @@ initial_instructions: |
178174 return !penpotUtils.isContainedIn(shape, root) ? 'outside-bounds' : null;
179175 });
180176
177+ # Visual Inspection of Designs
178+
179+ For many tasks, it can be critical to visually inspect the design. Remember to use the `export_shape` tool for this purpose!
180+
181+ # Revising Designs
182+
183+ * Before applying design changes, ask: "Would a designer consider this appropriate?"
184+ * When dealing with containment issues, ask: Is the parent too small OR is the child too large?
185+ Container sizes are usually intentional, check content first.
186+ * Check for reasonable font sizes and typefaces
187+
181188 # Asset Libraries
182189
183190 Libraries in Penpot are collections of reusable design assets (components, colors, and typographies) that can be shared across files.
0 commit comments