Tech SkillsCheckable Tasks

Repeated Instructions Question Explained

This worked Loop Engineering practice question tests Checkable Tasks. Try the answer first, then review why B is the best choice.

Short answer

The correct answer is B. In a CLAUDE.md file in the project folder, loaded when a session starts there.

Claude Code loads CLAUDE.md from the working directory and the directories above it when a session starts. Rules that apply to the whole project belong there, and individual changes stay in the task file. The memory docs also say Claude treats CLAUDE.md as context, not enforced configuration. To block a package install every time, add a deny rule or a PreToolUse hook as well. The correct answer is B. In a CLAUDE.md file in the project folder, loaded when a session starts there

The Question

Every session you type "Keep the page and CSS in one HTML file, do not add packages." Yesterday a loop run added a package anyway. Where should that rule live?

AIn the first line of every task in tasks.md, repeated each time you add a task
BIn a CLAUDE.md file in the project folder, loaded when a session starts thereCorrect
CIn a shell alias that prints the rule before you run claude
DIn the /loop prompt only, since loops are the only place it is forgotten

Why B is correct

Claude Code loads CLAUDE.md from the working directory and the directories above it when a session starts. Rules that apply to the whole project belong there, and individual changes stay in the task file. The memory docs also say Claude treats CLAUDE.md as context, not enforced configuration. To block a package install every time, add a deny rule or a PreToolUse hook as well. The correct answer is B. In a CLAUDE.md file in the project folder, loaded when a session starts there

Why the other options are wrong

Option A: In the first line of every task in tasks.md, repeated each time you add a task

Repeating the rule on every task line works until you add one task without it. A rule for the whole project belongs in one project file.

Option C: In a shell alias that prints the rule before you run claude

An alias prints the rule in your terminal before Claude starts. That text is not part of the session, so the model never receives it.

Option D: In the /loop prompt only, since loops are the only place it is forgotten

The rule applies in normal sessions too, not only in loops. A prompt-only rule disappears the first time you type a task by hand.

Key idea: Checkable Tasks

Loop engineering is a practice skill. Open Claude Code in a throwaway folder, write one small task in a file, and run it with /loop or /goal while you watch. If you doubt an answer, test it against a real run in that folder.

Ready to test the full skill?

Take the free Loop Engineering quiz and find the exact basics to review next. No signup required.

Practice related questions

Same skill area or adjacent concept. Use these after reviewing the explanation.

Related Loop Engineering Practice Questions