mirror of
https://github.com/redis/agent-skills.git
synced 2026-09-19 01:25:14 +08:00
58eee3cdde
Two changes to validation: 1. Hooks validate:skill-structure into the validate alias so a single 'npm run validate' covers both plugin manifests and agentskills.io spec compliance across all skill directories. The skill-structure validator already iterates every skill under skills/ via --all; this just ensures it actually runs in the normal validate flow rather than needing a separate invocation. 2. Adds --enforce to validate:skill-structure so any agentskills.io spec error (invalid frontmatter, escaping internal links, broken external links) fails the validate command — failing pre-commit and CI. Warnings remain advisory. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
22 lines
837 B
JSON
22 lines
837 B
JSON
{
|
|
"name": "agent-skills",
|
|
"private": true,
|
|
"workspaces": [
|
|
"packages/*"
|
|
],
|
|
"scripts": {
|
|
"eval": "npm run eval --workspace=redis-development-build --",
|
|
"eval:aggregate": "npm run eval:aggregate --workspace=redis-development-build --",
|
|
"eval:baseline": "npm run eval:baseline --workspace=redis-development-build --",
|
|
"validate": "npm run validate:plugins && npm run validate:skill-structure",
|
|
"validate:skill-structure": "node scripts/validate-skill-structure.mjs --all --enforce",
|
|
"validate:claude-plugins": "node scripts/validate-claude-plugins.mjs",
|
|
"validate:cursor-plugins": "node scripts/validate-cursor-plugins.mjs",
|
|
"validate:plugins": "npm run validate:claude-plugins && npm run validate:cursor-plugins",
|
|
"prepare": "husky"
|
|
},
|
|
"devDependencies": {
|
|
"husky": "^9.1.7"
|
|
}
|
|
}
|