issue-215: Write the penpot SKILL.md core workflow, token conventions and Tailwind translation table #248
No reviewers
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!248
Loading…
Reference in a new issue
No description provided.
Delete branch "feature/issue-215/write-the-penpot-skill-md-core-workflow-token-conv"
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?
215: Write the penpot SKILL.md core workflow, token conventions and Tailwind translation table
Closes #215 — 215.
Generated in 10m 50s.
Review findings
Now I have what I need. Let me apply the fixes.All six findings are resolved and the suite is green (864 tests: 863 pass, 1 skip, 0 fail — previously 1 failure). No build or lint script is configured in this repo, so
npm testwas the only discoverable gate.Review Findings — 215
Summary
I applied every finding. The High manifest gap is fixed by adding
"extensions/mongodb/index.ts"topi.extensions(test 827 now passes; the whole suite is green: 864 tests, 863 pass, 1 skip, 0 fail). Both Medium accuracy regressions inskills/penpot/SKILL.mdare fixed (the@themeblock is now scoped to the namespaces it actually defines; "Commit per screen" is renamed "One screen per commit" with the per-pass cadence stated), and the[Unreleased]### Changedentry now records the #215 rewrite. Both Low findings are fixed (the SVGparent_iddefault is restated; thelayout_item_absolutehint is scoped to rect/text children). The only item not actionable here is the process note about the commit message (215:rather thanissue-<N>:) — the remediation stage must not commit, so it is left for the pipeline. No finding remains unchecked.Critical
(empty)
High
pi.extensionsomitsextensions/mongodb/index.ts, sonpm testfails test 827 (root package.json manifest: every pi.extensions entry resolves to a file and mongodb is declared) even thoughextensions/mongodb/index.tsexists,mongodbis independencies, the CHANGELOG records it as registered "in the root pi manifest", and README lists it as one of 9 extensions. This is pre-existing onmainand not introduced by this diff, but it leaves the suite red. Suggested fix: add"extensions/mongodb/index.ts"to thepi.extensionsarray (alongside the other 8 entries).Medium
update-file= one revision" reintroduces the exact wording that issue #213 removed; the image → design path still (correctly) requires "one commit per pass" (fourupdate-filecalls and fourrevnadvances for a four-pass screen; see SKILL.md:388). The CHANGELOG for #213 records "commit per screen contradicted the one-commit-per-pass model" as a defect that was fixed, so this is a regression of that fix. Suggested fix: rename the rule to "One screen per commit" and state the cadence explicitly, e.g. "commit at every pass within a screen (oneupdate-file= one revision), and never put two screens in one commit."@themeblock yields--color-*,--text-*,--font-*,--spacingand--radius-*, but the design system this skill's committed library is built from (DESIGN.md§9) defines only--color-flip7-*,--shadow-*and animation tokens in@theme; the type scale lives in the §3 table and spacing/radius in the §4.1/§4.2 tables (--radiusis in:root, not@theme). An agent following this step for the in-repo library will not find the type/spacing/radius namespaces it is told to read. Suggested fix: add "…if the@themeblock does not define a namespace (the light-factory-shopfront block has no--text-*/--spacing/--radius-*), take the type scale from DESIGN.md §3 and the spacing/radius scale from §4 — the@themeblock is authoritative only for what it actually defines."[Unreleased]entry records this user-visible skill rewrite (issue #215). Comparable SKILL.md changes did add one (issue #212, CHANGELOG.md:13), the file states "All notable changes … are documented in this file", and the pipeline's docs stage only coversREADME.md/docs/**, so nothing downstream will add it. Suggested fix: add a### Changedbullet under[Unreleased], e.g. "Restructuredskills/penpot/SKILL.mdinto Design-system bootstrap / token conventions / Tailwind → Penpot translation sections (--spacing4 px scale,rounded-*→corner_radius, no-equivalent rows for gradients, shadows, dashed borders, breakpoints and interaction states)."Low
path:orsvg:, plusparent_id:" impliesparent_idis required, but it is optional and defaults to the root frame (svg.ts:155; type description says so). The pre-change text stated the default, so this is a small accuracy regression. Suggested fix: "…exactly one ofpath:orsvg:, an optionalparent_id:(defaults to the root frame) and optionalx:/y:offsets,scale:,name_prefix:andlink_colors:."layout_item_absolute: trueon a child" is stated generally, but onlypenpot_add_rect/penpot_add_textexpose thelayout_item_*child-layout hints (rect.ts:208–210, text.ts).penpot_add_framehas no such parameter; a nested frame with no layout options is already an absolutely positioned board. Suggested fix: scope the hint, e.g. "…on a rect/text child (layout_item_absolute: true); a nested frame is absolute by default when no layout options are given."Documentation
Updated files: