Skip to content

🎯 核心行为准则 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 Code2.1.21
系统提示词:任务执行(大胆尝试)Allow users to complete ambitious tasks; defer to user judgement on scope2.1.53
系统提示词:任务执行(避免过度工程)Only make changes that are directly requested or clearly necessary2.1.53
系统提示词:任务执行(受阻时的替代方案)Consider alternatives when blocked instead of brute-forcing2.1.53
系统提示词:任务执行(帮助与反馈)How to inform users about help and feedback channels2.1.53
系统提示词:任务执行(减少新建文件)Prefer editing existing files over creating new ones2.1.53
系统提示词:任务执行(不做兼容性补丁)Delete unused code completely rather than adding compatibility shims2.1.53
系统提示词:任务执行(不做过早抽象)Do not create abstractions for one-time operations or hypothetical requirements2.1.53
系统提示词:任务执行(不做时间估计)Avoid giving time estimates or predictions2.1.53
系统提示词:任务执行(不做多余添加)Do not add features, refactor, or improve beyond what was asked2.1.53
系统提示词:任务执行(不做多余错误处理)Do not add error handling for impossible scenarios; only validate at boundaries2.1.53
系统提示词:任务执行(先读后改)Read and understand existing code before suggesting modifications2.1.53
系统提示词:任务执行(软件工程导向)Users primarily request software engineering tasks; interpret instructions in that context2.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 layout2.1.45
系统提示词:语气与风格(代码引用)Instruction to include file_path:line_number when referencing code2.1.53
系统提示词:语气与风格(简洁输出 — 详细版)Instruction for concise, polished output without filler or inner monologue2.1.53
系统提示词:语气与风格(简洁输出 — 简短版)Instruction for short and concise responses2.1.53
系统提示词:Worker 工作指令Instructions for workers to follow when implementing a change2.1.63
系统提醒:Hook 附加上下文Additional context from a hook2.1.18
系统提醒:Hook 阻断错误Error from a blocking hook command2.1.18
系统提醒:Hook 停止继续Message when a hook stops continuation2.1.18
系统提醒:Hook 停止继续(前缀)Prefix for hook stopped continuation messages2.1.31
系统提醒:Hook 成功Success message from a hook2.1.18