Skip to content

Commit 1feac5f

Browse files
committed
fix(@schematics/angular): improve AI config prompt wording
This improves the prompt wording and adds more context.
1 parent 04094e8 commit 1feac5f

File tree

1 file changed

+34
-1
lines changed

1 file changed

+34
-1
lines changed

packages/schematics/angular/ai-config/schema.json

Lines changed: 34 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,40 @@
1010
"type": "array",
1111
"uniqueItems": true,
1212
"default": "none",
13-
"x-prompt": "Which AI tools do you want to configure with Angular best practices? https://angular.dev/ai/develop-with-ai",
13+
"x-prompt": {
14+
"message": "Which AI tools do you want to configure with Angular best practices? https://angular.dev/ai/develop-with-ai",
15+
"type": "list",
16+
"items": [
17+
{
18+
"value": "none",
19+
"label": "None"
20+
},
21+
{
22+
"value": "claude",
23+
"label": "Claude [ https://docs.anthropic.com/en/docs/claude-code/memory ]"
24+
},
25+
{
26+
"value": "cursor",
27+
"label": "Cursor [ https://docs.cursor.com/en/context/rules ]"
28+
},
29+
{
30+
"value": "gemini",
31+
"label": "Gemini [ https://ai.google.dev/gemini-api/docs ]"
32+
},
33+
{
34+
"value": "copilot",
35+
"label": "GitHub Copilot [ https://code.visualstudio.com/docs/copilot/copilot-customization#_custom-instructions ]"
36+
},
37+
{
38+
"value": "jetbrains",
39+
"label": "JetBrains AI Assistant [ https://www.jetbrains.com/help/junie/customize-guidelines.html ]"
40+
},
41+
{
42+
"value": "windsurf",
43+
"label": "Windsurf [ https://docs.windsurf.com/windsurf/cascade/memories#rules ]"
44+
}
45+
]
46+
},
1447
"description": "Specifies which AI tools to generate configuration files for. These file are used to improve the outputs of AI tools by following the best practices.",
1548
"items": {
1649
"type": "string",

0 commit comments

Comments
 (0)