In the DeepSeek Harness (DSH) ecosystem, building prompts for specific scenarios—such as Product Requirement Documents (PRDs), codebase analysis, or bug analysis—often requires a large amount of structured work. The xby-generate-prd-prompt plugin aims to solve this problem by providing a dynamic prompt generation and template assembly solution based on a modular architecture.
Plugin Introduction¶
This plugin corresponds to the Mercury Spec Ops MCP Server and is a tool for AI assistants to interact with professional content. It supports dynamic prompt generation and assembly by specifying the technology stack and key focus areas, thereby simplifying the prompt engineering workflow.
Core Features¶
The plugin provides the following core capabilities:
- set_xby_apikey: Sets the API key in the chat context. The system automatically persists it, so it remains valid after a restart.
- generate_prd_prompt: Generates an assembled Product Requirement Document (PRD) prompt based on the specified technology stack and key analysis focus areas.
- generate_codebase_analysis_prompt: Generates an assembled codebase analysis prompt based on the specified technology stack and key analysis focus areas.
- generate_bug_analysis_prompt: Generates an assembled bug analysis prompt based on the specified technology stack and severity level.
- get_prd_template: Retrieves a complete PRD Markdown template containing all standard sections (14 sections in total).
- get_codebase_analysis_template: Retrieves a complete codebase analysis Markdown template containing all standard sections (12 sections in total).
- get_bug_analysis_template: Retrieves a complete bug analysis Markdown template containing all standard sections (8 sections in total).
Installation and Configuration¶
Installation¶
Install the plugin using the following command:
dsh plugin --profile web add github:xby_skill/xby-generate-prd-prompt
Configuration¶
Using this plugin requires registering on the official Xiaoben Yang website and obtaining an API key. The installation command supports the --profile web mode.
Typical Usage¶
- Set the Key: First, call
set_xby_apikeyin the chat to set the API key and ensure the environment is configured correctly. - Get a Template: Retrieve the appropriate Markdown template using
get_prd_template,get_codebase_analysis_template, orget_bug_analysis_template. - Generate the Prompt: Based on specific requirements, call
generate_prd_prompt,generate_codebase_analysis_prompt, orgenerate_bug_analysis_prompt, passing parameters such as the technology stack, analysis dimensions, or severity level, to generate the final prompt.
Notes¶
This plugin runs with the permissions of the current DSH process. Before installing, it is recommended to review the source code and license (MIT). The plugin is mainly suitable for scenarios that require a standardized prompt generation workflow, enabling AI assistants to quickly produce structured professional content.
Ecosystem Context¶
The DSH philosophy is that “everything is a plugin.” The community catalog is an independent site and has no official affiliation with DeepSeek / 幻方. For more details, visit: