diff --git a/README.md b/README.md index da6a81b..9cafeea 100644 --- a/README.md +++ b/README.md @@ -22,10 +22,11 @@ ### ✨ **一眼看懂 PromptX** -PromptX 能做什么?简单来说,它让你的 AI 助手拥有了"大脑"和"记忆"。 +PromptX 能做什么?简单来说,它让你的 AI 助手拥有了"大脑"和"记忆",更让你成为AI能力的创造者。 - **🎭 专业角色扮演**: 提供覆盖不同领域的专家角色,让 AI 的回答更专业、更深入。 - **🧠 长期记忆与知识库**: AI能够记住关键信息和你的偏好,在持续的对话和工作中提供连贯、个性化的支持。 +- **✨ AI角色创造工坊**: **2分钟内**将你的想法变成专业AI助手,从使用者到创造者的华丽转身。 - **🔌 轻松集成**: 只需一行命令,即可为数十种主流 AI 应用(如 Claude、Cursor)无缝启用这些强大功能。
@@ -152,7 +153,7 @@ graph TD **🎯 配置完成后,您的AI应用将自动获得6个专业工具:** - `promptx_init`: 🏗️ **系统初始化** - 自动准备工作环境。 - `promptx_hello`: 👋 **角色发现** - 浏览所有可用的专家角色。 -- `promptx_action`: ⚡ **角色激活** - 一键变身指定领域的专家。 +- `promptx_action`: ⚡ **角色激活** - 一键变身指定领域的专家。**(含女娲🎨角色创造顾问)** - `promptx_learn`: 📚 **知识学习** - 让AI学习特定的知识或技能。 - `promptx_recall`: 🔍 **记忆检索** - 从记忆库中查找历史信息。 - `promptx_remember`: 💾 **经验保存** - 将重要信息存入长期记忆。 @@ -161,6 +162,73 @@ graph TD --- +## 🎨 **女娲创造工坊 - 让每个人都成为AI角色设计师** + +
+ 女娲创造工坊 +
+ +#### **💫 从想法到现实,只需2分钟** + +你有没有想过:如果我能为特定工作场景定制一个专业AI助手会怎样?**女娲让这个想法变成现实。** + +> *"每个想法都值得拥有专属的AI助手,技术的门槛不应该限制创意的飞翔。"* + +#### **🎯 核心价值转换** + +- **🚀 零门槛创造**: 无需学习复杂技术,用自然语言描述需求即可 +- **⚡ 极速交付**: 从想法到可用角色,全程2分钟 +- **🎭 专业品质**: 自动生成符合DPML标准的专业AI角色 +- **🔄 即插即用**: 创建完成立即可以激活使用 +- **💝 掌控感**: 从使用者到创造者的华丽转身 + +#### **✨ 使用场景示例** + +
+ +| 🎯 **用户需求** | ⚡ **女娲生成** | 🚀 **立即可用** | +|---|---|---| +| 👩‍💼 "我需要一个懂小红书营销的AI助手" | 小红书营销专家角色 | `激活小红书营销专家` | +| 👨‍💻 "我想要一个Python异步编程专家" | Python异步编程导师角色 | `激活Python异步编程导师` | +| 🎨 "给我一个UI/UX设计顾问" | UI/UX设计专家角色 | `激活UI/UX设计专家` | +| 📊 "需要一个数据分析师助手" | 数据分析专家角色 | `激活数据分析专家` | + +
+ +#### **🎪 体验女娲创造力 - 4步创造专属AI助手** + +
+
+ 第1步:激活女娲角色创造顾问 + 第2步:向女娲描述你的需求 + 第3步:女娲理解并完善需求 + 第4步:激活新创建的专属角色 +
+
+ +```bash +# 1️⃣ 激活女娲角色创造顾问 +"我要女娲帮我创建一个角色" + +# 2️⃣ 描述你的需求(自然语言即可) +"我需要一个[领域]的专业助手,主要用于[具体场景]" + +# 3️⃣ 等待2分钟,女娲为你生成专业角色 +# 女娲会创建角色文件、注册到系统、完成质量检查 + +# 4️⃣ 立即激活使用你的专属AI助手 +"激活刚刚创建的角色" +``` + +#### **🌟 女娲的设计哲学** + +- **🎯 无界创造**: 让任何有想法的人都能创造AI助手,打破技术壁垒 +- **⚡ 即时满足**: 满足数字时代对即时性的需求 +- **🧠 成长引导**: 不只是工具使用,更是引导用户理解AI能力边界 +- **🌱 生态共建**: 每个用户创造的角色都可能成为他人的灵感源泉 + +--- + ## 📋 **实践案例: Legacy Lands Library**
diff --git a/README_EN.md b/README_EN.md index c776f4d..e2e237f 100644 --- a/README_EN.md +++ b/README_EN.md @@ -22,10 +22,11 @@ ### ✨ **Understanding PromptX at a Glance** -What can PromptX do? Simply put, it gives your AI assistant a "brain" and "memory." +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).
@@ -153,7 +154,7 @@ All AI clients that support the MCP protocol can use PromptX. This includes majo **🎯 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. +- `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. @@ -162,6 +163,80 @@ All AI clients that support the MCP protocol can use PromptX. This includes majo --- +## 🎨 **Nuwa Creation Workshop - Democratizing AI Role Design** + +
+ 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 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** + +
+ Step 1: Activate Nuwa Role Creation Consultant + Step 2: Describe your needs to Nuwa + Step 3: Nuwa understands and refines requirements + Step 4: Activate the newly created dedicated role +
+ +#### **💬 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**
diff --git a/assets/nuwa-demo/step1-action-nuwa.jpg b/assets/nuwa-demo/step1-action-nuwa.jpg new file mode 100644 index 0000000..d9a6702 Binary files /dev/null and b/assets/nuwa-demo/step1-action-nuwa.jpg differ diff --git a/assets/nuwa-demo/step2-require-nuwa.jpg b/assets/nuwa-demo/step2-require-nuwa.jpg new file mode 100644 index 0000000..cc4419c Binary files /dev/null and b/assets/nuwa-demo/step2-require-nuwa.jpg differ diff --git a/assets/nuwa-demo/step3-modify-requirement.jpg b/assets/nuwa-demo/step3-modify-requirement.jpg new file mode 100644 index 0000000..1e2ca69 Binary files /dev/null and b/assets/nuwa-demo/step3-modify-requirement.jpg differ diff --git a/assets/nuwa-demo/step4-action-bew-role.jpg b/assets/nuwa-demo/step4-action-bew-role.jpg new file mode 100644 index 0000000..cb3cb1c Binary files /dev/null and b/assets/nuwa-demo/step4-action-bew-role.jpg differ diff --git a/assets/nuwa-logo.png b/assets/nuwa-logo.png new file mode 100644 index 0000000..60c84f9 Binary files /dev/null and b/assets/nuwa-logo.png differ diff --git a/src/lib/core/pouch/commands/ActionCommand.js b/src/lib/core/pouch/commands/ActionCommand.js index 677c244..0e05f5d 100644 --- a/src/lib/core/pouch/commands/ActionCommand.js +++ b/src/lib/core/pouch/commands/ActionCommand.js @@ -59,7 +59,16 @@ class ActionCommand extends BasePouchCommand { logger.warn(`[ActionCommand] 角色 "${roleId}" 不存在!`) return `❌ 角色 "${roleId}" 不存在! -🔍 请使用 MCP PromptX 工具的 hello 功能查看可用角色` +🔍 可能的原因: +- 角色尚未注册到系统中 +- 刚刚创建的新角色需要刷新注册表 + +💡 解决方案: +1. **首先尝试**:使用 MCP PromptX 工具的 **init** 功能刷新注册表 +2. **然后重试**:再次使用 action 功能激活角色 +3. **查看角色**:使用 hello 功能查看所有可用角色 + +🚨 **特别提示**:如果刚刚用女娲创建了新角色,必须先执行 init 刷新注册表!` } // 2. 分析角色文件,提取依赖 @@ -73,10 +82,18 @@ class ActionCommand extends BasePouchCommand { 🔍 可能的原因: - 角色文件不存在或格式错误 +- 新创建的角色尚未注册到系统 - 权限不足 - 系统资源问题 -💡 请使用 MCP PromptX 工具的 hello 功能查看可用角色列表。` +💡 解决方案: +1. **优先尝试**:使用 MCP PromptX 工具的 **init** 功能刷新注册表 +2. **然后重试**:再次尝试激活角色 +3. **查看可用角色**:使用 hello 功能查看角色列表 + +🚨 **新角色提示**:如果是女娲等工具刚创建的角色,必须先执行 init! + +📋 **错误详情**:${error.message}` } } diff --git a/src/lib/core/pouch/commands/InitCommand.js b/src/lib/core/pouch/commands/InitCommand.js index 66e8ace..3b28f84 100644 --- a/src/lib/core/pouch/commands/InitCommand.js +++ b/src/lib/core/pouch/commands/InitCommand.js @@ -236,13 +236,13 @@ ${registryStats.message} { name: '发现专业角色', description: '查看所有可用的AI专业角色', - command: COMMANDS.HELLO, + method: 'MCP PromptX hello 工具', priority: 'recommended' }, { name: '激活专业角色', description: '直接激活特定专业角色(如果已知角色ID)', - command: COMMANDS.ACTION, + method: 'MCP PromptX action 工具', priority: 'optional' } ], diff --git a/src/lib/mcp/toolDefinitions.js b/src/lib/mcp/toolDefinitions.js index 6c5f77b..011a266 100644 --- a/src/lib/mcp/toolDefinitions.js +++ b/src/lib/mcp/toolDefinitions.js @@ -36,7 +36,7 @@ const TOOL_DEFINITIONS = [ }, { name: 'promptx_action', - description: '⚡ [专家身份变身器] 🚀 让你瞬间获得指定专业角色的完整思维和技能包 - 输入角色ID立即获得该领域专家的思考方式/工作原则/专业知识,同时自动加载相关历史经验和最佳实践,3秒内完成专业化转换。🛑 **重要**:使用此工具时必须首先关注并响应工具返回结果开头的项目环境验证提示,确认项目路径正确后再处理角色激活内容,每次需要专业服务时必须使用', + description: '⚡ [专家身份变身器] 🚀 让你瞬间获得指定专业角色的完整思维和技能包 - 输入角色ID立即获得该领域专家的思考方式/工作原则/专业知识,同时自动加载相关历史经验和最佳实践,3秒内完成专业化转换。🛑 **重要**:如果角色激活失败提示"不存在",请先使用 init 工具刷新注册表,特别是在女娲等工具创建新角色后。使用此工具时必须首先关注并响应工具返回结果开头的项目环境验证提示,确认项目路径正确后再处理角色激活内容,每次需要专业服务时必须使用', inputSchema: { type: 'object', properties: {