c_Learn & Practice AILEARN/Understand instruction scope
← Level 4 · Project instructions
LEVEL 04 · 12 min

Understand instruction scope

Project instructions can be layered by directory. Determine which files apply to the current working directory and task; review conflicting guidance before changing a sensitive area.

01

What is it?

Project instructions can be layered by directory. Determine which files apply to the current working directory and task; review conflicting guidance before changing a sensitive area.

02

Why it matters

Reusable rules help keep work consistent across sessions.

03

When to use it

When the same rules apply to repeated project tasks.

04

How to do it

  1. Read the explanation and identify the files or environment involved.
  2. Draw a root folder with frontend and backend subfolders. Give each a distinct testing instruction, then ask which instructions apply when working inside frontend.
  3. Compare the result with the verification criteria below. Record what worked and what remains unclear.
05

Worked example

Goal

Draw a root folder with frontend and backend subfolders. Give each a distinct testing instruction, then ask which instructions apply when working inside frontend.

06

Try it yourself

Repeat the exercise with your own wording or a second sample. Use the smallest change that demonstrates the idea.

Prompt builder
07

Verify your result

Your answer identifies the working directory and cites the applicable instruction files.

08

Common mistakes

Assuming every AGENTS.md is always loaded. Verify the discovery behavior in the official guide.

09

How to recover

Stop at the first unexpected result. Preserve your current work, re-check the named file or environment, and repeat only the failing step. Ask for an explanation if the recovery is unclear.

Official references

Product interfaces and access can change. Use the linked official guide for current installation and account requirements.

OpenAI · AGENTS.md ↗Source review: 2026-09-16
Checkpoint
Esc · Close