Update max length on skill names in skill-creator (#15)

Up to 64 to conform to open-standard spec.
This commit is contained in:
Gav Verma
2025-12-19 09:17:20 -08:00
committed by GitHub
parent 1131cea7b1
commit e8acbcb5f8
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -216,7 +216,7 @@ Follow these steps in order, skipping only if there is a clear reason why they a
### Skill Naming
- Use lowercase letters, digits, and hyphens only; normalize user-provided titles to hyphen-case (e.g., "Plan Mode" -> `plan-mode`).
- When generating names, generate a name under 30 characters (letters, digits, hyphens).
- When generating names, generate a name under 64 characters (letters, digits, hyphens).
- Prefer short, verb-led phrases that describe the action.
- Namespace by tool when it improves clarity or triggering (e.g., `gh-address-comments`, `linear-address-issue`).
- Name the skill folder exactly after the skill name.
@@ -17,7 +17,7 @@ import re
import sys
from pathlib import Path
MAX_SKILL_NAME_LENGTH = 30
MAX_SKILL_NAME_LENGTH = 64
ALLOWED_RESOURCES = {"scripts", "references", "assets"}
SKILL_TEMPLATE = """---
@@ -9,7 +9,7 @@ from pathlib import Path
import yaml
MAX_SKILL_NAME_LENGTH = 30
MAX_SKILL_NAME_LENGTH = 64
def validate_skill(skill_path):