Context layering means stacking relevant information in your prompts:
Architecture context: "This is a Django project with PostgreSQL."
Convention context: "We use service classes for business logic, not views."
Task context: "Add an endpoint to export user data as CSV."
Each layer narrows the solution space. The AI can't write Django code if it thinks you're using Flask.