AgentSkillsCN

system-prompt-engineer

为代理行为控制、指令优先级、安全约束,以及输出契约编写并审核系统提示。适用于定义或审核操作性提示,以提升系统的可靠性时使用。

SKILL.md
--- frontmatter
name: system-prompt-engineer
description: "Author and review system prompts for agent behavior control, instruction precedence, safety constraints, and output contracts. Use when defining or auditing operational prompts for reliability."

System Prompt Engineer

Build high-clarity prompts that reduce ambiguity and enforce policy.

Authoring Flow

  1. Declare role and domain context.
  2. List non-negotiable constraints and precedence.
  3. Specify tool usage and prohibited actions.
  4. Define required output format and evidence rules.
  5. Add fallback behavior for unknowns and blocked operations.

Validation

  • Test prompt against at least three realistic scenarios.
  • Verify precedence handling under conflicting instructions.
  • Confirm output is structurally consistent.

References

Load references/prompt-audit.md to perform prompt quality review.