Skip to content

fix: use lowercase-hyphen skill names#562

Open
kankunnawat wants to merge 1 commit into
tirth8205:mainfrom
kankunnawat:fix/skill-name-kebab-case
Open

fix: use lowercase-hyphen skill names#562
kankunnawat wants to merge 1 commit into
tirth8205:mainfrom
kankunnawat:fix/skill-name-kebab-case

Conversation

@kankunnawat

Copy link
Copy Markdown

What

Set every skill name: frontmatter field to its kebab-case slug.

skill before after
explore-codebase Explore Codebase explore-codebase
review-changes Review Changes review-changes
debug-issue Debug Issue debug-issue
refactor-safely Refactor Safely refactor-safely

Changed in both code_review_graph/skills.py (_SKILLS) and the checked-in skills/*/SKILL.md files. build-graph was already name: build-graph and is left as-is.

Why

The skill directory names — and therefore the invocation slugs (e.g. /review-changes) — are already kebab-case, but the name: field rendered as Title Case, so the picker label was inconsistent with the slug and with the repo's own newer build-graph skill. This aligns all skills with the lowercase-hyphen naming convention.

Cosmetic only: invocation already resolves on the directory slug, so no behavior changes.

Test

  • git diff shows only the 7 name: lines changed across 4 files; no body/description/logic edits.
  • Generated skill files (code-review-graph init) now emit name: review-changes etc., matching their directory slug.

Closes #561

Skill name: fields used Title Case (e.g. 'Review Changes'), which
diverged from the lowercase-hyphen skill-name convention and from the
repo's own build-graph skill (name: build-graph). The skill dir names
(and invocation slugs) were already kebab-case, so the picker label was
inconsistent with the slug.

Set every skill name: to its kebab-case slug in both _SKILLS
(skills.py) and the skills/*/SKILL.md files. build-graph already
correct.

Closes tirth8205#561
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.

Skill name: fields use Title Case instead of lowercase-hyphen convention

1 participant