Create a Skill File
Skills are reusable instruction sets stored as markdown files. Each skill lives in its own directory with a SKILL.md file as the entrypoint.
You're working in the Music Analytics API project and want to create a skill for formatting code consistently. The skill should be available project-wide.
This exercise is part of the course
Software Development with Claude Code
Exercise instructions
- Start Claude Code with
claude. - Ask Claude to create a skill called
format-codethat enforces consistent code style. - Verify the skill was created by running
/skills. - When done, type
/exitto exit Claude Code.
Hands-on interactive exercise
Turn theory into action with one of our interactive exercises
Start Exercise