The new rules of context engineering for Claude 5 generation models(claude.com)
367 points by mellosouls 16 hours ago | 261 comments
tl;dr: Anthropic's newer Claude models require less prescriptive context engineering: instead of rigid rules, repeated instructions, and front-loaded examples, developers should rely on Claude's judgment, well-designed tool interfaces, and progressive disclosure (loading context only when needed). CLAUDE.md files should be lightweight and focused on non-obvious gotchas, while skills should encode team-specific opinions and reference richer artifacts like code, test suites, or HTML mockups rather than simple markdown specs. A new `claude doctor` command helps simplify existing prompts.
HN Discussion:
  • Trusting Claude's judgment and auto-memory is unreliable and produces unpredictable results
  • Verbose prompting was always overkill; talking naturally to the agent works fine
  • This guidance is a lock-in play moving configuration from portable .md files into Anthropic tooling
  • ~The advice is common sense and inconsistent with Anthropic's own bloated system prompts
  • Concerns about Anthropic's data handling and hidden system-reminder manipulation of CLAUDE.md