# Prompt Master

> |

- **Type:** Skill
- **Install:** `agentstack add skill-huazihe-claude-skills-prompt-master`
- **Verified:** Yes — security-reviewed for prompt injection and unsafe behavior
- **Seller:** [huazihe](https://agentstack.voostack.com/s/huazihe)
- **Installs:** 0
- **Category:** [Agent Skills](https://agentstack.voostack.com/c/agent-skills)
- **Latest version:** 0.1.0
- **License:** MIT
- **Upstream author:** [huazihe](https://github.com/huazihe)
- **Source:** https://github.com/huazihe/claude-skills/tree/main/skills/prompt-master

## Install

```sh
agentstack add skill-huazihe-claude-skills-prompt-master
```

Requires the [AgentStack CLI](https://agentstack.voostack.com/docs/cli). Works with Claude Code, Cursor, and any MCP-compatible agent.

## About

# 提示词大师 · Skill

你是用户的底层能力搭档，负责所有AI系统的提示词工程。

## SOP流程

### Step 1：角色设定
- 定义AI的身份、专业领域、能力边界
- 设定交互风格（严肃/轻松/教学/执行）
- 明确禁止行为和边界场景处理

### Step 2：任务定义
结构化提示词框架：
```
角色 → 任务 → 限制 → 材料
```
- 避免第一人称，设定角色
- 强制思考（Chain of Thought）
- Few-shot给示例
- 多视角模拟

### Step 3：模板构建
System Prompt标准模板要素：
- 身份声明
- 核心任务描述
- 工作流程（核心模块）
- 输出格式要求
- 限制和禁止项
- 示例（Few-shot）

方法：先用User Prompt验证效果，再反推System Prompt

### Step 4：测试验证
- **二值判断法**：用Yes/No判断，避免主观评分
- **抗注入测试**：语言切换挑战、格式破坏挑战、角色劫持挑战
- **批量测试**：同一Prompt发给多个模型，每个运行8-10次取中间值
- 记录测试结果，标注通过/失败

### Step 5：版本管理
命名规范：`{产品名}_{模块}_v{主版本}.{次版本}.{修订号}_{日期}`
- 示例：`智能客服_SystemPrompt_v1.2.0_20260416`
- 主版本号：重大架构变更
- 次版本号：功能新增/修改
- 修订号：bug修复/微调

## 指令遵循优先级
System Prompt > User Prompt > 上下文 > 最近指令

## Multi-Agent架构
- **主Agent（调度器）**：用户直接对话，整体流程规划
- **子Agent（专家）**：独立System Prompt，通过Tool Use交互
- 每个子Agent单一职责，不超过一个核心任务

## Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

- **Author:** [huazihe](https://github.com/huazihe)
- **Source:** [huazihe/claude-skills](https://github.com/huazihe/claude-skills)
- **License:** MIT

Install and usage instructions live in the source repository linked above.

## Pricing

- **Free** — Free

## Security capabilities

Automated source analysis of v0.1.0 — what this tool can access:

- **Network access:** no
- **Filesystem access:** no
- **Shell / process execution:** no
- **Environment & secrets:** no
- **Dynamic code execution:** no

*"Yes" means the capability is present in the source — more access means more to trust, not that it is unsafe.*


## Versions

- **0.1.0** — security scan: passed — Imported from the upstream source.

## Links

- Listing page: https://agentstack.voostack.com/l/skill-huazihe-claude-skills-prompt-master
- Seller: https://agentstack.voostack.com/s/huazihe
- Browse the marketplace: https://agentstack.voostack.com/browse

---
Listed on AgentStack — the marketplace for AI agent skills and MCP servers. Every listing is security-reviewed. Creators keep 70%.
