Promptles
Context

Write Durable Instructions

Put project-wide non-negotiables in CLAUDE.md; everything else belongs in prompts, memory, or nowhere.

CLAUDE.md is for rules that should apply to every prompt in this project — non-negotiables, build commands, naming conventions, and gotchas a fresh assistant couldn't infer from the code. Per-task constraints belong in the prompt; user preferences belong in memory; finished work belongs nowhere. If the rule won't matter next month or to a different task, don't put it in CLAUDE.md.

Where you'll practice this

One Promptles scenario teaches this principle directly.

  • What Belongs in CLAUDE.md

    You have five candidate facts about your project floating around in your head and in scattered prompts. They each need a home — CLAUDE.md (durable project rule), the prompt itself (this-task-only context), agent memory (user preference), or nowhere (finished work). Putting them…

Other principles in Context