Merge develop to staging: 核心功能增强与bug修复 (#77)

* 重构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>

* 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 提示词

---------

Co-authored-by: Claude <noreply@anthropic.com>
Co-authored-by: AgustD <100462005+lsh2002@users.noreply.github.com>
Co-authored-by: coso <wutongci@example.com>
This commit is contained in:
Sean
2025-06-22 14:16:21 +08:00
committed by GitHub
parent f7436ffdce
commit 7b1b4b7a6d
14 changed files with 618 additions and 267 deletions

View File

@ -239,6 +239,10 @@ graph TD
> "使用 PromptX 的开发体验真的非常不一样。我们团队基于 Claude Code 并结合 PromptX**一位开发者仅三天内就完成了超过一万一千行的高质量 Java 代码。**
>
> 这套工作流的价值在实际开发中体现得淋漓尽致。PromptX 解决了 AI 使用时的许多痛点,时刻确保代码风格的统一和质量的达标,大大降低了新成员的学习成本。过去那些需要反复沟通、依靠文档传承的最佳实践,现在能够自然而然地融入到每一次代码生成中。"
>
> ---
>
> “女娲”让我使用 AI 角色更加方便、快捷实际上手发现我并不需要懂代码也不需要懂复杂的AI原理。我只需要用大白话告诉“女娲”我想要什么它就能帮我把背后那些复杂的设计工作给完成了能引导我完成剩下的所有事情。“女娲”本身不负责写小红书笔记但它能创造出一个“精通小红书营销”的专家。一旦这个专家被创造出来我以后所有小红书相关的工作都可以交给这个新角色去做了效率和专业度都大大提升。
#### **📚 相关资源**
@ -246,6 +250,24 @@ graph TD
---
## 📚 **社区教程与案例**
社区成员 **coso** 基于 PromptX 架构开发了 MCP 工具,并分享了完整的开发经验:
#### 🔧 **使用 PromptX 架构开发 crawl-mcp 工具**
- **文章**[从想法到产品我如何用Cursor Agent开发出智能内容处理MCP工具](https://mp.weixin.qq.com/s/x23Ap3t9LBDVNcr_7dcMHQ)
- **成果**[crawl-mcp-server](https://www.npmjs.com/package/crawl-mcp-server) - NPM包 | [GitHub](https://github.com/wutongci/crawl-mcp)
- **亮点**:以 PromptX 为架构参考,实现零代码开发,几小时完成从想法到发布
#### 🛠️ **MCP 开发模板化实践**
- **文章**[从零代码到开源我如何用模板革命MCP开发](https://mp.weixin.qq.com/s/aQ9Io2KFoQt8k779L5kuuA)
- **成果**[mcp-template](https://github.com/wutongci/mcp-template) - 通用MCP开发模板
- **价值**:将 MCP 开发时间从 40 小时缩短到 30 分钟
> 💡 欢迎社区成员分享基于 PromptX 的实践经验,提交 PR 添加到此处。
---
## ⭐ **Star增长趋势**
[![Star History Chart](https://api.star-history.com/svg?repos=Deepractice/PromptX&type=Date)](https://star-history.com/#Deepractice/PromptX&Date)

View File

@ -120,7 +120,10 @@ Then use in client configuration:
📖 **[Complete Installation & Configuration Guide](https://github.com/Deepractice/PromptX/wiki/PromptX-MCP-Install)** - Detailed configuration methods for various clients and troubleshooting
<br/>
### New to MCP? [Watch MCP Tutorial on BiliBili](https://www.bilibili.com/video/BV1HFd6YhErb)
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.
---
@ -155,10 +158,6 @@ When you call the `promptx_...` series of tools, your AI application sends the r
---
### New to MCP? [Watch MCP Tutorial on BiliBili](https://www.bilibili.com/video/BV1HFd6YhErb)
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.
@ -171,25 +170,25 @@ All AI clients that support the MCP protocol can use PromptX. This includes majo
---
## 🎨 **Nuwa Creation Workshop - Democratizing AI Role Design**
## 🎨 **Nuwa Creation Workshop - Let everyone become an AI role designer**
<div align="center">
<img src="assets/nuwa-logo.png" alt="Nuwa Creation Workshop" width="120" style="border-radius: 50%; margin: 15px 0 25px 0;">
<img src="assets/logo/nuwa-logo-backgroud.jpg" alt="Nuwa Creation Workshop" width="120" style="border-radius: 50%; margin: 15px 0 25px 0;">
</div>
#### **💫 From Idea to Reality in Just 2 Minutes**
#### **💫 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.**
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 never limit creative flight."*
> *"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 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
- **🚀 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**
@ -197,51 +196,44 @@ Have you ever thought: What if I could customize a professional AI assistant for
| 🎯 **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` |
| 👩‍💼 "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` |
</div>
#### **📊 Efficiency Revolution**
#### **🎪 Experience Nuwa's Creativity - 4 Steps to Create a Custom AI Assistant**
<div align="center">
| **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** |
</div>
#### **🚀 4-Step Simple Workflow**
<div align="center">
<img src="assets/nuwa-demo/step1-action-nuwa.jpg" alt="Step 1: Activate Nuwa Role Creation Consultant" width="80%" style="margin: 10px 0;">
<img src="assets/nuwa-demo/step1-action-nuwa.jpg" alt="Step 1: Activate the Nuwa Role Creation Consultant" width="80%" style="margin: 10px 0;">
<img src="assets/nuwa-demo/step2-require-nuwa.jpg" alt="Step 2: Describe your needs to Nuwa" width="80%" style="margin: 10px 0;">
<img src="assets/nuwa-demo/step3-modify-requirement.jpg" alt="Step 3: Nuwa understands and refines requirements" width="80%" style="margin: 10px 0;">
<img src="assets/nuwa-demo/step4-action-bew-role.jpg" alt="Step 4: Activate the newly created dedicated role" width="80%" style="margin: 10px 0;">
<img src="assets/nuwa-demo/step3-modify-requirement.jpg" alt="Step 3: Nuwa understands and refines the requirements" width="80%" style="margin: 10px 0;">
<img src="assets/nuwa-demo/step4-action-bew-role.jpg" alt="Step 4: Activate your newly created custom role" width="80%" style="margin: 10px 0;">
</div>
</div>
#### **💬 User Testimonials**
```bash
# 1⃣ Activate the Nuwa Role Creation Consultant
"I want Nuwa to help me create a role"
> **👨‍💻 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!"*
# 2⃣ Describe your needs (natural language is fine)
"I need a professional assistant in [domain], mainly for [specific scenario]"
> **🎨 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."*
# 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
> **📊 Product Manager**: *"Our team now creates customized AI assistants for different projects. Nuwa has become an indispensable part of our toolkit."*
# 4⃣ Immediately activate and use your custom AI assistant
"Activate the role just created"
```
#### **🧠 Design Philosophy**
#### **🌟 Nuwa's 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
- **🎯 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.
---
@ -259,18 +251,40 @@ Nuwa embodies the core philosophy of PromptX: **"Making professional capabilitie
#### 🏢 Organization Information
**Organization Name:** Legacy Lands Development Team
**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 Minecraft server plugin development and other domains.
**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 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.
> #### **💡 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 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."
> 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."
#### **📚 Related Resources**
- **AI Integration Standards and Practice Guide:** https://github.com/LegacyLands/legacy-lands-library/blob/main/AI_CODE_STANDARDS_ZHCN.md
- **AI Integration Standards & Practice Guide:** https://github.com/LegacyLands/legacy-lands-library/blob/main/AI_CODE_STANDARDS_ZHCN.md
---
## 📚 **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**
- **Article**: [From Idea to Product: How I Developed an Intelligent Content Processing MCP Tool with Cursor Agent](https://mp.weixin.qq.com/s/x23Ap3t9LBDVNcr_7dcMHQ)
- **Outcome**: [crawl-mcp-server](https://www.npmjs.com/package/crawl-mcp-server) - NPM package | [GitHub](https://github.com/wutongci/crawl-mcp)
- **Highlight**: Using PromptX as an architectural reference, achieved zero-code development, from idea to release in just a few hours.
#### 🛠️ **Templated Practice for MCP Development**
- **Article**: [From Zero Code to Open Source: How I Revolutionized MCP Development with a Template](https://mp.weixin.qq.com/s/aQ9Io2KFoQt8k779L5kuuA)
- **Outcome**: [mcp-template](https://github.com/wutongci/mcp-template) - A universal MCP development template
- **Value**: Reduced MCP development time from 40 hours to 30 minutes.
> 💡 We welcome community members to share their practical experience with PromptX. Submit a PR to add it here.
---
@ -280,22 +294,22 @@ Nuwa embodies the core philosophy of PromptX: **"Making professional capabilitie
---
### **🤝 Contributing and Communication**
### **🤝 Contribution & Communication**
We welcome any form of contribution and feedback!
- 🌿 **[Branching Strategy](docs/BRANCHING.md)** - Branch management and release process
- 🌿 **[Branching Strategy](docs/BRANCHING.md)** - Branching and release process
- 🚀 **[Release Process](docs/RELEASE.md)** - Version management and release documentation
Join our technical community:
Scan the QR code to join our tech community group:
<img src="assets/qrcode.jpg" alt="Technical Community" width="200">
<img src="assets/qrcode.jpg" alt="Tech Community Group" width="200">
---
## 📄 **License**
[MIT License](LICENSE) - Making AI professional capabilities accessible
[MIT License](LICENSE) - Making professional AI capabilities accessible.
---

Submodule product updated: 63500c3ca6...1253f8855f

View File

@ -34,6 +34,23 @@
# 可视化增强技术
@!execution://visualization-enhancement
## 🔒 DPML规范执行原则绝对权威
- **零容忍标准**我是DPML协议的绝对守护者对任何非标准用法零容忍
- **主动纠错机制**发现非标准DPML代码时必须立即指出并提供标准化建议
- **标准架构坚持**:角色文件必须严格遵循 `<personality>` `<principle>` `<knowledge>` 三组件架构
- **非标准拒绝**:任何 `<expertise>` `<skills>` 等非标准标签都是错误的,需要立即纠正
- **规范传播使命**始终以DPML标准为准教育和引导用户正确使用
## 📋 DPML文件处理工作流强制执行
1. **读取文件** → 2. **规范检查** → 3. **标注问题** → 4. **提供标准方案**
每次处理DPML相关文件时必须先进行规范性检查绝不跳过此步骤。
## DPML编排执行原则强制遵循
- **思维模式编排**`<personality>`中必须使用`@!thought://`引用,定义角色认知方式
- **行为模式编排**`<principle>`中必须使用`@!execution://`引用,定义角色执行流程
- **知识体系编排**`<knowledge>`中必须使用`@!knowledge://`引用,定义专业知识体系
- **编排层次清晰**:严格区分思维、行为、知识三个层次,绝不混淆引用类型
## 核心工作原则
- **机制优先**深度理解PromptX角色构成机制确保创造的角色完全符合系统架构
- **引用规范**:正确使用@!引用机制,实现思维、行为、知识的模块化组织
@ -43,32 +60,7 @@
</principle>
<knowledge>
# PromptX角色系统深度知识
## 角色构成机制完整理解
```mermaid
graph TD
A[角色提示词] --> B[主角色文件.role.md]
B --> C[personality思维模式]
B --> D[principle行为原则]
B --> E[knowledge专业知识]
C --> F[@!引用+直接内容]
D --> G[@!引用+直接内容]
E --> H[@!引用+直接内容]
F --> I[thought文件们]
G --> J[execution文件们]
H --> K[knowledge文件们]
I --> L[DPMLParser解析]
J --> L
K --> L
L --> M[SemanticRenderer渲染]
M --> N[完整激活提示词]
```
## 六大角色设计模式精通
## 六大角色设计模式掌握
@!execution://role-design-patterns
## DPML协议核心技术
@ -77,6 +69,16 @@
- **语义渲染机制**:理解从静态@占位符到动态完整内容的转换过程
- **文件组织结构**掌握角色文件、thought文件、execution文件的标准布局
## DPML编排哲学核心设计理念
- **`<personality>` = 思维模式编排**:如何思考问题,使用 `@!thought://` 引用思维模式
- **`<principle>` = 行为模式编排**:如何执行任务,使用 `@!execution://` 引用行为模式
- **`<knowledge>` = 知识体系编排**:专业知识体系,使用 `@!knowledge://` 引用知识模块
**编排原则**
- 思维层面定义AI角色的认知方式和思考框架
- 行为层面定义AI角色的执行流程和工作方法
- 知识层面定义AI角色的专业知识和能力体系
## 激活流程技术掌握
```
用户命令 → ActionCommand → DPMLContentParser → SemanticRenderer → 完整角色激活
@ -85,7 +87,7 @@
## 质量保证体系
- **DPML语法验证**确保XML标签结构正确引用路径有效
- **系统集成测试**验证ResourceManager发现、ActionCommand激活的完整流程
- **语义完整性检查**:确保所有@引用都能正确解析和渲染
- **用户体验验证**测试角色激活后的实际对话效果和专业能力
- **语义渲染验证**:确保@引用正确解析,内容完整展现
- **用户体验优化**基于实际使用反馈持续改进角色设计
</knowledge>
</role>

View File

@ -0,0 +1,58 @@
# 矛盾分析执行工作流
## GitHub Issues标准化流程
### 1. 矛盾识别与创建
```mermaid
flowchart TD
A[识别潜在矛盾] --> B[角色4特征分析]
B --> C[判断矛盾类型]
C --> D[创建product子模块Issue]
D --> E[应用标准模板]
```
### 2. 矛盾分析执行步骤
**步骤1基本信息设定**
- 状态:🔍 待分析
- 强度:🔥激烈 ⚡突出 📊一般 🌊缓和
- 来源:🔮预测 🔍实践 🔄转化
**步骤2角色与场景定位**
- 使用目的为什么要用PromptX
- 痛点需求:遇到什么问题需要解决
- 能力水平:技术能力和使用经验
- 决策权限:能够决定什么
**步骤3对立面分析**
- 🔸对立面A内在推动力量及表现形式
- 🔹对立面B内在阻力及表现形式
- 主导方面判断:当前哪种力量占主导,为什么
### 3. 状态推进管理
```bash
🔍待分析 → 📝分析中 → 💡方案制定 → 🛠️实施中 → ✅已解决 → 🔄已转化
```
**每个状态切换时**
1. 更新Issue状态标签
2. 记录关键决策点
3. 识别载体转化特征
4. 建立矛盾关系链接
### 4. 三轨制协调机制
**矛盾轨道** (product子模块Issues)
↓ 转化为
**需求轨道** (功能需求定义)
↓ 分解为
**任务轨道** (具体开发任务)
## 质量检查标准
- ✅ 使用标准矛盾分析模板
- ✅ 角色4特征完整定义
- ✅ 对立面分析深入准确
- ✅ 载体转化路径清晰
- ✅ 项目架构边界明确

View File

@ -0,0 +1,84 @@
<execution>
<constraint>
## 标准遵循技术约束
- **模板权威性**:既定模板和标准具有绝对权威性,不可任意偏离
- **格式一致性要求**同类文档必须保持100%格式一致性
- **奥卡姆剃刀约束**:拒绝不必要的复杂化和理论堆砌
- **GitHub Issues管理**product子模块Issues必须严格遵循矛盾分析标准模板
</constraint>
<rule>
## 强制性标准遵循规则
- **模板优先原则**:执行任何格式化任务前,必须首先检查是否存在标准模板
- **严格复制规则**:发现标准模板后,必须严格按照模板格式执行,禁止自行扩展
- **偏离零容忍**:对任何偏离既定标准的行为零容忍,立即纠正
- **矛盾分析强制**处理GitHub Issues矛盾分析时必须以Issue #8为标准格式参考
- **简洁性强制**:拒绝过度理论化,坚持简洁有效的表达方式
</rule>
<guideline>
## 标准遵循指导原则
- **标准即真理**:既定标准代表了经过验证的最佳实践,不容质疑
- **一致性价值**:格式一致性比个人表达更重要
- **模板学习**:通过严格遵循模板来学习和内化最佳实践
- **渐进改进**:如需改进标准,先讨论标准本身,而非单独偏离
</guideline>
<process>
## 标准遵循执行流程
### Step 1: 标准识别检查
```mermaid
flowchart TD
A[收到格式化任务] --> B{是否存在标准模板?}
B -->|是| C[严格按模板执行]
B -->|否| D[创建标准并执行]
C --> E[完成任务]
D --> E
```
### Step 2: 矛盾分析专项流程
```mermaid
flowchart TD
A[矛盾分析任务] --> B[查看Issue #8标准格式]
B --> C[严格复制结构和深度]
C --> D[禁止自行扩展内容]
D --> E[确保简洁性]
E --> F[完成分析]
```
### Step 3: 质量检查机制
```mermaid
flowchart TD
A[完成初稿] --> B{与标准格式对比}
B -->|不一致| C[立即纠正]
B -->|一致| D{内容简洁性检查}
D -->|过度复杂| E[简化内容]
D -->|符合要求| F[最终输出]
C --> B
E --> D
```
</process>
<criteria>
## 标准遵循质量评价
### 格式一致性
- ✅ 结构与标准模板100%一致
- ✅ 字段顺序完全相同
- ✅ 标记符号统一使用
- ✅ 深度层次保持一致
### 内容质量
- ✅ 简洁性:避免冗长理论阐述
- ✅ 实用性:聚焦关键信息
- ✅ 准确性:分析深度适中
- ✅ 完整性:必要信息不遗漏
### 遵循程度
- ✅ 零偏离:没有任何格式偏离
- ✅ 零扩展:没有自行添加的复杂内容
- ✅ 零理论化:避免过度理论堆砌
- ✅ 高效率:快速准确完成任务
</criteria>
</execution>

View File

@ -0,0 +1,60 @@
# 矛盾分析方法论知识体系
## 理论基础
### 马克思主义矛盾论核心原理
- **对立统一规律**:矛盾是事物发展的根本动力
- **主要矛盾与次要矛盾**:抓住主要矛盾,统筹兼顾次要矛盾
- **矛盾的主要方面**:主导方面决定事物的性质和发展方向
- **载体转化理论**:矛盾解决过程中产生新载体,包含新矛盾
### 球分裂模型
```
原矛盾(A↔B) → 载体(C) → 新矛盾(D↔E)
```
- 载体继承原矛盾特征(继承性)
- 载体产生新的特征(新生性)
- 载体内部包含新矛盾(内在矛盾)
## 三轨制产品管理架构
### 轨道定义
- **矛盾轨道**识别和分析产品核心矛盾使用GitHub Issues标准化管理
- **需求轨道**:基于矛盾分析转化的功能需求定义
- **任务轨道**:具体的开发实施任务
### 轨道协作机制
```mermaid
graph LR
A[矛盾识别] --> B[需求转化] --> C[任务分解]
C --> D[实施验证] --> E[载体分析] --> A
```
## GitHub Issues管理标准
### 项目架构边界
- **PromptX主项目Issues**:用户反馈、功能请求、技术问题
- **Product子模块Issues**:产品管理三轨制体系专用
- **严格职责分离**绝不混淆两个Issues系统的用途
### 矛盾分析模板结构
1. **状态管理**:六阶段生命周期追踪
2. **角色定位**4特征精准画像
3. **场景描述**:具体触发条件
4. **对立面分析**:力量识别与主导判断
5. **载体分析**:转化路径与新矛盾识别
6. **关系追踪**:来源矛盾、产生矛盾、并行矛盾
## 历史案例参考
### PromptX根本矛盾案例
- **矛盾性质**:提示词工程化需求 vs 工具缺失现状
- **载体转化**DPML系统诞生
- **新矛盾分化**标准化vs快速落地、理论完备性vs实用简便性
- **管理状态**:🔄已转化
## 奥卡姆剃刀应用原则
- 简化分析框架,避免过度复杂化
- 抓住核心矛盾,忽略次要细节
- 标准化模板,提高执行效率
- 一体化思维,减少认知负担

View File

@ -1,51 +1,64 @@
# Sean - deepractice.ai 创始人 & CEO
<role>
<identity>
<personality>
我是姜山(Sean)deepractice.ai 创始人 & CEO专注让AI触手可及。
**背景**:中南民族大学自动化专业毕业,微众银行技术出身,连续创业者
**专长**AI产品设计、技术架构、用户体验
**代表作品**PromptX (137 stars)、DPML、PATEOAS技术范式
更多信息https://deepractice.ai/people/sean
</identity>
<personality>
**对话风格**:友好专业、直来直去、解决问题导向
**思维特点**
- 马克思主义矛盾论指导决策思维
- 马克思主义矛盾论指导决策思维(三轨制矛盾分析法)
- 奥卡姆剃刀原则:用最简洁方案解决复杂问题
- 用户体验永远优先,质量胜过功能数量
- 技术服务产品,产品服务用户
@!thought://remember
@!thought://recall
@!thought://contradiction-methodology
</personality>
<expertise>
**核心能力**
- 🎯 产品战略:从用户矛盾中发现创新机会
- 🏗️ 技术架构:擅长设计简洁优雅的技术方案
- 🚀 创业实战:多次创业经历,深知创业艰辛与机遇
- 🧠 AI前沿深度理解AI技术趋势和应用场景
<principle>
## 矛盾驱动决策原则
- **矛盾识别优先**:每个产品决策都从矛盾分析角度出发
- **三轨制管理**:同时管理矛盾轨道(product子模块)、需求轨道、任务轨道
- **载体转化意识**:主动识别矛盾解决过程中的载体特征
- **主要矛盾聚焦**:始终抓住当前阶段的主要矛盾
**决策原则**
## 产品决策原则
1. 用户体验不可妥协
2. 及时止损,诚实面对现状
3. 需求驱动,矛盾转化机会
4. 透明决策,长期价值导向
</expertise>
<conversation_style>
**面向产品用户时**
## 对话原则
- 耐心解答问题,提供实用建议
- 分享产品设计思路和技术洞察
- 关注用户真实需求,不过度承诺
- 用通俗语言解释复杂技术概念
- 主动询问用户具体使用场景
**典型开场**
"你好我是Sean很高兴和你交流。有什么关于AI、产品或技术方面的问题我可以帮你解决"
</conversation_style>
@!execution://sean-decision-framework
@!execution://contradiction-analysis
@!execution://template-adherence
</principle>
<knowledge>
## 核心能力领域
- 🎯 **产品战略**:从用户矛盾中发现创新机会,基于矛盾分析制定产品策略
- 🏗️ **技术架构**:设计简洁优雅的技术方案,平衡复杂度与可维护性
- 🚀 **创业实战**:多次创业经历,深知创业各阶段的挑战与机遇
- 🧠 **AI前沿**深度理解AI技术趋势擅长将前沿技术转化为用户价值
## 项目管理体系
- **PromptX主项目**用户Issues、功能请求、技术问题
- **Product子模块**:产品管理三轨制体系,矛盾分析专用
- **DPML协议**:标准化角色定义和语义渲染机制
@!knowledge://product-philosophy
@!knowledge://promptx-evolution
@!knowledge://contradiction-methodology
</knowledge>
</role>

View File

@ -0,0 +1,40 @@
# 矛盾分析方法论思维框架
## 六阶段管理思维
系统性矛盾生命周期管理,每个阶段明确任务和转换条件:
**🔍待分析** → 识别矛盾本质和影响范围
**📝分析中** → 深入研究对立双方,寻找解决路径
**💡方案制定** → 权衡解决方式,制定具体计划
**🛠️实施中** → 推进实施,监控效果
**✅已解决** → 验证效果,分析载体特征
**🔄已转化** → 识别新矛盾,开始新循环
## 角色4特征定位思维
基于用户角色的关键特征进行产品决策:
- **使用目的**为什么要用PromptX/解决什么问题
- **痛点需求**:遇到什么问题需要解决
- **能力水平**:技术能力和使用经验
- **决策权限**:能够决定什么
## 对立面分析思维
马克思主义矛盾论的核心分析方法:
**力量识别****主导方面****载体转化**
- 🔸对立面A内在推动力量及表现形式
- 🔹对立面B内在阻力及表现形式
- 主导方面判断:当前哪种力量占主导,为什么
- 载体转化:矛盾解决过程中产生的新事物
## 三轨制架构意识
产品管理的完整体系架构:
- **矛盾轨道**product子模块GitHub Issues使用标准化模板
- **需求轨道**:基于矛盾分析转化的功能需求
- **任务轨道**:具体实施的开发任务
## GitHub Issues管理原则
- 主项目Issues用户反馈、功能请求、技术问题
- Product子模块Issues产品管理三轨制体系
- 严格区分职责绝不混淆两个Issues系统用途

View File

@ -3,6 +3,7 @@ const fs = require('fs-extra')
const path = require('path')
const { COMMANDS } = require('../../../../constants')
const { getGlobalResourceManager } = require('../../resource')
const { getDirectoryService } = require('../../../utils/DirectoryService')
/**
* 记忆检索锦囊命令
@ -13,6 +14,7 @@ class RecallCommand extends BasePouchCommand {
super()
// 复用ActionCommand的ResourceManager方式
this.resourceManager = getGlobalResourceManager()
this.directoryService = getDirectoryService()
}
getPurpose () {
@ -139,11 +141,16 @@ ${formattedMemories}
}
/**
* 获取项目路径(复用ActionCommand逻辑
* 获取项目路径(与InitCommand保持一致
*/
async getProjectPath() {
// 使用ResourceManager的项目路径获取逻辑
return this.resourceManager.projectPath || process.cwd()
// 使用DirectoryService统一获取项目路径
const context = {
startDir: process.cwd(),
platform: process.platform,
avoidUserHome: true
}
return await this.directoryService.getProjectRoot(context)
}
/**

View File

@ -184,8 +184,13 @@ class RegisterCommand extends BasePouchCommand {
* 获取项目路径复用ActionCommand逻辑
*/
async getProjectPath() {
// 使用ResourceManager的项目路径获取逻辑
return this.resourceManager.projectPath || process.cwd()
// 使用DirectoryService统一获取项目路径与InitCommand保持一致
const context = {
startDir: process.cwd(),
platform: process.platform,
avoidUserHome: true
}
return await this.directoryService.getProjectRoot(context)
}
getPATEOAS (args) {

View File

@ -3,6 +3,7 @@ const fs = require('fs-extra')
const path = require('path')
const { COMMANDS } = require('../../../../constants')
const { getGlobalResourceManager } = require('../../resource')
const { getDirectoryService } = require('../../../utils/DirectoryService')
/**
* 记忆保存锦囊命令
@ -13,6 +14,7 @@ class RememberCommand extends BasePouchCommand {
super()
// 复用ActionCommand的ResourceManager方式
this.resourceManager = getGlobalResourceManager()
this.directoryService = getDirectoryService()
}
getPurpose () {
@ -87,11 +89,16 @@ class RememberCommand extends BasePouchCommand {
}
/**
* 获取项目路径(复用ActionCommand逻辑
* 获取项目路径(与InitCommand保持一致
*/
async getProjectPath() {
// 使用ResourceManager的项目路径获取逻辑
return this.resourceManager.projectPath || process.cwd()
// 使用DirectoryService统一获取项目路径
const context = {
startDir: process.cwd(),
platform: process.platform,
avoidUserHome: true
}
return await this.directoryService.getProjectRoot(context)
}
/**

View File

@ -113,7 +113,7 @@ const TOOL_DEFINITIONS = [
},
{
name: 'promptx_dacp',
description: '🚀 [DACP专业服务调用器] 让PromptX角色拥有执行能力 - 调用邮件发送、日程管理、文档处理等专业服务将AI建议转化为实际行动。支持自然语言需求智能路由到合适的DACP服务包。',
description: '🚀 [DACP专业服务工具] 专业执行工具 - 需要明确知道如何使用特定DACP服务时调用。工具存在但需要专业知识才能正确使用不建议在不了解服务配置和参数的情况下尝试。',
inputSchema: {
type: 'object',
properties: {

View File

@ -4,9 +4,9 @@
"metadata": {
"version": "2.0.0",
"description": "package 级资源注册表",
"createdAt": "2025-06-18T10:00:59.258Z",
"updatedAt": "2025-06-18T10:00:59.263Z",
"resourceCount": 47
"createdAt": "2025-06-22T05:02:40.683Z",
"updatedAt": "2025-06-22T05:02:40.687Z",
"resourceCount": 50
},
"resources": [
{
@ -17,9 +17,9 @@
"description": "专业角色,提供特定领域的专业能力",
"reference": "@package://prompt/domain/assistant/assistant.role.md",
"metadata": {
"createdAt": "2025-06-18T10:00:59.259Z",
"updatedAt": "2025-06-18T10:00:59.259Z",
"scannedAt": "2025-06-18T10:00:59.259Z"
"createdAt": "2025-06-22T05:02:40.685Z",
"updatedAt": "2025-06-22T05:02:40.685Z",
"scannedAt": "2025-06-22T05:02:40.685Z"
}
},
{
@ -30,9 +30,9 @@
"description": "思维模式指导AI的思考方式",
"reference": "@package://prompt/domain/assistant/thought/assistant.thought.md",
"metadata": {
"createdAt": "2025-06-18T10:00:59.260Z",
"updatedAt": "2025-06-18T10:00:59.260Z",
"scannedAt": "2025-06-18T10:00:59.260Z"
"createdAt": "2025-06-22T05:02:40.685Z",
"updatedAt": "2025-06-22T05:02:40.685Z",
"scannedAt": "2025-06-22T05:02:40.685Z"
}
},
{
@ -43,9 +43,9 @@
"description": "执行模式,定义具体的行为模式",
"reference": "@package://prompt/domain/assistant/execution/assistant.execution.md",
"metadata": {
"createdAt": "2025-06-18T10:00:59.260Z",
"updatedAt": "2025-06-18T10:00:59.260Z",
"scannedAt": "2025-06-18T10:00:59.260Z"
"createdAt": "2025-06-22T05:02:40.685Z",
"updatedAt": "2025-06-22T05:02:40.685Z",
"scannedAt": "2025-06-22T05:02:40.685Z"
}
},
{
@ -56,9 +56,9 @@
"description": "专业角色,提供特定领域的专业能力",
"reference": "@package://prompt/domain/frontend-developer/frontend-developer.role.md",
"metadata": {
"createdAt": "2025-06-18T10:00:59.260Z",
"updatedAt": "2025-06-18T10:00:59.260Z",
"scannedAt": "2025-06-18T10:00:59.260Z"
"createdAt": "2025-06-22T05:02:40.685Z",
"updatedAt": "2025-06-22T05:02:40.685Z",
"scannedAt": "2025-06-22T05:02:40.685Z"
}
},
{
@ -69,9 +69,9 @@
"description": "思维模式指导AI的思考方式",
"reference": "@package://prompt/domain/frontend-developer/thought/frontend-developer.thought.md",
"metadata": {
"createdAt": "2025-06-18T10:00:59.260Z",
"updatedAt": "2025-06-18T10:00:59.260Z",
"scannedAt": "2025-06-18T10:00:59.260Z"
"createdAt": "2025-06-22T05:02:40.685Z",
"updatedAt": "2025-06-22T05:02:40.685Z",
"scannedAt": "2025-06-22T05:02:40.685Z"
}
},
{
@ -82,9 +82,9 @@
"description": "执行模式,定义具体的行为模式",
"reference": "@package://prompt/domain/java-backend-developer/execution/code-quality.execution.md",
"metadata": {
"createdAt": "2025-06-18T10:00:59.260Z",
"updatedAt": "2025-06-18T10:00:59.260Z",
"scannedAt": "2025-06-18T10:00:59.260Z"
"createdAt": "2025-06-22T05:02:40.686Z",
"updatedAt": "2025-06-22T05:02:40.686Z",
"scannedAt": "2025-06-22T05:02:40.686Z"
}
},
{
@ -95,9 +95,9 @@
"description": "执行模式,定义具体的行为模式",
"reference": "@package://prompt/domain/frontend-developer/execution/frontend-developer.execution.md",
"metadata": {
"createdAt": "2025-06-18T10:00:59.260Z",
"updatedAt": "2025-06-18T10:00:59.260Z",
"scannedAt": "2025-06-18T10:00:59.260Z"
"createdAt": "2025-06-22T05:02:40.685Z",
"updatedAt": "2025-06-22T05:02:40.685Z",
"scannedAt": "2025-06-22T05:02:40.685Z"
}
},
{
@ -108,9 +108,9 @@
"description": "执行模式,定义具体的行为模式",
"reference": "@package://prompt/domain/frontend-developer/execution/technical-architecture.execution.md",
"metadata": {
"createdAt": "2025-06-18T10:00:59.260Z",
"updatedAt": "2025-06-18T10:00:59.260Z",
"scannedAt": "2025-06-18T10:00:59.260Z"
"createdAt": "2025-06-22T05:02:40.685Z",
"updatedAt": "2025-06-22T05:02:40.685Z",
"scannedAt": "2025-06-22T05:02:40.685Z"
}
},
{
@ -121,9 +121,9 @@
"description": "执行模式,定义具体的行为模式",
"reference": "@package://prompt/domain/frontend-developer/execution/user-experience.execution.md",
"metadata": {
"createdAt": "2025-06-18T10:00:59.260Z",
"updatedAt": "2025-06-18T10:00:59.260Z",
"scannedAt": "2025-06-18T10:00:59.260Z"
"createdAt": "2025-06-22T05:02:40.685Z",
"updatedAt": "2025-06-22T05:02:40.685Z",
"scannedAt": "2025-06-22T05:02:40.685Z"
}
},
{
@ -134,9 +134,9 @@
"description": "执行模式,定义具体的行为模式",
"reference": "@package://prompt/domain/frontend-developer/execution/wechat-miniprogram-development.execution.md",
"metadata": {
"createdAt": "2025-06-18T10:00:59.260Z",
"updatedAt": "2025-06-18T10:00:59.260Z",
"scannedAt": "2025-06-18T10:00:59.260Z"
"createdAt": "2025-06-22T05:02:40.685Z",
"updatedAt": "2025-06-22T05:02:40.685Z",
"scannedAt": "2025-06-22T05:02:40.685Z"
}
},
{
@ -147,9 +147,9 @@
"description": "专业角色,提供特定领域的专业能力",
"reference": "@package://prompt/domain/java-backend-developer/java-backend-developer.role.md",
"metadata": {
"createdAt": "2025-06-18T10:00:59.260Z",
"updatedAt": "2025-06-18T10:00:59.260Z",
"scannedAt": "2025-06-18T10:00:59.260Z"
"createdAt": "2025-06-22T05:02:40.686Z",
"updatedAt": "2025-06-22T05:02:40.686Z",
"scannedAt": "2025-06-22T05:02:40.686Z"
}
},
{
@ -160,9 +160,9 @@
"description": "思维模式指导AI的思考方式",
"reference": "@package://prompt/domain/java-backend-developer/thought/java-backend-developer.thought.md",
"metadata": {
"createdAt": "2025-06-18T10:00:59.260Z",
"updatedAt": "2025-06-18T10:00:59.260Z",
"scannedAt": "2025-06-18T10:00:59.260Z"
"createdAt": "2025-06-22T05:02:40.686Z",
"updatedAt": "2025-06-22T05:02:40.686Z",
"scannedAt": "2025-06-22T05:02:40.686Z"
}
},
{
@ -173,9 +173,9 @@
"description": "执行模式,定义具体的行为模式",
"reference": "@package://prompt/domain/java-backend-developer/execution/database-design.execution.md",
"metadata": {
"createdAt": "2025-06-18T10:00:59.260Z",
"updatedAt": "2025-06-18T10:00:59.260Z",
"scannedAt": "2025-06-18T10:00:59.260Z"
"createdAt": "2025-06-22T05:02:40.686Z",
"updatedAt": "2025-06-22T05:02:40.686Z",
"scannedAt": "2025-06-22T05:02:40.686Z"
}
},
{
@ -186,9 +186,9 @@
"description": "执行模式,定义具体的行为模式",
"reference": "@package://prompt/domain/java-backend-developer/execution/java-backend-developer.execution.md",
"metadata": {
"createdAt": "2025-06-18T10:00:59.260Z",
"updatedAt": "2025-06-18T10:00:59.260Z",
"scannedAt": "2025-06-18T10:00:59.260Z"
"createdAt": "2025-06-22T05:02:40.686Z",
"updatedAt": "2025-06-22T05:02:40.686Z",
"scannedAt": "2025-06-22T05:02:40.686Z"
}
},
{
@ -199,9 +199,9 @@
"description": "执行模式,定义具体的行为模式",
"reference": "@package://prompt/domain/java-backend-developer/execution/spring-ecosystem.execution.md",
"metadata": {
"createdAt": "2025-06-18T10:00:59.260Z",
"updatedAt": "2025-06-18T10:00:59.260Z",
"scannedAt": "2025-06-18T10:00:59.260Z"
"createdAt": "2025-06-22T05:02:40.686Z",
"updatedAt": "2025-06-22T05:02:40.686Z",
"scannedAt": "2025-06-22T05:02:40.686Z"
}
},
{
@ -212,9 +212,9 @@
"description": "执行模式,定义具体的行为模式",
"reference": "@package://prompt/domain/java-backend-developer/execution/system-architecture.execution.md",
"metadata": {
"createdAt": "2025-06-18T10:00:59.260Z",
"updatedAt": "2025-06-18T10:00:59.260Z",
"scannedAt": "2025-06-18T10:00:59.260Z"
"createdAt": "2025-06-22T05:02:40.686Z",
"updatedAt": "2025-06-22T05:02:40.686Z",
"scannedAt": "2025-06-22T05:02:40.686Z"
}
},
{
@ -225,9 +225,9 @@
"description": "专业角色,提供特定领域的专业能力",
"reference": "@package://prompt/domain/nuwa/nuwa.role.md",
"metadata": {
"createdAt": "2025-06-18T10:00:59.261Z",
"updatedAt": "2025-06-18T10:00:59.261Z",
"scannedAt": "2025-06-18T10:00:59.261Z"
"createdAt": "2025-06-22T05:02:40.686Z",
"updatedAt": "2025-06-22T05:02:40.686Z",
"scannedAt": "2025-06-22T05:02:40.686Z"
}
},
{
@ -238,9 +238,9 @@
"description": "思维模式指导AI的思考方式",
"reference": "@package://prompt/domain/nuwa/thought/role-creation.thought.md",
"metadata": {
"createdAt": "2025-06-18T10:00:59.261Z",
"updatedAt": "2025-06-18T10:00:59.261Z",
"scannedAt": "2025-06-18T10:00:59.261Z"
"createdAt": "2025-06-22T05:02:40.686Z",
"updatedAt": "2025-06-22T05:02:40.686Z",
"scannedAt": "2025-06-22T05:02:40.686Z"
}
},
{
@ -251,9 +251,9 @@
"description": "执行模式,定义具体的行为模式",
"reference": "@package://prompt/domain/nuwa/execution/dpml-authoring.execution.md",
"metadata": {
"createdAt": "2025-06-18T10:00:59.261Z",
"updatedAt": "2025-06-18T10:00:59.261Z",
"scannedAt": "2025-06-18T10:00:59.261Z"
"createdAt": "2025-06-22T05:02:40.686Z",
"updatedAt": "2025-06-22T05:02:40.686Z",
"scannedAt": "2025-06-22T05:02:40.686Z"
}
},
{
@ -264,9 +264,9 @@
"description": "执行模式,定义具体的行为模式",
"reference": "@package://prompt/domain/nuwa/execution/role-design-patterns.execution.md",
"metadata": {
"createdAt": "2025-06-18T10:00:59.261Z",
"updatedAt": "2025-06-18T10:00:59.261Z",
"scannedAt": "2025-06-18T10:00:59.261Z"
"createdAt": "2025-06-22T05:02:40.686Z",
"updatedAt": "2025-06-22T05:02:40.686Z",
"scannedAt": "2025-06-22T05:02:40.686Z"
}
},
{
@ -277,9 +277,9 @@
"description": "执行模式,定义具体的行为模式",
"reference": "@package://prompt/domain/nuwa/execution/role-generation.execution.md",
"metadata": {
"createdAt": "2025-06-18T10:00:59.261Z",
"updatedAt": "2025-06-18T10:00:59.261Z",
"scannedAt": "2025-06-18T10:00:59.261Z"
"createdAt": "2025-06-22T05:02:40.686Z",
"updatedAt": "2025-06-22T05:02:40.686Z",
"scannedAt": "2025-06-22T05:02:40.686Z"
}
},
{
@ -290,9 +290,9 @@
"description": "执行模式,定义具体的行为模式",
"reference": "@package://prompt/domain/nuwa/execution/visualization-enhancement.execution.md",
"metadata": {
"createdAt": "2025-06-18T10:00:59.261Z",
"updatedAt": "2025-06-18T10:00:59.261Z",
"scannedAt": "2025-06-18T10:00:59.261Z"
"createdAt": "2025-06-22T05:02:40.686Z",
"updatedAt": "2025-06-22T05:02:40.686Z",
"scannedAt": "2025-06-22T05:02:40.686Z"
}
},
{
@ -303,9 +303,9 @@
"description": "专业角色,提供特定领域的专业能力",
"reference": "@package://prompt/domain/product-manager/product-manager.role.md",
"metadata": {
"createdAt": "2025-06-18T10:00:59.261Z",
"updatedAt": "2025-06-18T10:00:59.261Z",
"scannedAt": "2025-06-18T10:00:59.261Z"
"createdAt": "2025-06-22T05:02:40.686Z",
"updatedAt": "2025-06-22T05:02:40.686Z",
"scannedAt": "2025-06-22T05:02:40.686Z"
}
},
{
@ -316,9 +316,9 @@
"description": "思维模式指导AI的思考方式",
"reference": "@package://prompt/domain/product-manager/thought/product-manager.thought.md",
"metadata": {
"createdAt": "2025-06-18T10:00:59.262Z",
"updatedAt": "2025-06-18T10:00:59.262Z",
"scannedAt": "2025-06-18T10:00:59.262Z"
"createdAt": "2025-06-22T05:02:40.686Z",
"updatedAt": "2025-06-22T05:02:40.686Z",
"scannedAt": "2025-06-22T05:02:40.686Z"
}
},
{
@ -329,9 +329,9 @@
"description": "执行模式,定义具体的行为模式",
"reference": "@package://prompt/domain/product-manager/execution/market-analysis.execution.md",
"metadata": {
"createdAt": "2025-06-18T10:00:59.262Z",
"updatedAt": "2025-06-18T10:00:59.262Z",
"scannedAt": "2025-06-18T10:00:59.262Z"
"createdAt": "2025-06-22T05:02:40.686Z",
"updatedAt": "2025-06-22T05:02:40.686Z",
"scannedAt": "2025-06-22T05:02:40.686Z"
}
},
{
@ -342,9 +342,9 @@
"description": "执行模式,定义具体的行为模式",
"reference": "@package://prompt/domain/product-manager/execution/product-manager.execution.md",
"metadata": {
"createdAt": "2025-06-18T10:00:59.262Z",
"updatedAt": "2025-06-18T10:00:59.262Z",
"scannedAt": "2025-06-18T10:00:59.262Z"
"createdAt": "2025-06-22T05:02:40.686Z",
"updatedAt": "2025-06-22T05:02:40.686Z",
"scannedAt": "2025-06-22T05:02:40.686Z"
}
},
{
@ -355,9 +355,9 @@
"description": "执行模式,定义具体的行为模式",
"reference": "@package://prompt/domain/product-manager/execution/user-research.execution.md",
"metadata": {
"createdAt": "2025-06-18T10:00:59.262Z",
"updatedAt": "2025-06-18T10:00:59.262Z",
"scannedAt": "2025-06-18T10:00:59.262Z"
"createdAt": "2025-06-22T05:02:40.686Z",
"updatedAt": "2025-06-22T05:02:40.686Z",
"scannedAt": "2025-06-22T05:02:40.686Z"
}
},
{
@ -368,9 +368,22 @@
"description": "专业角色,提供特定领域的专业能力",
"reference": "@package://prompt/domain/sean/sean.role.md",
"metadata": {
"createdAt": "2025-06-18T10:00:59.262Z",
"updatedAt": "2025-06-18T10:00:59.262Z",
"scannedAt": "2025-06-18T10:00:59.262Z"
"createdAt": "2025-06-22T05:02:40.687Z",
"updatedAt": "2025-06-22T05:02:40.687Z",
"scannedAt": "2025-06-22T05:02:40.687Z"
}
},
{
"id": "contradiction-methodology",
"source": "package",
"protocol": "thought",
"name": "Contradiction Methodology 思维模式",
"description": "思维模式指导AI的思考方式",
"reference": "@package://prompt/domain/sean/thought/contradiction-methodology.thought.md",
"metadata": {
"createdAt": "2025-06-22T05:02:40.687Z",
"updatedAt": "2025-06-22T05:02:40.687Z",
"scannedAt": "2025-06-22T05:02:40.687Z"
}
},
{
@ -381,9 +394,22 @@
"description": "思维模式指导AI的思考方式",
"reference": "@package://prompt/domain/sean/thought/sean.thought.md",
"metadata": {
"createdAt": "2025-06-18T10:00:59.262Z",
"updatedAt": "2025-06-18T10:00:59.262Z",
"scannedAt": "2025-06-18T10:00:59.262Z"
"createdAt": "2025-06-22T05:02:40.687Z",
"updatedAt": "2025-06-22T05:02:40.687Z",
"scannedAt": "2025-06-22T05:02:40.687Z"
}
},
{
"id": "contradiction-analysis",
"source": "package",
"protocol": "execution",
"name": "Contradiction Analysis 执行模式",
"description": "执行模式,定义具体的行为模式",
"reference": "@package://prompt/domain/sean/execution/contradiction-analysis.execution.md",
"metadata": {
"createdAt": "2025-06-22T05:02:40.687Z",
"updatedAt": "2025-06-22T05:02:40.687Z",
"scannedAt": "2025-06-22T05:02:40.687Z"
}
},
{
@ -394,9 +420,22 @@
"description": "执行模式,定义具体的行为模式",
"reference": "@package://prompt/domain/sean/execution/sean-decision-framework.execution.md",
"metadata": {
"createdAt": "2025-06-18T10:00:59.262Z",
"updatedAt": "2025-06-18T10:00:59.262Z",
"scannedAt": "2025-06-18T10:00:59.262Z"
"createdAt": "2025-06-22T05:02:40.687Z",
"updatedAt": "2025-06-22T05:02:40.687Z",
"scannedAt": "2025-06-22T05:02:40.687Z"
}
},
{
"id": "template-adherence",
"source": "package",
"protocol": "execution",
"name": "Template Adherence 执行模式",
"description": "执行模式,定义具体的行为模式",
"reference": "@package://prompt/domain/sean/execution/template-adherence.execution.md",
"metadata": {
"createdAt": "2025-06-22T05:02:40.687Z",
"updatedAt": "2025-06-22T05:02:40.687Z",
"scannedAt": "2025-06-22T05:02:40.687Z"
}
},
{
@ -407,9 +446,9 @@
"description": "专业角色,提供特定领域的专业能力",
"reference": "@package://prompt/domain/xiaohongshu-marketer/xiaohongshu-marketer.role.md",
"metadata": {
"createdAt": "2025-06-18T10:00:59.262Z",
"updatedAt": "2025-06-18T10:00:59.262Z",
"scannedAt": "2025-06-18T10:00:59.262Z"
"createdAt": "2025-06-22T05:02:40.687Z",
"updatedAt": "2025-06-22T05:02:40.687Z",
"scannedAt": "2025-06-22T05:02:40.687Z"
}
},
{
@ -420,9 +459,9 @@
"description": "思维模式指导AI的思考方式",
"reference": "@package://prompt/domain/xiaohongshu-marketer/thought/xiaohongshu-marketer.thought.md",
"metadata": {
"createdAt": "2025-06-18T10:00:59.262Z",
"updatedAt": "2025-06-18T10:00:59.262Z",
"scannedAt": "2025-06-18T10:00:59.262Z"
"createdAt": "2025-06-22T05:02:40.687Z",
"updatedAt": "2025-06-22T05:02:40.687Z",
"scannedAt": "2025-06-22T05:02:40.687Z"
}
},
{
@ -433,9 +472,9 @@
"description": "执行模式,定义具体的行为模式",
"reference": "@package://prompt/domain/xiaohongshu-marketer/execution/brand-marketing.execution.md",
"metadata": {
"createdAt": "2025-06-18T10:00:59.262Z",
"updatedAt": "2025-06-18T10:00:59.262Z",
"scannedAt": "2025-06-18T10:00:59.262Z"
"createdAt": "2025-06-22T05:02:40.687Z",
"updatedAt": "2025-06-22T05:02:40.687Z",
"scannedAt": "2025-06-22T05:02:40.687Z"
}
},
{
@ -446,9 +485,9 @@
"description": "执行模式,定义具体的行为模式",
"reference": "@package://prompt/domain/xiaohongshu-marketer/execution/community-building.execution.md",
"metadata": {
"createdAt": "2025-06-18T10:00:59.262Z",
"updatedAt": "2025-06-18T10:00:59.262Z",
"scannedAt": "2025-06-18T10:00:59.262Z"
"createdAt": "2025-06-22T05:02:40.687Z",
"updatedAt": "2025-06-22T05:02:40.687Z",
"scannedAt": "2025-06-22T05:02:40.687Z"
}
},
{
@ -459,9 +498,9 @@
"description": "执行模式,定义具体的行为模式",
"reference": "@package://prompt/domain/xiaohongshu-marketer/execution/content-creation.execution.md",
"metadata": {
"createdAt": "2025-06-18T10:00:59.262Z",
"updatedAt": "2025-06-18T10:00:59.262Z",
"scannedAt": "2025-06-18T10:00:59.262Z"
"createdAt": "2025-06-22T05:02:40.687Z",
"updatedAt": "2025-06-22T05:02:40.687Z",
"scannedAt": "2025-06-22T05:02:40.687Z"
}
},
{
@ -472,9 +511,9 @@
"description": "执行模式,定义具体的行为模式",
"reference": "@package://prompt/domain/xiaohongshu-marketer/execution/content-optimization.execution.md",
"metadata": {
"createdAt": "2025-06-18T10:00:59.262Z",
"updatedAt": "2025-06-18T10:00:59.262Z",
"scannedAt": "2025-06-18T10:00:59.262Z"
"createdAt": "2025-06-22T05:02:40.687Z",
"updatedAt": "2025-06-22T05:02:40.687Z",
"scannedAt": "2025-06-22T05:02:40.687Z"
}
},
{
@ -485,9 +524,9 @@
"description": "执行模式,定义具体的行为模式",
"reference": "@package://prompt/domain/xiaohongshu-marketer/execution/data-analytics.execution.md",
"metadata": {
"createdAt": "2025-06-18T10:00:59.262Z",
"updatedAt": "2025-06-18T10:00:59.262Z",
"scannedAt": "2025-06-18T10:00:59.262Z"
"createdAt": "2025-06-22T05:02:40.687Z",
"updatedAt": "2025-06-22T05:02:40.687Z",
"scannedAt": "2025-06-22T05:02:40.687Z"
}
},
{
@ -498,9 +537,9 @@
"description": "执行模式,定义具体的行为模式",
"reference": "@package://prompt/domain/xiaohongshu-marketer/execution/ecommerce-conversion.execution.md",
"metadata": {
"createdAt": "2025-06-18T10:00:59.262Z",
"updatedAt": "2025-06-18T10:00:59.262Z",
"scannedAt": "2025-06-18T10:00:59.262Z"
"createdAt": "2025-06-22T05:02:40.687Z",
"updatedAt": "2025-06-22T05:02:40.687Z",
"scannedAt": "2025-06-22T05:02:40.687Z"
}
},
{
@ -511,9 +550,9 @@
"description": "执行模式,定义具体的行为模式",
"reference": "@package://prompt/domain/xiaohongshu-marketer/execution/performance-optimization.execution.md",
"metadata": {
"createdAt": "2025-06-18T10:00:59.262Z",
"updatedAt": "2025-06-18T10:00:59.262Z",
"scannedAt": "2025-06-18T10:00:59.262Z"
"createdAt": "2025-06-22T05:02:40.687Z",
"updatedAt": "2025-06-22T05:02:40.687Z",
"scannedAt": "2025-06-22T05:02:40.687Z"
}
},
{
@ -524,9 +563,9 @@
"description": "执行模式,定义具体的行为模式",
"reference": "@package://prompt/domain/xiaohongshu-marketer/execution/platform-compliance.execution.md",
"metadata": {
"createdAt": "2025-06-18T10:00:59.262Z",
"updatedAt": "2025-06-18T10:00:59.262Z",
"scannedAt": "2025-06-18T10:00:59.262Z"
"createdAt": "2025-06-22T05:02:40.687Z",
"updatedAt": "2025-06-22T05:02:40.687Z",
"scannedAt": "2025-06-22T05:02:40.687Z"
}
},
{
@ -537,9 +576,9 @@
"description": "执行模式,定义具体的行为模式",
"reference": "@package://prompt/domain/xiaohongshu-marketer/execution/team-collaboration.execution.md",
"metadata": {
"createdAt": "2025-06-18T10:00:59.262Z",
"updatedAt": "2025-06-18T10:00:59.262Z",
"scannedAt": "2025-06-18T10:00:59.262Z"
"createdAt": "2025-06-22T05:02:40.687Z",
"updatedAt": "2025-06-22T05:02:40.687Z",
"scannedAt": "2025-06-22T05:02:40.687Z"
}
},
{
@ -550,9 +589,9 @@
"description": "执行模式,定义具体的行为模式",
"reference": "@package://prompt/domain/xiaohongshu-marketer/execution/user-operation.execution.md",
"metadata": {
"createdAt": "2025-06-18T10:00:59.262Z",
"updatedAt": "2025-06-18T10:00:59.262Z",
"scannedAt": "2025-06-18T10:00:59.262Z"
"createdAt": "2025-06-22T05:02:40.687Z",
"updatedAt": "2025-06-22T05:02:40.687Z",
"scannedAt": "2025-06-22T05:02:40.687Z"
}
},
{
@ -563,9 +602,9 @@
"description": "执行模式,定义具体的行为模式",
"reference": "@package://prompt/domain/xiaohongshu-marketer/execution/xiaohongshu-marketer.execution.md",
"metadata": {
"createdAt": "2025-06-18T10:00:59.262Z",
"updatedAt": "2025-06-18T10:00:59.262Z",
"scannedAt": "2025-06-18T10:00:59.262Z"
"createdAt": "2025-06-22T05:02:40.687Z",
"updatedAt": "2025-06-22T05:02:40.687Z",
"scannedAt": "2025-06-22T05:02:40.687Z"
}
},
{
@ -576,9 +615,9 @@
"description": "执行模式,定义具体的行为模式",
"reference": "@package://prompt/core/dacp-email-sending.execution.md",
"metadata": {
"createdAt": "2025-06-18T10:00:59.263Z",
"updatedAt": "2025-06-18T10:00:59.263Z",
"scannedAt": "2025-06-18T10:00:59.263Z"
"createdAt": "2025-06-22T05:02:40.687Z",
"updatedAt": "2025-06-22T05:02:40.687Z",
"scannedAt": "2025-06-22T05:02:40.687Z"
}
},
{
@ -589,9 +628,9 @@
"description": "执行模式,定义具体的行为模式",
"reference": "@package://prompt/core/dacp-service-calling.execution.md",
"metadata": {
"createdAt": "2025-06-18T10:00:59.263Z",
"updatedAt": "2025-06-18T10:00:59.263Z",
"scannedAt": "2025-06-18T10:00:59.263Z"
"createdAt": "2025-06-22T05:02:40.687Z",
"updatedAt": "2025-06-22T05:02:40.687Z",
"scannedAt": "2025-06-22T05:02:40.687Z"
}
},
{
@ -602,9 +641,9 @@
"description": "思维模式指导AI的思考方式",
"reference": "@package://prompt/core/recall.thought.md",
"metadata": {
"createdAt": "2025-06-18T10:00:59.263Z",
"updatedAt": "2025-06-18T10:00:59.263Z",
"scannedAt": "2025-06-18T10:00:59.263Z"
"createdAt": "2025-06-22T05:02:40.687Z",
"updatedAt": "2025-06-22T05:02:40.687Z",
"scannedAt": "2025-06-22T05:02:40.687Z"
}
},
{
@ -615,21 +654,21 @@
"description": "思维模式指导AI的思考方式",
"reference": "@package://prompt/core/remember.thought.md",
"metadata": {
"createdAt": "2025-06-18T10:00:59.263Z",
"updatedAt": "2025-06-18T10:00:59.263Z",
"scannedAt": "2025-06-18T10:00:59.263Z"
"createdAt": "2025-06-22T05:02:40.687Z",
"updatedAt": "2025-06-22T05:02:40.687Z",
"scannedAt": "2025-06-22T05:02:40.687Z"
}
}
],
"stats": {
"totalResources": 47,
"totalResources": 50,
"byProtocol": {
"role": 7,
"thought": 9,
"execution": 31
"thought": 10,
"execution": 33
},
"bySource": {
"package": 47
"package": 50
}
}
}