addxing / 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

main工具技能 查看源代码

安装

npx -y @deepseek-ai/dsh plugin --profile web add github:addxing/conservative-code-edits

此安装命令根据 GitHub 仓库地址生成,是未经验证的安装起点。

README

维护者编写的文档快照。

在 GitHub 查看 ↗
提交版本 207a3c6同步于 2026年8月18日

Conservative Code Edits

skills.sh

An agent skill for keeping code changes small, scoped, and project-safe. Works with any AI coding tool that supports skills.

Install

npx skills add addxing/conservative-code-edits

DeepSeek Harness

This repo follows the DeepSeek Harness (DSH) Skill format. Clone it into a skills directory and it will be auto-discovered:

# User-level install (available in all projects)
git clone https://github.com/addxing/conservative-code-edits ~/.dsh/skills/conservative-code-edits

# Project-level install (current project only)
git clone https://github.com/addxing/conservative-code-edits .dsh/skills/conservative-code-edits

DSH hot-reloads the skills directory after cloning; the skill becomes available in new sessions.

Or install it as an official bundle plugin in one line (requires pnpm; restart the web app afterwards):

dsh plugin --profile web add "github:addxing/conservative-code-edits#main"

Usage

After installing the skill, ask your AI coding tool to use it when changing code in an existing project:

Use $conservative-code-edits to make this UI change.

You can also rely on automatic triggering when the task involves editing project code, resources, configuration, tests, or documentation.

What It Does

This skill guides an agent to:

  • make the smallest necessary code change
  • preserve existing architecture and implementation style
  • avoid unrelated refactors and formatting churn
  • ask before editing shared foundation code
  • use dynamic color resources when a project supports dark mode

Files

  • SKILL.md - the skill instructions
  • LICENSE.txt - Apache 2.0 license

仓库信息

开发语言
JavaScript
许可证
Apache-2.0
最后更新
2026年8月14日 08:25

谨慎安装

请检查源代码、权限、生命周期脚本、依赖与网络访问;不受信任的插件应先在隔离环境中测试。