Project 3: your own skill and CLAUDE.md
Teach Claude Code your standards once.
Goal: create a project and one that Claude Code can reuse.
- In your practice folder, run
claudeand then/init. - Trim the file to rules that would really prevent mistakes.
- Ask Claude to create a skill from the below.
- Test it with
/review-pagein a project that has an index.html. - Use
/skillsto confirm it is listed.
Prompt: create a skill
Create a project skill called review-page in .claude/skills/review-page/SKILL.md. It should review the HTML file I name for: readability, mobile layout, missing alt text on images and broken links. Output a short checklist with pass or fail for each, then three suggested fixes. Do not change any files. Use $ARGUMENTS for the file name.
This follows the SKILL.md structure from the official docs, and sets a safe, read-only behaviour.
Why this mattersA skill turns a good prompt into a command. Over time you build a toolbox that fits how you work.
Done when…
/skillslists review-page.- Running it on your page gives a pass or fail checklist and changes no files.
- Your CLAUDE.md is under 15 lines.
Common problems and fixes
| Problem | Fix |
|---|---|
| The skill is not listed | Check the path: .claude/skills/review-page/SKILL.md, then restart the session. |
| Claude ignores the skill | Make the description say clearly when to use it, or call it directly with /review-page. |
| The skill edits files | Add “Do not edit any files” to the skill and test again. |
Level upBundle your skill and CLAUDE.md rules into a plugin, so you can install the same setup in your next project in one step.
Check yourself
Tip: use ← and → to move between lessons.