Commit Graph

9 Commits

Author SHA1 Message Date
Valentin Kirilov 5c0437f13b chore(validate): allow evals/ directory in spec-format skills
Pass --allow-dirs=evals to skill-validator so the internal-tooling evals/
subdirectory under each skill no longer trips the spec's "unknown directory"
warning. The agentskills.io spec explicitly permits additional directories
at the skill root; the eval suite layout lives under evals/<suite>/ and is
read by this repo's eval runner only, not by agents at runtime.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-22 13:28:18 +03:00
Valentin Kirilov 9032f7e8df Add advisory skill structure validation (#19)
Add an advisor workflow that runs skill-validator for skill structure checks
2026-05-22 09:39:42 +03:00
DimoHG eba2af2c64 fix(cursor): add path traversal checks and require per-plugin manifest
Address two issues flagged in PR review:

1. Validate pluginRoot and source with isSafeRelativePath before using
   them in path.resolve. Without this, absolute paths or .. traversals
   in marketplace.json would pass validation silently.

2. Error when the per-plugin .cursor-plugin/plugin.json is missing
   instead of silently skipping it. A missing manifest would prevent
   the plugin from loading, so the validator should catch it.

Made-with: Cursor
2026-03-10 13:27:23 +02:00
DimoHG 772c79e73b feat(cursor): update validator to support marketplace.json
The pre-commit validator previously required a root plugin.json and
would fail when only marketplace.json was present.

Refactor the validator to check for marketplace.json first, falling
back to root plugin.json for single-plugin repos. For marketplace
repos, validate the marketplace manifest (name, owner, plugins array),
resolve each plugin directory using pluginRoot + source, and validate
per-plugin manifests with paths relative to the plugin directory.

Made-with: Cursor
2026-03-10 13:19:57 +02:00
Benoit Dion 10f147965a fix(cursor): consolidate to single root plugin manifest 2026-02-26 20:35:40 +01:00
Phil 925b65ef80 chore: sync marketplace review updates and cursor validation
Apply Claude PR review follow-ups, align owner/email metadata for Cursor, add dedicated Cursor validator checks, and wire validate scripts in CI/package scripts.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-02-20 15:41:20 -05:00
Philip Laussermair 06812f52f5 Add Cursor plugin marketplace support 2026-02-20 15:40:59 -05:00
Yusuf Bahadur bad8fc1433 CoPilot comments 2026-02-19 11:35:21 -05:00
Yusuf Bahadur bf15e8917f Add Claude Code plugin marketplace support 2026-02-19 06:47:14 -05:00