Add comprehensive test coverage for skill name resolution priority: - test_frontmatter_name_overrides_dir_name: Verifies that the 'name' field in YAML frontmatter takes precedence over directory name, enabling namespaced skills like "doodle:bug-hunter" - test_name_preserved_across_fallback_files: Confirms that when SKILL.md provides a name but README.md provides the description, the name from SKILL.md is preserved (important for multi-file skill definitions) - test_no_frontmatter_name_uses_dir_name: Validates fallback behavior when no name is specified in frontmatter This ensures the skill autocomplete system correctly handles both simple directory-named skills and explicitly namespaced skills from skill packs. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
25 KiB
25 KiB