fix: switch Windsurf SKILL header to YAML frontmatter#272
Conversation
|
Summary: I’m deferring this PR from the cron-safe maintainer lane because it is currently too broad for the bounded PR budget and is not mergeable as-is. Decision: deferred / blocked by conflicts Evidence:
Next step: please rebase/resolve conflicts first, then keep the verification path explicit: the exact sync command, the platform-template validation command, and evidence that Windsurf frontmatter plus mirrored |
Rebase onto main with a focused fix: sync stale cli/assets platform templates from src (including Windsurf YAML frontmatter metadata), add sync/validate scripts, CI template guard, and prepublish checks. Dropped unrelated conda workflow and environment.yml changes from the previous branch to keep the PR reviewable.
ed90239 to
f597712
Compare
|
Rebased onto latest Dropped from previous branch (unrelated to the fix):
Verification commands (run from repo root): # 1. Sync src → cli/assets platform templates
node cli/scripts/sync-assets.mjs
# or: cd cli && npm run sync:assets
# 2. Confirm no drift after sync
git diff --exit-code -- cli/assets/templates/platforms
# 3. Validate frontmatter shape + src/assets parity
node cli/scripts/validate-platform-templates.mjs
# or: cd cli && npm run validate:platform-templatesEvidence (local run on rebased branch):
---
name: ui-ux-pro-max
description: Comprehensive design guide for web and mobile applications. Contains 67 styles, 161 color palettes, 57 font pairings, 99 UX guidelines, and 25 chart types across 16 technology stacks.
---Enforcement:
Diff size: 23 files, +163/-30 (was 26 files with unrelated CI changes). |
Summary
The original Windsurf issue was caused by generated
SKILL.mdheader format. This PR keeps the Windsurf YAML-frontmatter fix and adds repo-level safeguards so similar template drift does not affect other platforms.What changed
name+description)sync:assetsto sync all platform templates fromsrc/ui-ux-pro-max/templates/platformstocli/assets/templates/platformsvalidate-platform-templatesguard to verify:cli/package.jsonprepublishOnly.github/workflows/template-guard.ymlon PRs/pushesUser impact
SKILL.mdheader format by default