diff --git a/scripts/generate_index.py b/scripts/generate_index.py index acd00f1b..1f1da720 100644 --- a/scripts/generate_index.py +++ b/scripts/generate_index.py @@ -80,7 +80,7 @@ def generate_index(skills_dir, output_file): skills.append(skill_info) # Sort validation: by name - skills.sort(key=lambda x: x["name"].lower()) + skills.sort(key=lambda x: (x["name"].lower(), x["id"].lower())) with open(output_file, 'w', encoding='utf-8') as f: json.dump(skills, f, indent=2) diff --git a/skills_index.json b/skills_index.json index f41bca6b..902768b0 100644 --- a/skills_index.json +++ b/skills_index.json @@ -342,8 +342,8 @@ "source": "unknown" }, { - "id": "brand-guidelines-community", - "path": "skills/brand-guidelines-community", + "id": "brand-guidelines-anthropic", + "path": "skills/brand-guidelines-anthropic", "category": "uncategorized", "name": "brand-guidelines", "description": "Applies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand colors or style guidelines, visual formatting, or company design standards apply.", @@ -351,8 +351,8 @@ "source": "unknown" }, { - "id": "brand-guidelines-anthropic", - "path": "skills/brand-guidelines-anthropic", + "id": "brand-guidelines-community", + "path": "skills/brand-guidelines-community", "category": "uncategorized", "name": "brand-guidelines", "description": "Applies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand colors or style guidelines, visual formatting, or company design standards apply.",