mirror of
https://github.com/pproenca/dot-skills.git
synced 2026-09-14 15:58:12 +08:00
44d64bf13a
The hand-rolled regex parser in scripts/skills-ref silently mishandled folded block scalars (only the `>` marker was captured, never the body) and inline YAML comments (everything after `# ` leaked into the value). Three skills already had descriptions over Anthropic's 1024-char limit without CI catching them. - Add js-yaml@4.1.0 and a thin scripts/skills-ref-parse.js helper that exposes parse/check-yaml/read-properties/to-prompt. - Replace the four hand-rolled YAML blocks in scripts/skills-ref with calls to the helper. - CI now runs `npm install` and the test suite before validate-all. - Trim effect-ts, marketplace-pre-member-personalisation, and marketplace-recsys-feature-engineering descriptions under 1024 chars. - Add regression fixtures for folded block scalars over 1024 chars and for inline-comment stripping.
13 lines
269 B
JSON
13 lines
269 B
JSON
{
|
|
"name": "dot-skills",
|
|
"private": true,
|
|
"description": "Tooling dependencies for skills-ref validator.",
|
|
"scripts": {
|
|
"validate": "./scripts/skills-ref validate-all",
|
|
"test": "./tests/run-tests.sh"
|
|
},
|
|
"dependencies": {
|
|
"js-yaml": "4.1.0"
|
|
}
|
|
}
|