How They Use AI  |  Newest

<< Home  |  Prompting craft

Model learns from and references local documentation

AreaPrompting craft
AI usedAny
SourceReddit thread
Posted2026-07-07

The move

Explicitly instruct the model to review and update specific documentation files during the task.

Steps

  1. Identify key documentation files for your project.
  2. Add an instruction to the system prompt to refer to these files.
  3. Instruct the model to document pitfalls encountered during tasks.
  4. Ask the model to update the documentation with new insights.

Prompt for your AI

Refer to your documents and document any pitfalls you encounter.

What happened

The user found that models failed to utilize context from local files like AGENTS.md or slint-gotchas.md automatically. By adding an explicit instruction to refer to these files and document pitfalls, the model's performance on complex tasks improved significantly. The user confirmed that the model began handling multi-file edits almost flawlessly after this change.

Who confirmed it

Everything fell into place, and the models became much more intelligent.

Watch out

Extensive system prompts can be inefficient for local inference.

Give it to your agent

Read https://howtheyuse.ai/p/model-learns-from-and-references-local-documentation.md and help me do this.

Sources



Last updated November 26, 2026.