mirror of
https://github.com/anthropics/skills.git
synced 2026-08-02 13:05:28 +08:00
Update skill-creator and make scripts executable (#350)
- Add `compatibility` optional field to SKILL.md frontmatter spec - Add validation for `compatibility` field in quick_validate.py - Rename "hyphen-case" to "kebab-case" terminology in init_skill.py and quick_validate.py - Update max skill name length from 40 to 64 characters - Make scripts executable (chmod +x) for accept_changes.py, comment.py, extract_form_structure.py, add_slide.py, thumbnail.py, and recalc.py Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -274,9 +274,9 @@ def main():
|
||||
if len(sys.argv) < 4 or sys.argv[2] != '--path':
|
||||
print("Usage: init_skill.py <skill-name> --path <path>")
|
||||
print("\nSkill name requirements:")
|
||||
print(" - Hyphen-case identifier (e.g., 'data-analyzer')")
|
||||
print(" - Kebab-case identifier (e.g., 'my-data-analyzer')")
|
||||
print(" - Lowercase letters, digits, and hyphens only")
|
||||
print(" - Max 40 characters")
|
||||
print(" - Max 64 characters")
|
||||
print(" - Must match directory name exactly")
|
||||
print("\nExamples:")
|
||||
print(" init_skill.py my-new-skill --path skills/public")
|
||||
|
||||
Reference in New Issue
Block a user