add prompt and instructions template, create prompt files empty (#247326)

This commit is contained in:
Martin Aeschlimann
2025-04-24 20:30:12 +02:00
committed by GitHub
parent 692bb22057
commit 4c87d311f0
4 changed files with 35 additions and 11 deletions

View File

@@ -67,7 +67,17 @@
"editor.unicodeHighlight.invisibleCharacters": false,
"diffEditor.ignoreTrimWhitespace": false
}
}
},
"snippets": [
{
"language": "prompt",
"path": "./snippets/prompt.code-snippets"
},
{
"language": "instructions",
"path": "./snippets/instructions.code-snippets"
}
]
},
"scripts": {},
"repository": {

View File

@@ -0,0 +1,10 @@
{
"fileTemplate": {
"prefix": "New Chat Instructions",
"body": [
"${1:instructions}",
],
"description": "Template for chat instructions",
"isFileTemplate": true,
}
}

View File

@@ -0,0 +1,13 @@
{
"fileTemplate": {
"prefix": "New Chat Prompt",
"body": [
"---",
"mode: '${1|ask,edit,agent|}'",
"---",
"${2:prompt}",
],
"description": "Template for chat prompt",
"isFileTemplate": true,
}
}