Validate screenshot reconstruction against the live instance and record fidelity honestly #213
Labels
No labels
bug
chore
documentation
enhancement
feature
ready
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
david/pi-extensions-and-skills#213
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Rehearse the documented image → design path end to end on a real screenshot and record the result honestly: which regions reconstructed well, which did not, whether the output is genuinely editable and library-linked, and whether the workflow instructions were sufficient to follow without improvisation.
Background
Depends on: #212
This is the only creation path whose quality depends on the agent's judgement rather than on payload correctness, so it cannot be covered by unit tests — it has to be exercised and reported on. Two questions are being answered:
Approximate fidelity is explicitly accepted. What is not acceptable is an unreported gap: the validation must state plainly which parts came out well and which did not, so the skill can warn a user in advance.
Use a screenshot of a screen whose real design system is known, so the reconstruction can be compared against both the image and the intended tokens. Prefer a screen from the reference project (Tailwind
@themepalette with aDESIGN.md) over a synthetic mockup.Documentation Required
A separate process downloads these into the listed folders before this issue is implemented. Check the folders for the actual reference material before starting.
docs/reference/pi-coding-agent/skills/penpot/SKILL.md.docs/reference/penpot-api/docs/reference/tailwindcss/--spacing-*,--text-*) that maps onto layout gaps and typography assets.Implementation Details
DESIGN.mdand@themepalette) plus the component inventory available from the imported library.skills/penpot/SKILL.mdand execute the image → design section step by step, using only the tools it names. Keep a note of every moment where the instructions were ambiguous, missing a step, or wrong — that list is as important as the reconstruction.read;penpot_instance_componentwhere a library component matches a repeated element, and composed primitives elsewhere.extensions/penpot/findings.mdunder "Image → design":Fix any defect found: skill wording, missing tool guidance, or extension behaviour discovered along the way. Do not merely note a gap in the skill — edit it.
Acceptance Criteria
skills/penpot/SKILL.mdliterally, using only the tools it names.extensions/penpot/findings.mdrecords a region-by-region assessment — including what did not come out well — plus the library-linked/instance ratios and an overall verdict with caveats.skills/penpot/SKILL.mdin this step, not merely listed.Test Plan
Manual, against the live instance:
Then in the Penpot UI:
library) or local?pi-loop opened and merged a pull request for this issue: #246