feat: add new prompt block secure-coding

This commit is contained in:
2024-12-21 11:48:14 +01:00
parent f0a5be81bd
commit d6dc98cd58

View File

@@ -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.
]] ]]
} }