prd-prompt
Installation
Review the source and dependencies with a prompt. A package is available to download.
Install with an AI assistant
Copy the prompt so your assistant can review the pinned revision and dependencies first.
View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "prd-prompt" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-43ea29367424a45b6334c7c7d5dcdc19cd9f5bbc67e590be0bbb16baa424a27f. Verify the upstream source and version against https://skillhub.cn/skills/org-rn88lg3j/prd-prompt before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.
Source and setup
skillhub.cn
Setup guidance pending
See the original source for supported tools, dependencies, and permissions.
Installation test pending
Mercury Spec Ops MCP Server: a modular architecture tool for dynamic prompt generation and template assembly, intended for AI assistant and professional content interactions; supports dynamic generation across 31 tech stacks, 10 analysis dimensions, and 34 template parts.
Introduction source: third_party · org-rn88lg3j · 1.0.0 Reference
SkillPi interpretation
- Tasks
- Mercury Spec Ops MCP Server is a dynamic alert generation and template assembly tool based on modular architecture that applies to AI assistant interaction with professional content and supports the dynamic generation of 31 technology stacks, 10 analytical dimensions and 34 template components.
- Limits and differences
- 1 . **API key is necessary** and users must be asked through AskUserQuestion if no key is available 2 ** Ban ** Self-search or compilation of data in the absence of API keys
- Testing
- Not tested
Browse files
Frontmatter
name: 动态提示生成服务
description: Mercury Spec Ops MCP Server 是一个基于模块化架构的动态提示生成和模板组装工具,适用于AI助手与专业内容的交互,支持31种技术栈、10种分析维度和34个模板部分的动态生成。
version: 1.0.0
slug: generate-prd-prompt
displayName: 动态提示生成服务
summary: Mercury Spec Ops MCP Server 是一个基于模块化架构的动态提示生成和模板组装工具,适用于AI助手与专业内容的交互,支持31种技术栈、10种分析维度和34个模板部分的动态生成。
license: MIT动态提示生成服务
Mercury Spec Ops MCP Server 是一个基于模块化架构的动态提示生成和模板组装工具,适用于AI助手与专业内容的交互,支持31种技术栈、10种分析维度和34个模板部分的动态生成。
⚠️ 强制要求:API 密钥
此 Skill 必须配置 API 密钥才能使用。
- 首次使用时,如果
.env中没有XBY_APIKEY,必须使用 AskUserQuestion 工具向用户询问 API 密钥 - 拿到用户提供的密钥后,调用
scripts.config.set_api_key(api_key)保存,然后继续处理 - 获取 API 密钥:https://xiaobenyang.com
- 禁止在缺少 API 密钥时自行搜索或编造数据
工作流程(必须遵守)
你(大模型)是路由层,负责理解用户意图、选择工具、提取参数。代码只负责调用API。
用户输入 → 你选择工具 → 提取该工具需要的参数 → 调用 scripts.tools 中的函数 → 返回结果给用户
步骤
- 检查 API 密钥:如果
scripts.config.settings.api_key为空,使用 AskUserQuestion 询问用户,拿到后调用scripts.config.set_api_key(key)保存 - 选择工具:根据用户意图从下方工具列表中选择对应的工具函数
- 提取参数:根据选中的工具,提取该工具需要的参数
- 调用工具:使用关键字参数调用
scripts.tools中的函数,例如scripts.tools.search_schools(score='520', province='北京', category='综合') - 返回结果:将工具返回的
raw数据整理后展示给用户
工具选择规则
根据用户意图选择对应的工具函数:
| 用户意图 | 工具函数 |
|---|---|
| Generate an assembled Product Requirements Document prompt with specified technology stacks and analysis focus areas | scripts.tools.generate_prd_prompt |
| Generate an assembled codebase analysis prompt with specified technology stacks and analysis focus areas | scripts.tools.generate_codebase_analysis_prompt |
| Generate an assembled bug analysis prompt with specified technology stacks and severity level | scripts.tools.generate_bug_analysis_prompt |
| Fetch a comprehensive Product Requirements Document markdown template with all standard sections (14 sections total) | scripts.tools.get_prd_template |
| Fetch a comprehensive codebase analysis markdown template with all standard sections (12 sections total) | scripts.tools.get_codebase_analysis_template |
| Fetch a comprehensive bug analysis markdown template with all standard sections (8 sections total) | scripts.tools.get_bug_analysis_template |
如果参数不完整,使用 AskUserQuestion 向用户询问缺失的参数。
工具函数说明
scripts.tools.generate_prd_prompt
工具描述:Generate an assembled Product Requirements Document prompt with specified technology stacks and analysis focus areas
参数定义
| 参数名称 | 参数类型 | 是否必填 | 默认值 | 描述 |
|---|---|---|---|---|
| technology_stack | array | true | Technology stacks to include in prompt assembly | |
| analysis_focus | array | false | Analysis focus areas for the PRD | |
| project_context | string | false | Optional project context or background information |
scripts.tools.generate_codebase_analysis_prompt
工具描述:Generate an assembled codebase analysis prompt with specified technology stacks and analysis focus areas
参数定义
| 参数名称 | 参数类型 | 是否必填 | 默认值 | 描述 |
|---|---|---|---|---|
| technology_stack | array | true | Technology stacks to analyze | |
| analysis_focus | array | true | Areas to focus analysis on |
scripts.tools.generate_bug_analysis_prompt
工具描述:Generate an assembled bug analysis prompt with specified technology stacks and severity level
参数定义
| 参数名称 | 参数类型 | 是否必填 | 默认值 | 描述 |
|---|---|---|---|---|
| technology_stack | array | true | Technology stacks involved in the bug | |
| severity | string | true | Bug severity level | |
| bug_context | string | false | Optional bug description or context |
scripts.tools.get_prd_template
工具描述:Fetch a comprehensive Product Requirements Document markdown template with all standard sections (14 sections total)
参数定义
| 参数名称 | 参数类型 | 是否必填 | 默认值 | 描述 |
|---|
scripts.tools.get_codebase_analysis_template
工具描述:Fetch a comprehensive codebase analysis markdown template with all standard sections (12 sections total)
参数定义
| 参数名称 | 参数类型 | 是否必填 | 默认值 | 描述 |
|---|
scripts.tools.get_bug_analysis_template
工具描述:Fetch a comprehensive bug analysis markdown template with all standard sections (8 sections total)
参数定义
| 参数名称 | 参数类型 | 是否必填 | 默认值 | 描述 |
|---|
返回值处理
工具函数返回 dict 对象:
result["raw"]- API 原始返回数据(JSON),直接将此数据整理后展示给用户result["success"]- 是否成功(True/False)result["message"]- 状态消息
项目结构
./
├── scripts/
│ ├── __init__.py
│ ├── config.py # 配置管理 + set_api_key()
│ ├── call_api.py # API 客户端 + call_api()
│ └── tools.py # 工具函数(直接调用)
├── requirements.txt
└── SKILL.md
注意事项
- API 密钥是必需的,无密钥时必须通过 AskUserQuestion 询问用户
- 禁止在缺少 API 密钥时自行搜索或编造数据
Current listing version
1.0.0
Safety and assessment details
Quality assessment
Out of 100 · Assessment report from SkillPi LAB.
Highlights
- 提供动态提示生成与模板组装能力,支持31种技术栈和10种分析维度
- 适用于AI助手与专业内容交互,具有明确的实用场景
Areas to improve
-
触发词描述不够具体 Reported severity: Minor
description 描述了功能但未提供典型用户指令示例或触发关键词
Recommendation: 建议在文档中添加典型触发语句示例,如'帮我生成一个PRD提示'等,提升触发准确性
Highlights
- 功能描述清晰,覆盖主要使用场景
Areas to improve
-
description 内容重复 Reported severity: Minor
顶层 frontmatter 和 skill_body 中 description 字段内容完全重复
Recommendation: 建议保留一处即可,避免冗余
Highlights
- 文档结构完整,包含工作流程、工具选择规则、参数定义等关键章节
- frontmatter 信息完整,项目结构说明清晰
Areas to improve
-
异常处理覆盖不全 Reported severity: Minor
缺少对网络异常、API限流、响应超时等常见异常场景的处理说明
Recommendation: 建议在注意事项或工具说明中补充异常处理机制说明
Highlights
- 明确要求API密钥并通过AskUserQuestion获取,避免无密钥执行
- 参数缺失时有明确的用户询问机制
The arithmetic mean of the first four original scores, rounded to a whole number.
Static text checks
100 / 100 · skillpi-20261123-no-r3-v1
No current rules matched the text.
This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.
Permissions and checks before use
Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.
-
Accounts, secrets or authorization
Use a dedicated least-privilege account. Keep secrets out of public content and command logs; verify the receiving service and tenant.
Mentioned in main document · lines 17, 19, 21, 22, 23
Domains or addresses referenced in the document
These addresses may be documentation links or examples, not an approved network allowlist. Verify actual destinations and outgoing data before use.
- xiaobenyang.com
Security rating and access scope
safe · Static evidence review; not a runtime safety guarantee.
Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.
User discussion
No verified reviews yet.