refactor: prompt naming
This commit is contained in:
@@ -1,8 +1,10 @@
|
||||
project_name: "chatgpt.vim"
|
||||
default_prompt_blocks:
|
||||
- "basic-prompt"
|
||||
- "basic"
|
||||
- "secure-coding"
|
||||
|
||||
include_file_contents: true
|
||||
|
||||
debug: false
|
||||
improved_debug: false
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
local M = {
|
||||
["solidjs-development"] = [[
|
||||
["solidjs"] = [[
|
||||
### SolidJS Development Guidelines
|
||||
|
||||
You are helping me develop a large SolidJS application. Please keep the following points in mind when generating or explaining code:
|
||||
@@ -73,7 +73,7 @@ local M = {
|
||||
|
||||
Please follow these guidelines to ensure the generated or explained code aligns well with SolidJS best practices for large, maintainable projects.
|
||||
]],
|
||||
["nodejs-development"] = [[
|
||||
["nodejs"] = [[
|
||||
You are helping me develop a large Node.js application. Please keep the following points in mind when generating or explaining code:
|
||||
|
||||
1. **Project & Folder Structure**
|
||||
@@ -161,8 +161,8 @@ local M = {
|
||||
- If you modify existing files, specify precisely which lines or sections have changed, and why.
|
||||
|
||||
Please follow these guidelines to ensure the generated or explained code aligns well with Node.js best practices for large, maintainable projects.
|
||||
]]
|
||||
["go-development"] = [[
|
||||
]],
|
||||
["go"] = [[
|
||||
### Go Development Guidelines
|
||||
|
||||
You are helping me develop a large Go (Golang) project. Please keep the following points in mind when generating or explaining code:
|
||||
@@ -215,7 +215,7 @@ local M = {
|
||||
|
||||
Please follow these guidelines to ensure the generated or explained code aligns well with Golang’s best practices for large, modular projects.
|
||||
]],
|
||||
["typo3-development"] = [[
|
||||
["typo3"] = [[
|
||||
### TYPO3 Development Guidelines
|
||||
|
||||
You are helping me develop a large TYPO3 project. Please keep the following points in mind when generating or explaining code:
|
||||
@@ -280,7 +280,7 @@ local M = {
|
||||
|
||||
Please follow these guidelines to ensure the generated or explained code aligns well with TYPO3’s best practices for large, maintainable projects.
|
||||
]],
|
||||
["rust-development"] = [[
|
||||
["rust"] = [[
|
||||
### Rust Development Guidelines
|
||||
|
||||
You are helping me develop a large Rust project. Please keep the following points in mind when generating or explaining code:
|
||||
@@ -342,7 +342,7 @@ local M = {
|
||||
|
||||
Please follow these guidelines to ensure the generated or explained code aligns well with Rust best practices for large, modular projects.
|
||||
]],
|
||||
["basic-prompt"] = [[
|
||||
["basic"] = [[
|
||||
### Basic Prompt
|
||||
|
||||
You are assisting me in a coding workflow for a project (e.g., "my_project"). Whenever you need to inspect or modify files, or execute commands, you must provide both:
|
||||
|
||||
Reference in New Issue
Block a user