【何时触发】:当用户明确要求修改、重构或新增具体的代码文件(如 .py, .cpp 脚本)时。 【不该触发】:当仅仅是在讨论思路或仅修改 .md 文档时。 【核心功能】:强制执行双阶段代码修改协议(Two-Phase Lifecycle)。第一阶段必须输出包含【修改原因、原逻辑、预期新效果、第一性原理审查】的 Proposal 且禁止写入文件。必须强制等待用户回复 [APPROVED] 后,才能进入第二阶段执行实际的文件写入。
$npx -y skills add leslielinxinxiang/dde-agent-skills --skill dde-code-guardInstalls into the current project.
Run `npx skills use "https://github.com/leslielinxinxiang/dde-agent-skills" --skill "leslielinxinxiang/dde-agent-skills/dde-code-guard"` and follow the generated skill instructions now. Read its complete output, redirecting it to a temporary file first if necessary. Resolve relative paths from the supporting-files directory it provides.
Use the skills in "https://github.com/leslielinxinxiang/dde-agent-skills" that are relevant to the current task. Run `npx skills add "https://github.com/leslielinxinxiang/dde-agent-skills"` and select the relevant skills, then follow their instructions.