网页 综合 更新时间 2026-11-13 17:01:27

LLM prompts and AI IDE setup • Angular

自动蜘蛛 angular.dev 正文约 1827 字
LLM prompts and AI IDE setup • Angular
Generating code with large language models (LLMs) is a rapidly growing area of interest for developers. While LLMs are often capable of generating working code it can be a challenge to generate code for consistently evolving frameworks like Angular.
Advanced instructions and prompting are an emerging standard for supporting modern code generation with domain specific details. This section contains curated content and resources to support more accurate code generation for Angular and LLMs.
Improve your experience generating code with LLMs by using one of the following custom, domain specific files.
NOTE: These files will be updated on a regular basis staying up to date with Angular's conventions.
Here is a set of instructions to help LLMs generate correct code that follows Angular best practices. This file can be included as system instructions to your AI tooling or included along with your prompt as context.
Click here to download the best-practices.md file.
Several tools, such as Antigravity have rules files useful for providing critical context to LLMs.
The Angular CLI includes an experimental Model Context Protocol (MCP) server that allows AI assistants in your development environment to interact with the Angular CLI.
Learn how to set up the Angular CLI MCP Server
llms.txt is a proposed standard for websites designed to help LLMs better understand and process their content. The Angular team has developed two versions of this file to help LLMs and tools that use LLMs for code generation to create better modern Angular code.
Be sure to check out the overview page for more information on how to integrate AI into your Angular applications.
Super-powered by Google ©2010-2026. Code licensed under an MIT-style License . Documentation licensed under CC BY 4.0 . Built by Angular at v22.2.6+sha-22b7937.
访问原文 返回搜索 https://angular.dev/ai/develop-with-ai
本页为82搜索生成的网页快照,内容来自站内索引;演示数据的原文链接仅作示例。