pie-design-system
Installation
SKILL.md
Bootstrap (IMPORTANT do this first, every time)
Paths note: All paths in this skill are relative to this skill's own directory unless stated otherwise.
Guides note:
guides/holds whatever docs the consumer's installed package versions ship, so its contents vary between projects. Treat a listing ofguides/as the list of what is actually available rather than assuming a guide named in this skill is present. Where one is missing, fall back totokens/tokensMetadata.jsonand the component docs, and do not guess at utility class names.
- Check whether
.versionsexists. - If missing → ensure the three core packages are installed (
@justeattakeaway/pie-webc,@justeattakeaway/pie-css,@justeattakeaway/pie-icons-webc), then runscripts/fetch-references.mjswith the consumer project as the working directory, since it reads their installed packages. - If present → compare each entry in
.versionsagainst the installed version of that package, and re-run the script if any differ.
.versions keys are fully scoped package names, so read the scope from the key rather than assuming it: