dshbase

插件目录 / Developer / conservative-code-edits

conservative-code-edits

已验证 · 实测可装 addxing

✓ 持续维护 3 位贡献者

查看 GitHub ↗ ← 返回插件目录

0Stars
1Forks
0未关闭 issue
—语言
2026-08-14最近推送
跨平台平台

功能简介

面向各类 AI 编程代理的保守代码修改守则 Skill,用于约束代理在已有项目中进行最小必要改动,避免无关重构,保护公共基础代码,并在支持深色模式的项目中优先使用动态颜色资源 An agent skill for keeping code changes small, scoped, and project-safe. Works with any AI coding tool that supports skills

✅
我们的评价
可用 — 实测通过,早期项目

面向各类 AI 编程代理的保守代码修改守则 Skill,用于约束代理在已有项目中进行最小必要改动,避免无关重构,保护公共基础代码,并在支持深色模式的项目中优先使用动态颜色资源 An agent skill for keeping code changes small, scoped, and project-safe. Works with any AI coding tool that supports skills 实测能干净安装、正常启动。早期项目,但功能可用。

「已验证」表示我们的自动化 CI 在干净 profile 里实际执行了 dsh plugin add 并启动成功——仅此而已。功能描述与版本兼容性均为作者声明。这不是安全审计,也不代表对第三方代码的背书。

README

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

安装

🧩 让 Agent 自动装(推荐)

装一次目录插件,之后本站所有插件都能让 DeepSeek Harness 自动找、自动装:

dsh plugin add dshbase-catalog

然后对 agent 说「帮我装 conservative-code-edits」,它会在目录里找到并自动安装。文档:dshbase-catalog · 已验证场景包。

该插件是 GitHub 源码(未发 npm)——直接从仓库装:

Web profile:

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

Headless(CLI)profile:

dsh plugin --profile headless add github:addxing/conservative-code-edits

实测报告

验证通过:从 GitHub 源码完成 L1 安装 + L2 加载 + L3 运行(dsh 0.1.0-rc.6)。

安全:尚未扫描——我们的每日静态扫描将很快覆盖它。

分享徽章

Developer 里更多

浏览全部 7819 个插件 →