* 重构ActionCommand和LearnCommand,更新DPMLContentParser和SemanticRenderer的导入路径,确保模块结构一致性。删除不再使用的DPMLContentParser和SemanticRenderer文件,优化代码结构,提升可维护性。 * 重构PromptX资源协议系统,采用极简两层协议架构,删除不必要的语义层,优化路径解析和资源加载流程。引入AI协作优化,支持直接生成完整协议路径,提升系统性能和用户体验。整体架构简化60%,实现零配置启动,显著降低内存占用和启动时间。 * optimize:优化女娲提示词 * Optimize:更新记忆策略文档,增加角色专业记忆的独特价值和工作流程,强调角色记忆与客户端记忆的差异,优化记忆引导话术和决策规则,以提升用户对专业记忆系统的理解和应用。 * feature:增加 Sean 角色 * optimize:优化记忆格式化逻辑,确保完整记忆内容不被截断,同时更新工具定义中的描述,增强用户对记忆回想器的理解和使用指导。 * feat: 添加DACP服务支持,允许通过命令行调用DACP专业服务,增强AI角色的执行能力,同时更新相关依赖和工具定义。 * feat: 在MCPServerCommand和MCPStreamableHttpCommand中添加'promptx_dacp'参数映射,同时在DACPCommand中优化参数处理逻辑,以支持数组参数的正确解析。 * feat: 更新DACP演示服务,重命名服务和描述,简化功能,删除不必要的日历和文档操作,增强演示效果。同时,优化了API接口和README文档,确保用户更易于理解和使用。 * feat: 添加DACP邮件发送功能,支持真实发送与Demo模式,增强邮件发送的配置管理和错误提示,优化用户体验。 * feat: 更新女娲和Sean角色文档,增强角色身份、核心特质和决策框架的描述,优化内容结构,提升用户理解和使用体验。同时,更新产品哲学知识体系,明确矛盾驱动和简洁性原则的应用。 * Add product management submodule * fix: 修复 recall 和 learn 的 bug * refactor: 把 hello 改成 welcome * feat: 添加DACP服务启动脚本和测试命令,更新相关依赖,优化配置文件路径处理 * fix: 更新pnpm-lock.yaml以匹配DACP依赖,解决CI中--frozen-lockfile的错误 * 更新DACP白皮书的更新日期至2025-01-19;在DACPConfigManager中优化配置管理,支持项目级和用户级配置的优先级处理,增强错误提示信息,更新相关方法以支持异步操作。
14 KiB
PromptX · AI-native Professional Capability Enhancement System
Provides specialized roles, memory management, and knowledge systems for AI applications through MCP protocol. One command to transform any AI client into a professional powerhouse.
✨ Understanding PromptX at a Glance
What can PromptX do? Simply put, it gives your AI assistant a "brain" and "memory," and transforms you from user to creator.
- 🎭 Professional Role-Playing: Provides expert roles across different domains, making AI responses more professional and in-depth.
- 🧠 Long-term Memory & Knowledge Base: AI can remember key information and your preferences, providing coherent and personalized support in ongoing conversations and work.
- ✨ AI Role Creation Workshop: Create professional AI assistants in 2 minutes - Transform your ideas into reality, evolving from user to creator.
- 🔌 Easy Integration: With just one command, seamlessly enable these powerful features for dozens of mainstream AI applications (like Claude, Cursor).
📸 Usage Effects After Configuration
1. Discover and Activate Professional Roles
Use promptx_welcome to discover available roles, then promptx_action to activate them, instantly transforming your AI into a domain expert.

2. Intelligent Memory
Use promptx_remember to save key information, and AI will proactively apply this knowledge in subsequent interactions.

