Collect useful project context for code generation | DevPrompt Lab
Capture runtime, tooling, architecture, conventions, and quality requirements in one reviewable profile.
workflow · Planning · beginner
English Tiếng ViệtA discovery workflow for gathering the details that improve generated code without guessing from an incomplete stack label.
Reusable content
Build a project context profile from repository evidence and maintainer input. Capture language and framework separately from runtime, package manager, database, test framework, architecture, coding conventions, security requirements, testing requirements, documentation expectations, and notes. Cite the source or mark unknown values as unknown. Avoid inferring production settings from local defaults. Ask only questions that materially affect generated instructions. Keep secrets and personal data out of the profile.
Repository evidence: {{REPOSITORY}}
Known stack: {{STACK}}
Constraints: {{CONSTRAINTS}}
How to use it
Use package manifests, config files, tests, and documented conventions; let maintainers confirm intent.
Example
Runtime: PHP 8.2 (composer.json constraint). Testing: PHPUnit (configured test suite). Architecture: custom PHP API + React/Vite frontend (verified entry points).