conservative-code-edits
面向各类 AI 编程代理的保守代码修改守则 Skill,用于约束代理在已有项目中进行最小必要改动,避免无关重构,保护公共基础代码,并在支持深色模式的项目中优先使用动态颜色资源 An agent skill for keeping code changes small, scoped, and project-safe. Works with any AI coding tool that supports skills
安装
dsh plugin add github:addxing/conservative-code-edits
首次安装 GitHub 来源的包时,可能需要在 profile 的 pnpm-workspace.yaml 的 allowBuilds 中允许该包的构建脚本;也可用 github:addxing/conservative-code-edits#<commit-sha> 锁定版本。详见官方文档。
还没有 DSH?两步开始 →
第一步:准备 Node.js 环境
DSH 依赖 Node.js(建议 20 LTS 或更新版本)。终端里运行 node -v 能显示版本号即已就绪。
已有 Node.js:直接进入第二步。
没有 Node.js:去 nodejs.org 下载 LTS 安装包(Windows/macOS 双击安装);或用包管理器:
brew install nodewinget install OpenJS.NodeJS.LTS第二步:启动 DSH
无需安装,直接运行:
npx @deepseek-ai/dsh web浏览器打开 http://127.0.0.1:3080,在 Web UI 的插件市场里搜索 conservative-code-edits,或粘贴上面的安装命令。