Skip to content

About

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

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Latest commit

 

History

16 Commits

Folders and files

Repository files navigation

Conservative Code Edits

skills.sh

An AI coding skill for editing existing projects. It guides agents to keep changes within the task's scope, preserve behavior that callers rely on, and verify changes within the project's constraints.

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

This skill applies to code changes in an existing project and to any updates to resources, configuration, tests, or documentation needed for those changes.

Select this skill using your tool’s skill mechanism, or ask for it by name. Invocation syntax and automatic activation depend on the tool.

Use the conservative-code-edits skill to make this UI change.

Files

  • SKILL.md - the full rules for making and verifying code changes
  • LICENSE.txt - Apache 2.0 license

About

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

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages