summaryrefslogtreecommitdiff
path: root/.github/scripts/validate-frontmatter.ts
AgeCommit message (Collapse)Author
2026-02-17fix(ci): skip frontmatter validation for files nested inside skill contentkenshiro/add-skill-creator-20260217Kenshiro Nakagawa
The detectFileType function matched any .md file under an agents/ or commands/ directory, including those nested inside skill content (e.g. plugins/foo/skills/bar/agents/). These are reference docs, not plugin agent definitions. Only validate agents/ and commands/ at the plugin root level.
2026-02-04Add CI workflow to validate YAML frontmatter in PRsdickson/validate-frontmatter-ciDickson Tsai
Adds a GitHub Actions workflow that validates frontmatter in agent, skill, and command .md files changed by a PR. Checks: - Agents: name and description are present and parseable - Skills: description is present (required for Skill tool discovery) - Commands: description is present and parseable The workflow only runs when PRs touch files in agents/, skills/, or commands/ directories, and only validates the changed files.