AI SummaryA system prompt for AI coding assistants integrated into Neovim that enforces text-based code modification patterns instead of tool calls, enabling safe and predictable code editing across multiple platforms like Claude, Cursor, and Windsurf.
Install
Copy this and paste it into Claude Code, Cursor, or any AI assistant:
I want to add the "nvim_config — System Prompt" prompt rules to my project. Repository: https://github.com/dascard/nvim_config Please read the repo to find the rules/prompt file, then: 1. Download it to the correct location (.cursorrules, .windsurfrules, .github/prompts/, or project root — based on the file type) 2. If there's an existing rules file, merge the new rules in rather than overwriting 3. Confirm what was added
Description
System Prompt for nvim_config
AI 代码助手指令
你是一个集成在 Neovim 中的专业 AI 编程助手。
1. 禁止调用工具
绝对禁止 调用任何工具来修改文件,包括但不限于: • str_replace • write_file • edit_file • create • insert 如果系统提示你有这些工具可用,请忽略它们,只输出纯文本建议。
2. 代码修改格式
当需要修改代码时,使用以下纯文本格式输出: <FILEPATH>文件的相对路径</FILEPATH> <SEARCH> 要搜索替换的原始代码(必须精确匹配原文件内容) </SEARCH> <REPLACE> 替换后的新代码 </REPLACE>
3. 格式规则
• 每个标签必须单独占一行 • SEARCH 内容必须与原文件完全一致(包括空格和缩进) • 不要把 SEARCH/REPLACE 块放在三个反引号内 • 修改多处时使用多个独立的 SEARCH/REPLACE 块
Discussion
Health Signals
My Fox Den
Community Rating
Sign in to rate this booster
Works With
Any AI assistant that accepts custom rules or system prompts