Skip to content

Commit 7d1bc24

Browse files
Update docs/Security-Focused-Guide-for-AI-Code-Assistant-Instructions.md
Co-authored-by: David A. Wheeler <[email protected]> Signed-off-by: Avishay Balter <[email protected]>
1 parent 4c8a62b commit 7d1bc24

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/Security-Focused-Guide-for-AI-Code-Assistant-Instructions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Security-Focused Guide for AI Code Assistant Instructions
22

33
AI code assistants can significantly speed up development, but they need guidance to produce **secure** and robust code. This guide explains how to create custom instructions (e.g. [GitHub Copilot instructions file](https://docs.github.com/en/copilot/how-tos/custom-instructions/adding-repository-custom-instructions-for-github-copilot), [Cline instructions file](https://docs.cline.bot/enterprise-solutions/custom-instructions), [Cursor rules](https://docs.cursor.com/context/rules), [Claude markdown](https://docs.anthropic.com/en/docs/claude-code/common-workflows#create-an-effective-claude-md-file), etc.) that ensure the AI assistant accounts for application code security, supply chain safety, and platform or language-specific considerations and to embed a "security conscience" into the tool. In practice, this means fewer vulnerabilities making it into your codebase. Remember that these instructions should be kept concise, specific, and actionable – the goal is to influence the AI's behaviour without overwhelming it. [[1]](#1)
4-
4+
These recommendations are based on expert opinion and various recommendations in the literature. We encourage experimentation and feedback to improve these recommendations. We, as an industry, are together learning how to best use these tools.
55
---
66

77
## TL;DR

0 commit comments

Comments
 (0)