mirror of
https://github.com/forcedotcom/afv-library.git
synced 2026-07-30 03:09:50 +08:00
* feat(validate-skills): require js-yaml-parsable SKILL frontmatter Validate the raw YAML between --- delimiters with js-yaml so frontmatter matches strict parsers (e.g. descriptions with unquoted colon+space). - Add js-yaml devDependency - Extract parseFrontmatterBlock for shared delimiter parsing - On YAMLException, report reason, line/column, character index, and snippet Made-with: Cursor * refactor(validate-skills): address PR review (YAMLException, JSON_SCHEMA, context) - Catch only YAMLException; re-throw unexpected errors - Parse frontmatter with yaml.JSON_SCHEMA - Add rawFrontmatter to SkillContext; single parseFrontmatterBlock per file - Type-guard mark fields and reason in formatYamlFrontmatterParseError - Rename delimiterLen to fullMatchLen - Collapse error message into one template literal Made-with: Cursor |
||
|---|---|---|
| .. | ||
| sync-react-b2e-sample.js | ||
| sync-react-b2x-sample.js | ||
| sync-webapp-skills.js | ||
| validate-skills.ts | ||