From 43d7c6cdfb2a86a73e3229f49b9111c45be48fac Mon Sep 17 00:00:00 2001 From: Steve Nims Date: Sun, 7 Dec 2025 22:35:47 -0500 Subject: [PATCH] fix(agent-development): align validate-agent.sh name validation with docs MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change name validation regex from [a-zA-Z0-9] to [a-z0-9] to match SKILL.md documentation requiring lowercase-only names. Also update error message to specify "lowercase" requirement. This makes validate-agent.sh consistent with create-agent-skeleton.sh which already uses lowercase-only validation. Fixes #33 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- .../skills/agent-development/scripts/validate-agent.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/plugin-dev/skills/agent-development/scripts/validate-agent.sh b/plugins/plugin-dev/skills/agent-development/scripts/validate-agent.sh index ce2052c..3bb543e 100755 --- a/plugins/plugin-dev/skills/agent-development/scripts/validate-agent.sh +++ b/plugins/plugin-dev/skills/agent-development/scripts/validate-agent.sh @@ -65,8 +65,8 @@ else echo "✅ name: $NAME" # Validate name format - if ! [[ "$NAME" =~ ^[a-zA-Z0-9][a-zA-Z0-9-]*[a-zA-Z0-9]$ ]]; then - echo "❌ name must start/end with alphanumeric and contain only letters, numbers, hyphens" + if ! [[ "$NAME" =~ ^[a-z0-9][a-z0-9-]*[a-z0-9]$ ]]; then + echo "❌ name must start/end with lowercase alphanumeric and contain only lowercase letters, numbers, hyphens" ((error_count++)) fi