Files
nexus/wiki/concepts/系统提示词构建.md
2026-04-14 16:02:50 +08:00

27 lines
874 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
---
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
- [[提示词优化]]
- [[结构化输出]]