⚠️ Project Status Notice
PromptX is currently in the early development stage, and we are actively improving features and fixing issues. Before reaching the official stable version, you may encounter some usage issues or instability.
We sincerely ask for your understanding and support! 🙏
📞 Need Help? Get Support!
If you encounter any issues during usage, please contact us through:
- 🐛 Submit Issue: GitHub Issues - Describe the problem in detail, we'll respond promptly
- 💬 Direct Contact: Add developer WeChat
deepracticexfor immediate assistance - 📧 Email Contact: Send email to
sean@deepracticex.comfor technical support - 📱 Tech Community: Scan the QR code below to join our technical discussion group
Your feedback is invaluable to us and helps us improve product quality rapidly! ✨
🚀 Quick Start - 30-Second Setup
Open your configuration file and copy the promptx configuration code below. This is the simplest zero-configuration mode, where PromptX automatically handles everything for you.
{
"mcpServers": {
"promptx": {
"command": "npx",
"args": [
"-y",
"-f",
"--registry",
"https://registry.npmjs.org",
"dpml-prompt@beta",
"mcp-server"
]
}
}
}
Configuration Parameters:
command: Specifies using npx to run promptx serviceargs: Startup parameters configuration list-y: Auto-confirm-f: Force refresh cache--registry: Specify registry sourcehttps://registry.npmjs.org: Use official registrydpml-prompt@beta: Use stable beta versionmcp-server: Start service
🎯 It's that simple! Save the file and restart your AI application, and PromptX is successfully activated.
💡 Tip: The configuration specifically uses the official registry
registry.npmjs.orgto avoid installation issues caused by unofficial mirrors. If you find the installation slow, it's recommended to use a proxy tool for acceleration rather than switching to alternative mirrors.
🌐 Advanced Configuration: HTTP Mode Support
In addition to the local mode above, PromptX also supports HTTP mode, suitable for remote deployment or special network environments:
# Start HTTP mode server
npx -f -y dpml-prompt@beta mcp-server --transport http --port 3000
Then use in client configuration:
{
"mcpServers": {
"promptx": {
"url": "http://localhost:3000/mcp"
}
}
}
📖 Complete Installation & Configuration Guide - Detailed configuration methods for various clients and troubleshooting
⚙️ How It Works
PromptX acts as a "professional capability middleware" between you and your AI application, communicating through the standard MCP protocol.
graph TD
subgraph "Your AI App (Claude,Cursor,etc.)"
A[👨💻 User Interaction]
end
subgraph "PromptX MCP Server"
C{PromptX Engine}
D[🎭 Role Library]
E[🧠 Memory & Knowledge]
end
A -- "Calls 'promptx_...' tools" --> B(MCP Protocol)
B --> C
C -- "Accesses" --> D
C -- "Accesses" --> E
subgraph "Enhanced Response"
F[✨ Professional Output]
end
C --> F
When you call the promptx_... series of tools, your AI application sends the request via the MCP protocol to PromptX. The PromptX engine loads the appropriate professional roles, retrieves relevant memories, and then returns a professionally enhanced result to your AI application, which is ultimately presented to you.
New to MCP? Watch MCP Tutorial on BiliBili
All AI clients that support the MCP protocol can use PromptX. This includes major applications like Claude Desktop, Cursor, Windsurf, Cline, Zed, Continue, and many more mainstream AI development tools that are integrating MCP support.
🎯 After configuration, your AI application will automatically gain 6 professional tools:
promptx_init: 🏗️ System Initialization - Automatically prepares the working environment.promptx_hello: 👋 Role Discovery - Browse all available expert roles.promptx_action: ⚡ Role Activation - Transform into an expert in a specific domain with one click. (Includes Nuwa🎨 Role Creation Consultant)promptx_learn: 📚 Knowledge Learning - Have AI learn specific knowledge or skills.promptx_recall: 🔍 Memory Retrieval - Look up historical information from the memory repository.promptx_remember: 💾 Experience Saving - Store important information in long-term memory.
📖 Complete MCP Integration Guide
🎨 Nuwa Creation Workshop - Democratizing AI Role Design
💫 From Idea to Reality in Just 2 Minutes
Have you ever thought: What if I could customize a professional AI assistant for specific work scenarios? Nuwa makes this idea a reality.
"Every idea deserves its own dedicated AI assistant. Technical barriers should never limit creative flight."
🎯 Core Value Transformation
- 🚀 Zero-Barrier Creation: No need to learn complex technology - describe your needs in natural language
- ⚡ Lightning-Fast Delivery: From idea to usable role in just 2 minutes
- 🎭 Professional Quality: Automatically generates professional AI roles compliant with DPML standards
- 🔄 Plug-and-Play: Created roles can be activated immediately after completion
- 💝 Sense of Control: Elegant transformation from user to creator
✨ Usage Scenarios Examples
| 🎯 User Need | ⚡ Nuwa Generated | 🚀 Ready to Use |
|---|---|---|
| 👩💼 "I need an AI assistant for Instagram marketing" | Instagram Marketing Expert Role | promptx_action instagram-expert |
| 👨💻 "I want a Python async programming expert" | Python Async Programming Tutor Role | promptx_action python-async-tutor |
| 🎨 "Give me a UI/UX design consultant" | UI/UX Design Expert Role | promptx_action uiux-consultant |
| 📊 "Need a data analyst assistant" | Data Analysis Expert Role | promptx_action data-analyst |
📊 Efficiency Revolution
| Traditional Method | Nuwa Method | Improvement |
|---|---|---|
| 📚 Learn DPML syntax | 🗣️ Natural language description | 95% learning curve reduction |
| ⏰ 2-8 hours development | ⚡ 2 minutes generation | 240x speed increase |
| 🤔 Technical decision making | 🎯 Focus on requirements | 100% cognitive load reduction |
| 🧪 Manual testing and debugging | ✅ Instant activation | 99% error rate reduction |
🚀 4-Step Simple Workflow
💬 User Testimonials
👨💻 Developer: "I used to spend hours writing role configurations. Now with Nuwa, I describe my needs and get a professional AI assistant immediately. It's magical!"
🎨 Designer: "As a non-technical person, I never thought I could create AI roles. Nuwa made me feel like a creator, not just a user."
📊 Product Manager: "Our team now creates customized AI assistants for different projects. Nuwa has become an indispensable part of our toolkit."
🧠 Design Philosophy
Nuwa embodies the core philosophy of PromptX: "Making professional capabilities accessible to everyone". We believe that:
- 🌟 Boundless Creativity: Technical barriers shouldn't limit imagination
- ⚡ Instant Satisfaction: Great ideas deserve immediate realization
- 🎯 Demand-Driven: Technology should serve human creativity, not constrain it
- 🤝 Ecosystem Co-creation: Every user can contribute to the AI assistant ecosystem
📋 Practice Cases: Legacy Lands Library
📖 Project Overview
Project Name: Legacy Lands Library
Project URL: https://github.com/LegacyLands/legacy-lands-library
Project Description: legacy-lands-library is a development toolkit library for modern Minecraft server plugin development. It aims to provide developers with a cross-platform, production-ready infrastructure.
🏢 Organization Information
Organization Name: Legacy Lands Development Team
Official Website: https://www.legacylands.cn/
Organization Description: Legacy Lands is an innovative team focused on building large-scale Minecraft civilization simulation experiences. They participate in the open-source community, providing elegant, efficient, and reliable solutions for Minecraft server plugin development and other domains.
💡 Core Developer Experience
"The development experience with PromptX is truly different. Our team, using Claude Code combined with PromptX, had one developer complete over eleven thousand lines of high-quality Java code in just three days.
The value of this workflow is fully demonstrated in actual development. PromptX solves many pain points in AI usage, consistently ensuring code style uniformity and quality standards, greatly reducing the learning curve for new team members. Best practices that previously required repeated communication and documentation inheritance can now naturally integrate into every code generation."
📚 Related Resources
- AI Integration Standards and Practice Guide: https://github.com/LegacyLands/legacy-lands-library/blob/main/AI_CODE_STANDARDS_ZHCN.md
⭐ Star Growth Trend
🤝 Contributing and Communication
We welcome any form of contribution and feedback!
- 🌿 Branching Strategy - Branch management and release process
- 🚀 Release Process - Version management and release documentation
Join our technical community:
📄 License
MIT License - Making AI professional capabilities accessible
🚀 Get Started Now: Launch PromptX MCP Server and enhance your AI application with professional capabilities!





