From 7112361de3e6f93050168869f50c22e7e5654860 Mon Sep 17 00:00:00 2001 From: kankunnawat Date: Mon, 15 Jun 2026 10:47:10 +0700 Subject: [PATCH] fix: use lowercase-hyphen skill names 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 #561 --- code_review_graph/skills.py | 8 ++++---- skills/debug-issue/SKILL.md | 2 +- skills/explore-codebase/SKILL.md | 2 +- skills/refactor-safely/SKILL.md | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/code_review_graph/skills.py b/code_review_graph/skills.py index 8f72daf0..763dba3b 100644 --- a/code_review_graph/skills.py +++ b/code_review_graph/skills.py @@ -396,7 +396,7 @@ def install_platform_configs( _SKILLS: dict[str, dict[str, str]] = { "explore-codebase.md": { - "name": "Explore Codebase", + "name": "explore-codebase", "description": "Navigate and understand codebase structure using the knowledge graph", "body": ( "## Explore Codebase\n\n" @@ -424,7 +424,7 @@ def install_platform_configs( ), }, "review-changes.md": { - "name": "Review Changes", + "name": "review-changes", "description": "Perform a structured code review using change detection and impact", "body": ( "## Review Changes\n\n" @@ -452,7 +452,7 @@ def install_platform_configs( ), }, "debug-issue.md": { - "name": "Debug Issue", + "name": "debug-issue", "description": "Systematically debug issues using graph-powered code navigation", "body": ( "## Debug Issue\n\n" @@ -478,7 +478,7 @@ def install_platform_configs( ), }, "refactor-safely.md": { - "name": "Refactor Safely", + "name": "refactor-safely", "description": "Plan and execute safe refactoring using dependency analysis", "body": ( "## Refactor Safely\n\n" diff --git a/skills/debug-issue/SKILL.md b/skills/debug-issue/SKILL.md index 4b8ca370..b8d928fa 100644 --- a/skills/debug-issue/SKILL.md +++ b/skills/debug-issue/SKILL.md @@ -1,5 +1,5 @@ --- -name: Debug Issue +name: debug-issue description: Systematically debug issues using graph-powered code navigation --- diff --git a/skills/explore-codebase/SKILL.md b/skills/explore-codebase/SKILL.md index fca3c781..a470b3c8 100644 --- a/skills/explore-codebase/SKILL.md +++ b/skills/explore-codebase/SKILL.md @@ -1,5 +1,5 @@ --- -name: Explore Codebase +name: explore-codebase description: Navigate and understand codebase structure using the knowledge graph --- diff --git a/skills/refactor-safely/SKILL.md b/skills/refactor-safely/SKILL.md index 424d48d6..3020efb5 100644 --- a/skills/refactor-safely/SKILL.md +++ b/skills/refactor-safely/SKILL.md @@ -1,5 +1,5 @@ --- -name: Refactor Safely +name: refactor-safely description: Plan and execute safe refactoring using dependency analysis ---