orch-change-feature
它能做什么
这个工具用于修改程序中已经能正常工作的功能,让它的行为变成你想要的样子。它会更新测试、修改代码,并审查这些改动。
适用场景
- ✓当某个现有功能能正常工作,但你希望它做一些新的事情时。
- ✓当你想调整行为,同时又不破坏已经能正常运行的部分时。
- ✓当你希望程序“也”做某事,或“改为”做别的事情时。
技能链接
https://github.com/affaan-m/ECC/blob/main/skills/orch-change-feature/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“把登录功能改成同时接受带有或不带有“.com”的邮箱地址。”
每周 5 个新技能,1 分钟读完。
工作原理
这个工具会先更新测试,让测试反映你期望的新行为。然后修改代码,使测试通过,从而确保改动按预期生效。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
orch-change-feature
Actor · action · target: orch · change · feature. Thin wrapper over the
shared engine in orch-pipeline.
When to Use
- An existing feature works, but the desired behavior is different ("change", "adjust", "make it also …", "instead of X do Y").
- Distinguish from siblings:
- not broken → not
orch-fix-defect(no bug to reproduce). - not new → not
orch-add-feature(the capability already exists).
- not broken → not
Operation settings
- Default size floor: small — most tweaks are a function or two.
- Phase mask: 0 → (1 only if the new behavior needs research) → light 2 → 4 → 5 → 6.
- First move (phase 4): update the existing tests to express the new desired behavior, then change the implementation until they pass. Changing the tests first is what separates a tweak from a fix.
How It Works
- Run the
orch-pipelineengine with the settings above. - Keep the plan light — only
standard+ size warrants the fullplannerpass. - Stop at Gate 1 (plan / changed-test approval) and Gate 2 (pre-commit).
- Add
security-reviewerif the change touches a security trigger.
Example
orch-change-feature: make nws-poller alert at 2 warnings instead of 3
→ update threshold tests to new spec → change impl to green
→ code-review → commit [GATE 2: confirm]
常见问题
修改功能和修复 bug 有什么区别?
修复 bug 是针对已经出错、无法正常工作的情况。修改功能则是针对功能本来可以正常工作,但你希望它表现得不同。
这个工具会创建全新的东西吗?
不会,它是修改已经存在的东西。如果要创建全新的东西,你需要使用其他工具。
这里的“测试”是什么意思?
测试是自动检查,用来确认代码是否按照预期运行。修改功能时,测试也需要同步更新,以匹配新的行为。
详情
作者的原始描述
Orchestrate altering an existing, working feature to new desired behavior — update its tests to the new spec, change the implementation to match, review, and gated commit. Use when behavior is not broken but should be different.
repo: affaan-m/ECC
热度
- GitHub 星标
- 280k
- 排名
- #374
- 许可证
- MIT
- 更新时间
- 2026/10/15
评论
- …
同一仓库的更多技能
accessibility
280k帮你的智能体创建人人都能使用的界面。确保网站和应用对残障人士友好,比如失明或行动不便的用户也能顺畅使用。
agent-architecture-audit
280k让你的智能体检查一切是否正常运行。它能找出并修复 AI 系统中的问题,确保系统按预期工作。
agent-eval
280k帮你的智能体比较不同的 AI 编程工具。它能衡量哪个工具在特定任务上更快、更便宜、更可靠。
agent-harness-construction
280k让你的智能体更好地理解如何完成任务。它会优化智能体使用的工具和指令,提高成功的几率。