Sean 21118df55f feat: 添加Repository Views徽章优化README展示效果 (#92)
* 重构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中优化配置管理,支持项目级和用户级配置的优先级处理,增强错误提示信息,更新相关方法以支持异步操作。

* Develop (#66)

* 重构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中优化配置管理,支持项目级和用户级配置的优先级处理,增强错误提示信息,更新相关方法以支持异步操作。

* fix: 统一Pouch命令路径获取机制,解决Issue #69记忆持久化问题

修复多实例MCP环境下的路径不一致问题:
- RememberCommand: 使用ResourceManager替代DirectoryService直接调用
- RecallCommand: 使用ResourceManager替代DirectoryService直接调用
- RegisterCommand: 使用ResourceManager+DirectoryService统一路径获取

核心改进:
1. 所有命令现在使用相同的getGlobalResourceManager()初始化
2. 通过resourceManager.initializeWithNewArchitecture()确保路径一致性
3. 实现"要对一起对,要错一起错"的一致性原则

测试验证:
- 记忆写入和读取使用相同项目路径
- 多实例环境下路径解析行为完全一致
- 向后兼容,无破坏性变更

Fixes #69

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>

* Develop (#70)

* 重构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中优化配置管理,支持项目级和用户级配置的优先级处理,增强错误提示信息,更新相关方法以支持异步操作。

* fix: 统一Pouch命令路径获取机制,解决Issue #69记忆持久化问题

修复多实例MCP环境下的路径不一致问题:
- RememberCommand: 使用ResourceManager替代DirectoryService直接调用
- RecallCommand: 使用ResourceManager替代DirectoryService直接调用
- RegisterCommand: 使用ResourceManager+DirectoryService统一路径获取

核心改进:
1. 所有命令现在使用相同的getGlobalResourceManager()初始化
2. 通过resourceManager.initializeWithNewArchitecture()确保路径一致性
3. 实现"要对一起对,要错一起错"的一致性原则

测试验证:
- 记忆写入和读取使用相同项目路径
- 多实例环境下路径解析行为完全一致
- 向后兼容,无破坏性变更

Fixes #69

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>

---------

Co-authored-by: Claude <noreply@anthropic.com>

* doc: 新增“女娲”使用心得 (#73)

* feat:添加女娲的使用心得
refactor:readme最新版本同步到英文版

* docs: 添加社区教程与案例部分,包含基于PromptX架构的MCP工具开发实践经验

* Staging (#71)

* Develop (#66)

* 重构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中优化配置管理,支持项目级和用户级配置的优先级处理,增强错误提示信息,更新相关方法以支持异步操作。

* Develop (#70)

* 重构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中优化配置管理,支持项目级和用户级配置的优先级处理,增强错误提示信息,更新相关方法以支持异步操作。

* fix: 统一Pouch命令路径获取机制,解决Issue #69记忆持久化问题

修复多实例MCP环境下的路径不一致问题:
- RememberCommand: 使用ResourceManager替代DirectoryService直接调用
- RecallCommand: 使用ResourceManager替代DirectoryService直接调用
- RegisterCommand: 使用ResourceManager+DirectoryService统一路径获取

核心改进:
1. 所有命令现在使用相同的getGlobalResourceManager()初始化
2. 通过resourceManager.initializeWithNewArchitecture()确保路径一致性
3. 实现"要对一起对,要错一起错"的一致性原则

测试验证:
- 记忆写入和读取使用相同项目路径
- 多实例环境下路径解析行为完全一致
- 向后兼容,无破坏性变更

Fixes #69

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>

---------

Co-authored-by: Claude <noreply@anthropic.com>

---------

Co-authored-by: Claude <noreply@anthropic.com>

* 更新README文件,替换女娲创造工坊的logo图片,添加社区教程与案例部分,展示基于PromptX架构的MCP工具开发经验,提升内容的可读性和用户体验。

* 更新README文件,优化“女娲”功能的描述,强调其无需编程知识即可使用的便利性,并介绍其创建“小红书营销”专家的能力,提升内容的清晰度和用户体验。

---------

Co-authored-by: Sean <sean@deepracticex.com>
Co-authored-by: coso <wutongci@example.com>
Co-authored-by: Claude <noreply@anthropic.com>

* refactor: 优化DACP工具提示词,去除诱导性描述

- 将DACP工具描述从功能介绍改为使用条件
- 强调需要专业知识才能正确使用
- 避免AI在不了解服务配置时盲目尝试
- 符合"先学会使用工具再做事"的设计理念

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>

* Optimize:优化女娲提示词,为 Sean 添加 Github Issues 矛盾分析方法论

* fix: 修复 这几个命令使用了废弃的项目路径定位方案

* Optimize: 优化 sean 提示词

* Optimize: 优化 sean 提示词

* 删除产品子项目文件

* 🚀 feat: 记忆系统架构升级 + declarative.dpml命名重构 + MCP边界条件Bug修复

## 📊 变更概览
- declarative.dpml架构升级:memory.xml → declarative.dpml (认知科学语义精准)
- MCP环境边界条件Bug修复:解决空文件导致的记忆保存失败问题
- 跨项目角色发现Bug修复:优化环境检测顺序,MCP环境角色发现从1个→9个
- XML转义处理增强:完整的存储-显示分离架构,数据安全+用户友好

## 🎯 核心成就
 declarative.dpml升级:100%测试验证通过
 边界条件修复:三重保护机制,文件状态自动检测修复
 角色发现修复:环境检测顺序优化,跨项目使用稳定
 存储分离架构:XML转义安全存储 + AI友好显示

## 📁 主要文件变更
- RememberCommand.js/RecallCommand.js: declarative.dpml升级 + 边界条件修复
- PackageDiscovery.js: 环境检测顺序优化
- 新增思维模式文件: recall-xml.thought.md, remember-xml.thought.md
- 新增测试: memory-dpml-integration.test.js
- 完整文档: PR文档 + Bug报告 + 修复总结

🎉 架构升级验证:MCP重启测试100%通过,零中断平滑切换

* fix: 修复记忆时的问题处理合并的问题

* fix: 系统化优化角色输出显示,解决角色名称混淆问题

- 优化WelcomeCommand输出格式,角色列表显示为 `id` - name 格式
- 优化ActionCommand输出格式,激活成功时显示 `id` (name) 格式
- 更新package.registry.json中7个角色的name和description:
  * nuwa: "Nuwa 角色" → "女娲",描述更新为专业的角色创造能力
  * sean: "Sean 角色" → "Sean",描述更新为CEO身份
  * product-manager: 更新为"产品经理",描述强调价值平衡能力
  * java-backend-developer: 更新为"Java后端开发工程师",描述强调架构能力
  * frontend-developer: 更新为"前端开发工程师",描述强调用户体验
  * xiaohongshu-marketer: 更新为"小红书营销专家",描述强调平台运营
  * assistant: 更新为"总经理秘书",描述强调执行和协调能力
- 解决角色名称显示不一致和描述过于通用的问题
- 提升用户体验,避免角色身份混淆

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>

* feat: noface角色重命名及file://协议路径转换优化

## 主要变更
- **角色重命名**: wumian → noface,更符合英文命名规范
- **file://协议优化**: 新增FileProtocol.js支持本地文件访问
- **路径转换修复**: 智能处理Shell反斜杠转义问题
- **ResourceManager增强**: 支持基础协议直接处理

## 技术改进
- 修复复杂路径格式兼容性(如WeChat路径、中文字符、特殊符号)
- 自动清理反斜杠转义符(Application\ Support → Application Support)
- 完善错误处理机制和用户提示

## 文件变更
- 新增: noface角色完整文件结构(role + 2个execution文件)
- 新增: FileProtocol.js协议处理器
- 更新: ResourceManager.js基础协议支持
- 更新: package.registry.json角色注册信息

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>

* feat: 重新定位产品价值主张,强化AI上下文工程概念

核心改进:
- 🎯 主标题改为「领先的AI上下文工程平台」蹭技术热点
-  引入「Chat is all you need」革命性交互理念
- 🚀 前置强力案例数据(11000行代码、40小时→30分钟)
- 🎭 重新包装核心能力,突出专业价值

产品战略价值:
- 结合AI上下文工程趋势,提升技术定位
- 通过真实数据建立社会证明
- 降低技术理解门槛,扩大目标用户群

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>

* refactor: 重构社区章节和案例展示

核心改进:
- 🌟 新增「Deepractice深度实践社区」愿景展示
- 🎯 突出「AI时代Life Style」定位和「君子和而不同」价值观
- 🏗️ 重新设计社区资源架构:开源产品+开发者舞台+商业共建
- 📋 移动案例到最后,重命名为「社区优质案例分享」
- 🤝 简化「加入我们」为纯二维码展示

产品战略价值:
- 从工具项目升华为AI时代生活方式社区
- 建立开放包容的商业合作模式(内容换价值)
- 为社区可持续发展和商业化提供健康路径

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>

* feat: 全面优化社区价值体系和README结构

## 主要变更
- **社区定位升级**:从"AI时代Life Style"优化为"AI原生Life Style社区"
- **价值观体系重构**:技术开源·内容分享·社区开放·价值交换四维度
- **社区价值机制**:构建注意力价值交换+商业价值交换双重生态
- **内容展示优化**:社区案例分享格式精简,提升阅读体验
- **精神内核明确**:突出"实践·协作·创新"的社区精神

## 技术改进
- 移除冗余的传统企业级展示模式
- 优化信息架构,突出价值交换核心理念
- 精简社区案例展示,提升信息密度
- 强化AI原生社区的独特定位

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>

* feat: 添加安装成功示意图

- 新增 assets/install-success.jpg 用于展示MCP工具安装成功效果
- 完善README中的安装成功确认章节视觉展示

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>

* feat: 添加Repository Views徽章统计页面观看数

- 新增komarev/github-profile-views-counter服务统计仓库浏览量
- 使用蓝色主题(0e75b6)与现有徽章风格保持一致
- 提升项目可见性和数据透明度

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>

* fix: 修正Views徽章参数,添加repo指定为PromptX

- 添加repo=PromptX参数,确保统计针对具体仓库
- 修正之前只使用username导致的全局计数问题
- 现在将准确统计PromptX仓库的访问量

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>

* fix: 简化Views徽章为username=PromptX

- 使用username=PromptX直接统计项目访问量
- 移除repo参数,使用更简洁的配置
- 专门为PromptX项目定制的访问计数器

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>

---------

Co-authored-by: Claude <noreply@anthropic.com>
Co-authored-by: AgustD <100462005+lsh2002@users.noreply.github.com>
Co-authored-by: coso <wutongci@example.com>
Co-authored-by: Cen-Yaozu <80613496+Cen-Yaozu@users.noreply.github.com>
2025-06-28 12:13:35 +08:00
2025-06-28 12:00:31 +08:00
2025-06-15 12:55:50 +08:00
2025-06-28 12:00:31 +08:00
2025-06-20 12:28:41 +08:00
2025-06-20 12:28:41 +08:00
2025-06-28 12:00:31 +08:00
2025-06-20 12:28:41 +08:00
2025-06-28 12:00:31 +08:00
2025-06-20 12:28:41 +08:00
2025-05-13 12:17:28 +08:00
2025-06-20 12:28:41 +08:00
2025-06-20 12:28:41 +08:00
2025-06-28 12:00:31 +08:00

PromptX Logo

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.

Stars npm version License CI Status

中文 | English | Issues


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. Role Discovery and Activation

2. Intelligent Memory

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


⚠️ 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 deepracticex for immediate assistance
  • 📧 Email Contact: Send email to sean@deepracticex.com for 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 service
  • args: Startup parameters configuration list
    • -y: Auto-confirm
    • -f: Force refresh cache
    • --registry: Specify registry source
    • https://registry.npmjs.org: Use official registry
    • dpml-prompt@beta: Use stable beta version
    • mcp-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.org to 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

New to MCP? Watch MCP Tutorial on BiliBili

Currently, all AI clients that support the MCP protocol can use PromptX. This mainly includes: Claude Desktop, Cursor, Windsurf, Cline, Zed, Continue, and other mainstream AI programming tools, as well as more applications that are in the process of being integrated.


⚙️ 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.


🎯 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 - Let everyone become an AI role designer

Nuwa Creation Workshop

💫 From Idea to Reality, in Just 2 Minutes

Have you ever thought: What if I could customize a professional AI assistant for a specific work scenario? Nuwa makes this idea a reality.

"Every idea deserves its own dedicated AI assistant. Technical barriers should not limit the flight of creativity."

🎯 Core Value Transformation

  • 🚀 Zero-Barrier Creation: No need to learn complex technologies, just describe your needs in natural language.
  • Lightning-Fast Delivery: From idea to a usable role, the whole process takes 2 minutes.
  • 🎭 Professional Quality: Automatically generates professional AI roles that comply with DPML standards.
  • 🔄 Plug-and-Play: Can be activated and used immediately after creation.
  • 💝 Sense of Control: A magnificent turn from a user to a creator.

Usage Scenarios Examples

🎯 User Need Nuwa Generated 🚀 Ready to Use
👩‍💼 "I need an AI assistant who understands Xiaohongshu marketing" Xiaohongshu Marketing Expert Role Activate Xiaohongshu Marketing Expert
👨‍💻 "I want a Python asynchronous programming expert" Python Asynchronous Programming Tutor Role Activate Python Asynchronous Programming Tutor
🎨 "Give me a UI/UX design consultant" UI/UX Design Expert Role Activate UI/UX Design Expert
📊 "I need a data analyst assistant" Data Analysis Expert Role Activate Data Analysis Expert

🎪 Experience Nuwa's Creativity - 4 Steps to Create a Custom AI Assistant

Step 1: Activate the Nuwa Role Creation Consultant Step 2: Describe your needs to Nuwa Step 3: Nuwa understands and refines the requirements Step 4: Activate your newly created custom role
# 1⃣ Activate the Nuwa Role Creation Consultant
"I want Nuwa to help me create a role"

# 2⃣ Describe your needs (natural language is fine)
"I need a professional assistant in [domain], mainly for [specific scenario]"

# 3⃣ Wait 2 minutes for Nuwa to generate a professional role for you
# Nuwa will create the role file, register it with the system, and complete quality checks

# 4⃣ Immediately activate and use your custom AI assistant
"Activate the role just created"

🌟 Nuwa's Design Philosophy

  • 🎯 Boundless Creation: Allows anyone with an idea to create an AI assistant, breaking down technical barriers.
  • Instant Gratification: Meets the demand for immediacy in the digital age.
  • 🧠 Guided Growth: It's not just about using a tool, but also guiding users to understand the boundaries of AI capabilities.
  • 🌱 Ecosystem Co-creation: The roles created by each user can become a source of inspiration for others.

📋 Practice Cases: Legacy Lands Library

Legacy Lands Library Logo

📖 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
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 areas such as Minecraft server plugins.

💡 Core Developer's Experience

"The development experience with PromptX is truly different. Our team, using Claude Code combined with PromptX, had one developer complete over 11,000 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 of using AI, ensuring consistent code style and quality standards at all times, which greatly reduces the learning curve for new members. Best practices that used to require repeated communication and reliance on documentation are now naturally integrated into every code generation."


"'Nuwa' makes it more convenient and faster for me to use AI roles. I found that I don't need to know how to code or understand complex AI principles. I just need to tell 'Nuwa' what I want in plain language, and it can handle the complex design work behind the scenes and guide me through the rest. 'Nuwa' itself doesn't write Little Red Book notes, but it can create an expert 'proficient in Little Red Book marketing'. Once this expert is created, I can hand over all my future Little Red Book related work to this new role, which greatly improves efficiency and professionalism."


📚 Community Tutorials & Cases

Community member coso developed an MCP tool based on the PromptX architecture and shared the complete development experience:

🔧 Developing the crawl-mcp tool with the PromptX architecture

🛠️ Templated Practice for MCP Development

💡 We welcome community members to share their practical experience with PromptX. Submit a PR to add it here.


Star Growth Trend

Star History Chart


🤝 Contribution & Communication

We welcome any form of contribution and feedback!

Scan the QR code to join our tech community group:

Tech Community Group

📄 License

MIT License - Making professional AI capabilities accessible.


🚀 Get Started Now: Launch PromptX MCP Server and enhance your AI application with professional capabilities!

Description
PromptX · 领先的AI上下文工程平台 | PromptX · The Leading AI Context Engineering Platform
Readme MIT 9.3 MiB
Languages
JavaScript 98.1%
Shell 1.9%