Skip to content

fix(skills): add license: Apache-2.0 frontmatter to 13 skills - #66

Merged
potiuk merged 1 commit into
apache:mainfrom
andreahlert:fix/skill-license-frontmatter
May 6, 2026
Merged

potiuk merged 1 commit into
apache:mainfrom
andreahlert:fix/skill-license-frontmatter

Conversation

@andreahlert

Copy link
Copy Markdown
Contributor

Summary

skill-validator requires every SKILL.md to declare license in its frontmatter, but 13 skills predate the requirement and were never backfilled. Running the validator locally on main surfaces them all:

$ skill-validate | grep "missing required frontmatter key: 'license'"
.claude/skills/pr-management-stats/SKILL.md:1: missing required frontmatter key: 'license'
.claude/skills/security-cve-allocate/SKILL.md:1: missing required frontmatter key: 'license'
... 11 more ...

All 13 skills are already Apache-2.0 (the SPDX header at the top of every file under .claude/skills/ says so), so this is a mechanical one-value fill, no decisions needed:

  • pr-management-stats
  • security-cve-allocate
  • security-issue-{deduplicate,fix,import,import-from-md,import-from-pr,invalidate,sync}
  • setup-isolated-setup-{install,update,verify}
  • setup-shared-config-sync

What this does not fix

The remaining skill-validator violations on main are not mechanical:

  • 13 broken links to deleted code-review.instructions.md. Decision needed: restore the file or update references.
  • 3 broken providers/AGENTS.md links (apache/airflow-specific paths leaked into framework-generic skills).
  • 4 unsubstituted <...> placeholders in pr-management-triage/comment-templates.md (adopter-config convention vs. literal substitution).
  • Anchor mismatches from a slugify bug; fix(skill-validator): match GitHub anchor algorithm for repeated whitespace #65 fixes most of them.

Each is a separate scoped follow-up. After all of them, skill-validator can be wired into prek + CI without burning the build.

@andreahlert
andreahlert requested a review from potiuk May 6, 2026 07:48
`skill-validator` requires `license` in every SKILL.md frontmatter, but
13 skills predate the requirement and were never backfilled. The
validator surfaces them all today; running it locally yields:

  $ skill-validate | grep "missing required frontmatter key: 'license'"
  ... 13 hits ...

All skills here are Apache-2.0 (matches the SPDX header on every file
under `.claude/skills/`), so this is a one-value fill across:

- `pr-management-stats`
- `security-cve-allocate`
- `security-issue-{deduplicate,fix,import,import-from-md,import-from-pr,invalidate,sync}`
- `setup-isolated-setup-{install,update,verify}`
- `setup-shared-config-sync`

After this PR the only remaining violations are anchor mismatches and
broken links, neither of which is mechanical. Wiring `skill-validator`
into prek + CI is a follow-up; this PR keeps scope small.
@potiuk
potiuk force-pushed the fix/skill-license-frontmatter branch from 0bbb850 to 517270f Compare May 6, 2026 15:11
@potiuk
potiuk merged commit c30679c into apache:main May 6, 2026
11 checks passed
@andreahlert
andreahlert deleted the fix/skill-license-frontmatter branch May 6, 2026 20:24
@andreahlert andreahlert added the mode:platform Substrate / infra — not a mode (sandbox, CI, validators) label May 7, 2026
@zeroshade zeroshade mentioned this pull request Oct 13, 2026
4 of 5 tasks
@potiuk potiuk added capability:fix Implement code change to resolve an issue capability:intake Import external signal + sync tracker state capability:platform Framework / agent substrate skills (install, verify, doctor, override, status, setup bootstrap) capability:resolve Close-out: invalidate, dedupe, CVE allocate, announcement capability:stats Read-only dashboards, metrics, governance evidence family:pr-management pr-management-* skills family:security security-* skills family:setup setup-* skills labels Nov 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

capability:fix Implement code change to resolve an issue capability:intake Import external signal + sync tracker state capability:platform Framework / agent substrate skills (install, verify, doctor, override, status, setup bootstrap) capability:resolve Close-out: invalidate, dedupe, CVE allocate, announcement capability:stats Read-only dashboards, metrics, governance evidence family:pr-management pr-management-* skills family:security security-* skills family:setup setup-* skills mode:platform Substrate / infra — not a mode (sandbox, CI, validators)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants