Cc core defensive

From doccker/cc-use-exp · View interactive version

Cc core defensive is an AI agent skill from the GitHub repository doccker/cc-use-exp. 通用防御性编码规范,适用于跨语言代码修改中的最小改动、真实边界处理、定向验证,以及约束假想风险驱动的过度兜底或抽象;不负责语言细节、正式 review 或结构化 debug。

How to use this skill

Skill file

CC Core Defensive

在修改现有代码、配置或脚本时,优先使用本技能控制改动范围、决策方式和验证深度。

不要用于:

核心规则

工作方式

  1. 先读相关代码路径,再决定怎么改。
  2. 明确当前问题边界和直接影响面。
  3. 做最小改动。
  4. 做定向验证。
  5. 若必须扩大范围,先明确说明原因。

按需展开

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.