The most impactful project context types for AI to generate idiomatic code include explicit style guides (.editorconfig, formatter configs), architectural documentation (system overviews, integration patterns), and existing code patterns/examples (semantic embeddings, common anti-patterns).