Skip to content

test(core): check skills against the published authoring limits - #4

Merged
phense merged 1 commit into
mainfrom
chore/skill-authoring-rules
Nov 13, 2026
Merged

phense merged 1 commit into
mainfrom
chore/skill-authoring-rules

Conversation

@phense

@phense phense commented Nov 13, 2026

Copy link
Copy Markdown
Owner

Summary

  • New distributed test tests/test_skill_authoring.py: every skills/*/SKILL.md keeps the published skill authoring limits (name of at most 64 lowercase letters, digits and hyphens without a reserved word; description of at most 1,024 characters, third person, no XML tags; portable frontmatter keys; body under 500 lines; forward slashes in links), and every reference file above 100 lines opens with a contents list.
  • shared/platform/claude.md and shared/platform/codex.md get a contents list.

Verification

  • python3 -m unittest discover -s tests -t .: 171 tests pass.
  • python3 scripts/validate-plugin: exit 0.

Consumers pick the test up with the next core sync and must give their own long reference files a contents list in the same change.

🤖 Generated with Claude Code

Adds a distributed test for the skill authoring limits (name, description
length and person, portable frontmatter keys, body under 500 lines, forward
slashes, a contents list in reference files above 100 lines) and gives the
two long platform adapters a contents list.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
@phense
phense merged commit 4300085 into main Nov 13, 2026
2 checks passed
@phense
phense deleted the chore/skill-authoring-rules branch November 13, 2026 18:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant