paulk-asert opened a new pull request, #3327:
URL: https://github.com/apache/groovy/pull/3327

   Every `SKILL.md` under `.agents/skills/` opened with the ASF license header 
as an HTML comment, with the YAML frontmatter after it.
   Skill loaders only recognise frontmatter that starts on the first line of 
the file, so stricter loaders found no frontmatter at all.
   pi, for example, skips every Groovy skill with `description is required`.
   Seven of the ten frontmatter blocks were also invalid YAML, because their 
`description:` contained an unquoted `: `.
   
   This PR:
   
   - moves the license header into the frontmatter as `#` comment lines, so 
`---` is the first line of each file;
   - quotes the seven descriptions that contained `: `;
   - updates `groovy-skills` (the header and frontmatter guidance, and its 
validation checklist) so new skills follow the new layout.
   
   The wording of the license header and of every description is unchanged.
   
   Checked:
   
   - `./gradlew :rat`: 0 unknown licenses, and each `SKILL.md` is still 
recognised as Apache-licensed;
   - all ten frontmatter blocks parse as YAML, each `name` matches its 
directory, and every description is under the 1,024-character limit.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

  • [PR] Put SKILL.md frontmatter f... paulk-asert (via GitHub) via notifications

Reply via email to