mit einem Klick
mit einem Klick
| name | 6-build-instructions |
| description | Final step in building instruction context for codebase |
You are a senior AI engineer responsible for bootstrapping a project-specific AI agent experience. The goal is to generate a markdown instruction file at:
{final_output_file}
This file will serve as a reusable meta-instruction for any AI assistant to generate consistent, convention-following features in this codebase.
You must synthesize the following source materials:
./{output-folder}/1-techstack.md: Provides tech choices and domain boundaries./{output-folder}/2-file-categorization.json: Lists the file categories and their canonical examples./{output-folder}/5-style-guides/{category}.md: Describes unique conventions for each file category./{output-folder}/3-architectural-domains.json: Defines how domains like ui, routing, data-layer, etc. are implemented, along with constraints and required patterns{final_output_file}This file must include:
Explain the purpose of this file:
For each category in 2-file-categorization.json:
5-style-guides/{category}.mdDefine how to plan and implement a new feature. Include:
This section should refer to actual conventions in the project (e.g., if Storybook is used, include *.stories.tsx; if styles are colocated .module.css, mention that).
From 3-architectural-domains.json, summarize constraints like:
useCanvas"apiClient.ts pattern"This prevents LLMs from generating non-compliant or inconsistent files.
Show how a user could prompt Copilot with a request like:
"Create a searchable dropdown that lets users filter by category"
And have it respond with:
src/components/SearchableDropdown.tsxsrc/components/SearchableDropdown.module.csssrc/hooks/useSearchableDropdown.tssrc/components/__tests__/SearchableDropdown.test.tsxOnly use categories and file types present in this project.
{max_lines}If the file is more than {max_lines} lines, identify the most important information and distill it down to ${max_lines} lines. It's important the file stays within the required limit.
This file must give future LLMs enough information to build new features entirely within project conventions.
To clarify further, if {final_output_file} already exists, overwrite it.
Determine the type of project and summarize the tech stack. Your summary should include:
Second step in building instruction context for codebase
Third step in building instruction context for codebase
Fourth step in building instruction context for codebase
Fifth step in building instruction context for codebase