#358
fix(web-design-guidelines): bundle pinned guidelines instead of fetching from main
Closes #348
Problem
The skill fetched its rules at runtime from web-interface-guidelines/main/command.md. That file is mutable, so any change to it silently changes what every agent using the skill does, and the skill has no rules if the fetch fails.
Fix
- Bundled
command.mdinreferences/command.md, pinned to upstream commit434b7f91364665f2f733b310ec54809bf8f37937 SKILL.mdnow reads the bundled file and tells the agent not to fetch rules from the network- Added the source URL and SHA-256 (
d246b026…0234) so anyone can verify the snapshot - Added an "Updating the Guidelines" section for refreshing the snapshot
- Explained that
$ARGUMENTSin the file means the files the user asked to review - Bumped version to 1.1.0
- Regenerated
web-design-guidelines.zip, which still contained the old fetch-from-main version
Testing
node scripts/build-discovery-index.mjspasses; the skill now publishes as a.tar.gzthat includesreferences/command.mdcommand.mdmatches upstream at the pinned commit (same SHA-256)
Note
writing-guidelines has the same problem, tracked in #357.
@jaryalarshita is attempting to deploy a commit to the Vercel Team on Vercel.
A member of the Team first needs to authorize it.