security fixes prompt
Coding25.7K
识别并修复代码扫描标记的安全问题并写测试
Identifies and fixes code-scanning-flagged security issues with tests.
Full prompt
--- name: security-fixes description: 为了修复我代码库中被代码扫描标记的安全问题,例如作为请求一部分传入的用户输入可能存在漏洞,以及我们该如何修复它 --- # 安全修复 它应识别问题,并针对当前项目进行检查修复,不应破坏现有功能,并应为该变更编写恰当的测试用例。 ## 指令 检查问题 修复它 测试用例 - 第2步: ...
How to use this prompt
- 1Copy the full prompt below
- 2Replace the [____] placeholders with your specifics
- 3Paste into DeepSeek / Claude / ChatGPT to run