Which surface owns the rule?
You now have three places to put instructions, and mixing them up is the fastest way to get a rule ignored. CLAUDE.md carries the conventions that are always true. A skill packages a procedure tied to a kind of task. A hook is code that runs, so it is the only one of the three that Claude cannot skip.
Your team has written down six rules for the queries project, and now they need homes.
This exercise is part of the course
Claude Code in Action
Hands-on interactive exercise
Turn theory into action with one of our interactive exercises
Start Exercise