Skills 2026-06-15 14:37 UTC
aws-skills
Committed by zxkane. Update Category: Dependency Upgrades & Maintenance. Commit details: ci: add marketplace + skill structure validation workflow (#8). This update refreshes dependencies and build configuration.
CommitRaw commit message
ci: add marketplace + skill structure validation workflow (#8) * ci: add marketplace + skill structure validation workflow Adds a GitHub-hosted (ubuntu-latest, public-repo-safe) check that runs a stdlib-only Python validator on every PR/push to main. It guards the exact failure classes this repo has hit: - marketplace.json is valid JSON with the expected shape - every plugin `source` dir exists; every `skills[]` entry resolves to a dir with a SKILL.md (catches a renamed source path with a stale entry) - every SKILL.md has frontmatter with name + description - every committed .claude/skills/* symlink resolves (catches dev symlinks left dangling after a plugin rename — cf. the aws-cdk -> aws-iac rename) - no orphan skills unregistered in any plugin The workflow uses no untrusted input and runs with contents:read only. Once green on main, the `validate-marketplace` check is set as a required status check on the branch protection rule. * fix(ci): harden marketplace validator per review Address Amazon Q review findings on the validator: - frontmatter(): wrap read_text in try/except OSError, report + treat as empty rather than crashing on an unreadable SKILL.md - check_all_skill_frontmatter(): guard against a missing plugins/ dir before rglob() instead of raising FileNotFoundError - check_dev_symlinks(): flag symlinks that resolve outside the repo (supply-chain hygiene) before the existence check - main(): use isinstance(plugins, list) for the summary count so a malformed (non-list) plugins value can't raise