Promptles
Context

Point It at the Project Rules

Name the CLAUDE.md or AGENTS.md file explicitly; ask the assistant to cite the rule it's applying.

Most projects carry a CLAUDE.md or AGENTS.md at the root that captures conventions the assistant can't infer from code alone: export style, naming, commit format, non-negotiables. Tell the assistant to read it before editing, and ask it to cite the relevant line so you know the rule actually landed in its context.

Where you'll practice this

2 Promptles scenarios teach this principle directly. Each one drops you into a real engineering ticket and asks you to write the prompt you'd send to Claude Code.

  • Point Claude at the Rules

    Your project has a `CLAUDE.md` at the root that sets two non-negotiable conventions: named exports only (no default exports) and every file under `src/lib/` must have a matching test next to it. You want to add a `formatCurrency` helper to `src/lib/money.ts`, and you want the…

  • Re-Anchor After Compaction

    You're four hours into a session. The agent just compacted the conversation context (auto-summarized older turns to fit the window). You can tell because in its last response it confidently referred to a constraint you both agreed on three hours ago — except it got the…

Other principles in Context