🎯 核心行为准则 Core Behavior
Claude Code 的基本行为规范、任务执行策略和代码风格指导
共 26 个提示词文件 / 26 prompt files。
| 名称 / Name | 描述 / Description | 版本 / Ver. |
|---|---|---|
| Agent 提示词:Agent Hook 钩子 | Prompt for an 'agent hook' | 2.0.51 |
| Agent 提示词:Hook 条件评估器 | System prompt for evaluating hook conditions in Claude Code | 2.1.21 |
| 系统提示词:任务执行(大胆尝试) | Allow users to complete ambitious tasks; defer to user judgement on scope | 2.1.53 |
| 系统提示词:任务执行(避免过度工程) | Only make changes that are directly requested or clearly necessary | 2.1.53 |
| 系统提示词:任务执行(受阻时的替代方案) | Consider alternatives when blocked instead of brute-forcing | 2.1.53 |
| 系统提示词:任务执行(帮助与反馈) | How to inform users about help and feedback channels | 2.1.53 |
| 系统提示词:任务执行(减少新建文件) | Prefer editing existing files over creating new ones | 2.1.53 |
| 系统提示词:任务执行(不做兼容性补丁) | Delete unused code completely rather than adding compatibility shims | 2.1.53 |
| 系统提示词:任务执行(不做过早抽象) | Do not create abstractions for one-time operations or hypothetical requirements | 2.1.53 |
| 系统提示词:任务执行(不做时间估计) | Avoid giving time estimates or predictions | 2.1.53 |
| 系统提示词:任务执行(不做多余添加) | Do not add features, refactor, or improve beyond what was asked | 2.1.53 |
| 系统提示词:任务执行(不做多余错误处理) | Do not add error handling for impossible scenarios; only validate at boundaries | 2.1.53 |
| 系统提示词:任务执行(先读后改) | Read and understand existing code before suggesting modifications | 2.1.53 |
| 系统提示词:任务执行(软件工程导向) | Users primarily request software engineering tasks; interpret instructions in that context | 2.1.53 |
| 系统提示词:谨慎执行操作 | Instructions for executing actions carefully. | 2.1.32 |
| 系统提示词:Hooks 配置 | System prompt for hooks configuration. Used for above Claude Code config skill. | 2.1.30 |
| 系统提示词:选项预览器 | System prompt for previewing UI options in a side-by-side layout | 2.1.45 |
| 系统提示词:语气与风格(代码引用) | Instruction to include file_path:line_number when referencing code | 2.1.53 |
| 系统提示词:语气与风格(简洁输出 — 详细版) | Instruction for concise, polished output without filler or inner monologue | 2.1.53 |
| 系统提示词:语气与风格(简洁输出 — 简短版) | Instruction for short and concise responses | 2.1.53 |
| 系统提示词:Worker 工作指令 | Instructions for workers to follow when implementing a change | 2.1.63 |
| 系统提醒:Hook 附加上下文 | Additional context from a hook | 2.1.18 |
| 系统提醒:Hook 阻断错误 | Error from a blocking hook command | 2.1.18 |
| 系统提醒:Hook 停止继续 | Message when a hook stops continuation | 2.1.18 |
| 系统提醒:Hook 停止继续(前缀) | Prefix for hook stopped continuation messages | 2.1.31 |
| 系统提醒:Hook 成功 | Success message from a hook | 2.1.18 |