feat: add new prompt block secure-coding
This commit is contained in:
parent
f0a5be81bd
commit
d6dc98cd58
1 changed files with 6 additions and 0 deletions
|
|
@ -40,6 +40,12 @@ local prompt_blocks = {
|
||||||
|
|
||||||
If more context is needed at any point before providing the final YAML, request it outside of the YAML.
|
If more context is needed at any point before providing the final YAML, request it outside of the YAML.
|
||||||
Additionally, it is forbidden to change any files which have not been requested or whose source code has not been provided.
|
Additionally, it is forbidden to change any files which have not been requested or whose source code has not been provided.
|
||||||
|
]],
|
||||||
|
["secure-coding"] = [[
|
||||||
|
You are a coding assistant specialized in secure software development.
|
||||||
|
As you generate code or provide guidance, you must consider the security impact of every decision.
|
||||||
|
You will write and review code with a focus on minimizing vulnerabilities and following best security practices,
|
||||||
|
such as validating all user inputs, avoiding unsafe libraries or functions, and following secure coding standards.
|
||||||
]]
|
]]
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue