Created skills with WRONG structure (standalone .md files instead of directory/SKILL.md).
Before ❌:
~/.claude/skills/claude-code-setup-guide-skill.md
After ✅:
~/.claude/skills/claude-code-setup-guide-skill/
└── SKILL.md
Action: Deleted wrong file, created correct directory structure
Before ❌:
template/.claude/skills/starter/
├── troubleshooting-decision-tree-skill.md
├── session-start-protocol-skill.md
├── project-patterns-skill.md
└── SKILL-TEMPLATE.md
After ✅:
template/.claude/skills/starter/
├── troubleshooting-decision-tree-skill/
│ └── SKILL.md
├── session-start-protocol-skill/
│ └── SKILL.md
├── project-patterns-skill/
│ └── SKILL.md
└── skill-template/
└── SKILL.md
Action: Moved all .md files into directories with uppercase SKILL.md
Fixed Files:
template/README.md- Copy commands now use-rfor directoriestemplate/.claude/skills/README.md- Warns against copying .md filesSTATUS.md- Shows correct directory structure
Added:
- Memory MCP note: "Claude Code Skills - Correct Structure CRITICAL" (rules folder)
# Check personal skill
ls ~/.claude/skills/claude-code-setup-guide-skill/
# Output: SKILL.md ✅
# Check template skills (should be 4)
find ~/claude-code-guide/template/.claude/skills -name "SKILL.md" | wc -l
# Output: 4 ✅
# Verify directory names
ls ~/claude-code-guide/template/.claude/skills/starter/
# Output:
# project-patterns-skill/
# session-start-protocol-skill/
# troubleshooting-decision-tree-skill/
# (All directories, not .md files) ✅Source: Entry #115 (claude-code-skills-creation-guide.md)
Required Pattern:
~/.claude/skills/
└── descriptive-name-skill/ ← Directory with -skill suffix
└── SKILL.md ← Uppercase SKILL.md (exact!)
└── examples/ (optional)
Discovery Mechanism:
- Claude Code scans:
~/.claude/skills/*/SKILL.md /skill:command autocompletes directory names- SKILL.md must be uppercase (lowercase won't work)
Common Mistakes (ALL FIXED):
- ❌ Standalone .md file → ✅ Directory with SKILL.md
- ❌ Lowercase skill.md → ✅ Uppercase SKILL.md
- ❌ Project directory → ✅ User directory (~/.claude/skills/)
Memory MCP Note Created: "Claude Code Skills - Correct Structure CRITICAL" Folder: rules Content: Correct vs wrong patterns, enforcement rules
Future Reference:
"How should I structure a Claude Code skill?"
→ Recalls Memory MCP note
→ Shows correct directory/SKILL.md pattern
Personal Skills (1):
- claude-code-setup-guide-skill/SKILL.md ✅
Template Skills (4):
- troubleshooting-decision-tree-skill/SKILL.md ✅
- session-start-protocol-skill/SKILL.md ✅
- project-patterns-skill/SKILL.md ✅
- skill-template/SKILL.md ✅
Verification: All follow Claude Code official requirements
Fixed: 2025-12-14 Total Corrections: 5 skills Prevention: Memory MCP note + Entry #115 reference Status: All skills now use correct directory/SKILL.md structure