新增wiki命令文件
This commit is contained in:
27
wiki/concepts/系统提示词构建.md
Normal file
27
wiki/concepts/系统提示词构建.md
Normal file
@@ -0,0 +1,27 @@
|
||||
---
|
||||
id: 系统提示词构建
|
||||
title: "系统提示词构建"
|
||||
type: concept
|
||||
tags: [prompt-engineering, system-prompt]
|
||||
sources: []
|
||||
last_updated: 2025-12-30
|
||||
---
|
||||
|
||||
# 系统提示词构建
|
||||
|
||||
定义AI助手行为准则和能力的系统化方法。
|
||||
|
||||
## Definition
|
||||
通过明确的核心身份准则、沟通规范、技术规范和安全防护,构建可靠、一致的AI助手系统。
|
||||
|
||||
## Core Categories
|
||||
1. **核心身份与行为准则**:项目约定、代码风格、架构模式
|
||||
2. **沟通与互动**:专业语气、Markdown格式化、不重复信息
|
||||
3. **任务执行与工作流**:TODO列表、分解任务、验证步骤
|
||||
4. **技术与编码规范**:变量命名、模块化、错误处理
|
||||
5. **安全与防护**:密钥保护、最小权限
|
||||
6. **工具使用**:并行执行、专用工具优先
|
||||
|
||||
## Related Concepts
|
||||
- [[提示词优化]]
|
||||
- [[结构化输出]]
|
||||
Reference in New Issue
Block a user