AI EngineerGuide

How to enable learning mode in Claude Code

by Ashik Nesin Ashik Nesin

In Claude Code, you can change the output style to Learning or Explanatory that helps to userstand the codebase better. Instead of just accepting everything that the AI generates, we can learn from it and catch any issues early.

2026-05-31-at-23.57.12.png

By default, it’ll set it at project level at .claude/settings.local.json

{
  "outputStyle": "Explanatory"
}

Output style is part of the system prompt, which Claude Code reads once at session start.

Reference

Stay Updated

Get the latest AI engineering insights delivered to your inbox.

No spam. Unsubscribe at any time.