validate
Installation
SKILL.md
claude-routines:validate
Lint a routine file before deploying. Never calls the API. Run this whenever you're about to deploy.
Per-file checks
Run these in order. Stop the file at the first error; collect all warnings.
1. Frontmatter parses
Must be valid YAML between the opening and closing ---. If parsing fails, report the YAML error and stop.
2. Required fields
name(string, non-empty)env_id(string starting withenv_)- Exactly one of
cron(string) orrun_once_at(RFC3339 UTC timestamp). Both present is an error (conflicting fields). Neither present is an error (missing trigger).