optimize:优化记忆格式化逻辑,确保完整记忆内容不被截断,同时更新工具定义中的描述,增强用户对记忆回想器的理解和使用指导。
This commit is contained in:
@ -263,28 +263,17 @@ ${formattedMemories}
|
|||||||
*/
|
*/
|
||||||
formatRetrievedKnowledge (memories, query) {
|
formatRetrievedKnowledge (memories, query) {
|
||||||
return memories.map((memory, index) => {
|
return memories.map((memory, index) => {
|
||||||
// 多行内容处理:如果内容包含换行,保持原始格式,但限制总长度
|
// 保持完整的记忆内容,不进行截断
|
||||||
|
// 陈述性记忆的完整性对于系统价值至关重要
|
||||||
let content = memory.content
|
let content = memory.content
|
||||||
if (content.length > 200) {
|
|
||||||
// 保持换行结构但截断过长内容
|
// 只对格式进行优化,但不截断内容
|
||||||
const lines = content.split('\n')
|
// 确保换行符正确显示
|
||||||
let truncated = ''
|
content = content.trim()
|
||||||
let currentLength = 0
|
|
||||||
|
|
||||||
for (const line of lines) {
|
|
||||||
if (currentLength + line.length + 1 > 180) {
|
|
||||||
truncated += '...'
|
|
||||||
break
|
|
||||||
}
|
|
||||||
truncated += (truncated ? '\n' : '') + line
|
|
||||||
currentLength += line.length + 1
|
|
||||||
}
|
|
||||||
content = truncated
|
|
||||||
}
|
|
||||||
|
|
||||||
return `📝 ${index + 1}. **记忆** (${memory.timestamp})
|
return `📝 ${index + 1}. **记忆** (${memory.timestamp})
|
||||||
${content}
|
${content}
|
||||||
${memory.tags.slice(0, 5).join(' ')}
|
${memory.tags.slice(0, 8).join(' ')}
|
||||||
---`
|
---`
|
||||||
}).join('\n')
|
}).join('\n')
|
||||||
}
|
}
|
||||||
|
|||||||
@ -70,7 +70,7 @@ const TOOL_DEFINITIONS = [
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'promptx_recall',
|
name: 'promptx_recall',
|
||||||
description: '🔍 [记忆回想器] ⚡ 让你记住并运用以前的经验和知识 - 瞬间检索之前学会的专业技能/处理过的项目经验/掌握的最佳实践/解决过的问题方案,避免重复犯错和重新学习,当需要参考历史经验做决策时必须使用,让你的工作越来越专业',
|
description: '🔍 [记忆回想器] ⚡ 让你记住并运用以前的经验和知识 - 瞬间检索专业技能/项目经验/最佳实践/问题方案。**关键字策略**:1️⃣有把握精确匹配时使用query(如"女娲"、"PromptX"、"MCP");2️⃣语义搜索或不确定时留空query获取全量记忆;3️⃣如果第一次使用参数没获取到想要的结果,建议重新使用无参数获取全量信息;4️⃣全量检索比错过重要记忆更有价值。避免重复犯错,让工作越来越专业',
|
||||||
inputSchema: {
|
inputSchema: {
|
||||||
type: 'object',
|
type: 'object',
|
||||||
properties: {
|
properties: {
|
||||||
@ -80,13 +80,13 @@ const TOOL_DEFINITIONS = [
|
|||||||
},
|
},
|
||||||
query: {
|
query: {
|
||||||
type: 'string',
|
type: 'string',
|
||||||
description: '检索关键词或描述,可选参数,不提供则返回所有记忆'
|
description: '检索关键词,仅在确信能精确匹配时使用(如"女娲"、"PromptX"等具体词汇)。语义搜索或不确定时请留空以获取全量记忆,如果使用关键字无结果建议重试无参数方式'
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
required: ['random_string']
|
required: ['random_string']
|
||||||
},
|
},
|
||||||
zodSchema: z.object({
|
zodSchema: z.object({
|
||||||
query: z.string().optional().describe('检索关键词或描述,可选参数,不提供则返回所有记忆')
|
query: z.string().optional().describe('检索关键词,仅在确信能精确匹配时使用(如"女娲"、"PromptX"等具体词汇)。语义搜索或不确定时请留空以获取全量记忆,如果使用关键字无结果建议重试无参数方式')
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|||||||
@ -4,8 +4,8 @@
|
|||||||
"metadata": {
|
"metadata": {
|
||||||
"version": "2.0.0",
|
"version": "2.0.0",
|
||||||
"description": "package 级资源注册表",
|
"description": "package 级资源注册表",
|
||||||
"createdAt": "2025-06-17T07:51:28.253Z",
|
"createdAt": "2025-06-17T07:57:37.732Z",
|
||||||
"updatedAt": "2025-06-17T07:51:28.261Z",
|
"updatedAt": "2025-06-17T07:57:37.738Z",
|
||||||
"resourceCount": 43
|
"resourceCount": 43
|
||||||
},
|
},
|
||||||
"resources": [
|
"resources": [
|
||||||
@ -17,9 +17,9 @@
|
|||||||
"description": "专业角色,提供特定领域的专业能力",
|
"description": "专业角色,提供特定领域的专业能力",
|
||||||
"reference": "@package://prompt/domain/assistant/assistant.role.md",
|
"reference": "@package://prompt/domain/assistant/assistant.role.md",
|
||||||
"metadata": {
|
"metadata": {
|
||||||
"createdAt": "2025-06-17T07:51:28.256Z",
|
"createdAt": "2025-06-17T07:57:37.734Z",
|
||||||
"updatedAt": "2025-06-17T07:51:28.256Z",
|
"updatedAt": "2025-06-17T07:57:37.734Z",
|
||||||
"scannedAt": "2025-06-17T07:51:28.256Z"
|
"scannedAt": "2025-06-17T07:57:37.734Z"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -30,9 +30,9 @@
|
|||||||
"description": "思维模式,指导AI的思考方式",
|
"description": "思维模式,指导AI的思考方式",
|
||||||
"reference": "@package://prompt/domain/assistant/thought/assistant.thought.md",
|
"reference": "@package://prompt/domain/assistant/thought/assistant.thought.md",
|
||||||
"metadata": {
|
"metadata": {
|
||||||
"createdAt": "2025-06-17T07:51:28.256Z",
|
"createdAt": "2025-06-17T07:57:37.734Z",
|
||||||
"updatedAt": "2025-06-17T07:51:28.256Z",
|
"updatedAt": "2025-06-17T07:57:37.734Z",
|
||||||
"scannedAt": "2025-06-17T07:51:28.256Z"
|
"scannedAt": "2025-06-17T07:57:37.734Z"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -43,9 +43,9 @@
|
|||||||
"description": "执行模式,定义具体的行为模式",
|
"description": "执行模式,定义具体的行为模式",
|
||||||
"reference": "@package://prompt/domain/assistant/execution/assistant.execution.md",
|
"reference": "@package://prompt/domain/assistant/execution/assistant.execution.md",
|
||||||
"metadata": {
|
"metadata": {
|
||||||
"createdAt": "2025-06-17T07:51:28.256Z",
|
"createdAt": "2025-06-17T07:57:37.734Z",
|
||||||
"updatedAt": "2025-06-17T07:51:28.256Z",
|
"updatedAt": "2025-06-17T07:57:37.734Z",
|
||||||
"scannedAt": "2025-06-17T07:51:28.256Z"
|
"scannedAt": "2025-06-17T07:57:37.734Z"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -56,9 +56,9 @@
|
|||||||
"description": "专业角色,提供特定领域的专业能力",
|
"description": "专业角色,提供特定领域的专业能力",
|
||||||
"reference": "@package://prompt/domain/frontend-developer/frontend-developer.role.md",
|
"reference": "@package://prompt/domain/frontend-developer/frontend-developer.role.md",
|
||||||
"metadata": {
|
"metadata": {
|
||||||
"createdAt": "2025-06-17T07:51:28.256Z",
|
"createdAt": "2025-06-17T07:57:37.734Z",
|
||||||
"updatedAt": "2025-06-17T07:51:28.256Z",
|
"updatedAt": "2025-06-17T07:57:37.734Z",
|
||||||
"scannedAt": "2025-06-17T07:51:28.256Z"
|
"scannedAt": "2025-06-17T07:57:37.734Z"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -69,9 +69,9 @@
|
|||||||
"description": "思维模式,指导AI的思考方式",
|
"description": "思维模式,指导AI的思考方式",
|
||||||
"reference": "@package://prompt/domain/frontend-developer/thought/frontend-developer.thought.md",
|
"reference": "@package://prompt/domain/frontend-developer/thought/frontend-developer.thought.md",
|
||||||
"metadata": {
|
"metadata": {
|
||||||
"createdAt": "2025-06-17T07:51:28.256Z",
|
"createdAt": "2025-06-17T07:57:37.734Z",
|
||||||
"updatedAt": "2025-06-17T07:51:28.256Z",
|
"updatedAt": "2025-06-17T07:57:37.734Z",
|
||||||
"scannedAt": "2025-06-17T07:51:28.256Z"
|
"scannedAt": "2025-06-17T07:57:37.734Z"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -82,9 +82,9 @@
|
|||||||
"description": "执行模式,定义具体的行为模式",
|
"description": "执行模式,定义具体的行为模式",
|
||||||
"reference": "@package://prompt/domain/java-backend-developer/execution/code-quality.execution.md",
|
"reference": "@package://prompt/domain/java-backend-developer/execution/code-quality.execution.md",
|
||||||
"metadata": {
|
"metadata": {
|
||||||
"createdAt": "2025-06-17T07:51:28.257Z",
|
"createdAt": "2025-06-17T07:57:37.735Z",
|
||||||
"updatedAt": "2025-06-17T07:51:28.257Z",
|
"updatedAt": "2025-06-17T07:57:37.735Z",
|
||||||
"scannedAt": "2025-06-17T07:51:28.257Z"
|
"scannedAt": "2025-06-17T07:57:37.735Z"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -95,9 +95,9 @@
|
|||||||
"description": "执行模式,定义具体的行为模式",
|
"description": "执行模式,定义具体的行为模式",
|
||||||
"reference": "@package://prompt/domain/frontend-developer/execution/frontend-developer.execution.md",
|
"reference": "@package://prompt/domain/frontend-developer/execution/frontend-developer.execution.md",
|
||||||
"metadata": {
|
"metadata": {
|
||||||
"createdAt": "2025-06-17T07:51:28.256Z",
|
"createdAt": "2025-06-17T07:57:37.735Z",
|
||||||
"updatedAt": "2025-06-17T07:51:28.256Z",
|
"updatedAt": "2025-06-17T07:57:37.735Z",
|
||||||
"scannedAt": "2025-06-17T07:51:28.256Z"
|
"scannedAt": "2025-06-17T07:57:37.735Z"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -108,9 +108,9 @@
|
|||||||
"description": "执行模式,定义具体的行为模式",
|
"description": "执行模式,定义具体的行为模式",
|
||||||
"reference": "@package://prompt/domain/frontend-developer/execution/technical-architecture.execution.md",
|
"reference": "@package://prompt/domain/frontend-developer/execution/technical-architecture.execution.md",
|
||||||
"metadata": {
|
"metadata": {
|
||||||
"createdAt": "2025-06-17T07:51:28.256Z",
|
"createdAt": "2025-06-17T07:57:37.735Z",
|
||||||
"updatedAt": "2025-06-17T07:51:28.256Z",
|
"updatedAt": "2025-06-17T07:57:37.735Z",
|
||||||
"scannedAt": "2025-06-17T07:51:28.256Z"
|
"scannedAt": "2025-06-17T07:57:37.735Z"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -121,9 +121,9 @@
|
|||||||
"description": "执行模式,定义具体的行为模式",
|
"description": "执行模式,定义具体的行为模式",
|
||||||
"reference": "@package://prompt/domain/frontend-developer/execution/user-experience.execution.md",
|
"reference": "@package://prompt/domain/frontend-developer/execution/user-experience.execution.md",
|
||||||
"metadata": {
|
"metadata": {
|
||||||
"createdAt": "2025-06-17T07:51:28.256Z",
|
"createdAt": "2025-06-17T07:57:37.735Z",
|
||||||
"updatedAt": "2025-06-17T07:51:28.256Z",
|
"updatedAt": "2025-06-17T07:57:37.735Z",
|
||||||
"scannedAt": "2025-06-17T07:51:28.256Z"
|
"scannedAt": "2025-06-17T07:57:37.735Z"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -134,9 +134,9 @@
|
|||||||
"description": "执行模式,定义具体的行为模式",
|
"description": "执行模式,定义具体的行为模式",
|
||||||
"reference": "@package://prompt/domain/frontend-developer/execution/wechat-miniprogram-development.execution.md",
|
"reference": "@package://prompt/domain/frontend-developer/execution/wechat-miniprogram-development.execution.md",
|
||||||
"metadata": {
|
"metadata": {
|
||||||
"createdAt": "2025-06-17T07:51:28.257Z",
|
"createdAt": "2025-06-17T07:57:37.735Z",
|
||||||
"updatedAt": "2025-06-17T07:51:28.257Z",
|
"updatedAt": "2025-06-17T07:57:37.735Z",
|
||||||
"scannedAt": "2025-06-17T07:51:28.257Z"
|
"scannedAt": "2025-06-17T07:57:37.735Z"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -147,9 +147,9 @@
|
|||||||
"description": "专业角色,提供特定领域的专业能力",
|
"description": "专业角色,提供特定领域的专业能力",
|
||||||
"reference": "@package://prompt/domain/java-backend-developer/java-backend-developer.role.md",
|
"reference": "@package://prompt/domain/java-backend-developer/java-backend-developer.role.md",
|
||||||
"metadata": {
|
"metadata": {
|
||||||
"createdAt": "2025-06-17T07:51:28.257Z",
|
"createdAt": "2025-06-17T07:57:37.735Z",
|
||||||
"updatedAt": "2025-06-17T07:51:28.257Z",
|
"updatedAt": "2025-06-17T07:57:37.735Z",
|
||||||
"scannedAt": "2025-06-17T07:51:28.257Z"
|
"scannedAt": "2025-06-17T07:57:37.735Z"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -160,9 +160,9 @@
|
|||||||
"description": "思维模式,指导AI的思考方式",
|
"description": "思维模式,指导AI的思考方式",
|
||||||
"reference": "@package://prompt/domain/java-backend-developer/thought/java-backend-developer.thought.md",
|
"reference": "@package://prompt/domain/java-backend-developer/thought/java-backend-developer.thought.md",
|
||||||
"metadata": {
|
"metadata": {
|
||||||
"createdAt": "2025-06-17T07:51:28.257Z",
|
"createdAt": "2025-06-17T07:57:37.735Z",
|
||||||
"updatedAt": "2025-06-17T07:51:28.257Z",
|
"updatedAt": "2025-06-17T07:57:37.735Z",
|
||||||
"scannedAt": "2025-06-17T07:51:28.257Z"
|
"scannedAt": "2025-06-17T07:57:37.735Z"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -173,9 +173,9 @@
|
|||||||
"description": "执行模式,定义具体的行为模式",
|
"description": "执行模式,定义具体的行为模式",
|
||||||
"reference": "@package://prompt/domain/java-backend-developer/execution/database-design.execution.md",
|
"reference": "@package://prompt/domain/java-backend-developer/execution/database-design.execution.md",
|
||||||
"metadata": {
|
"metadata": {
|
||||||
"createdAt": "2025-06-17T07:51:28.257Z",
|
"createdAt": "2025-06-17T07:57:37.735Z",
|
||||||
"updatedAt": "2025-06-17T07:51:28.257Z",
|
"updatedAt": "2025-06-17T07:57:37.735Z",
|
||||||
"scannedAt": "2025-06-17T07:51:28.257Z"
|
"scannedAt": "2025-06-17T07:57:37.735Z"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -186,9 +186,9 @@
|
|||||||
"description": "执行模式,定义具体的行为模式",
|
"description": "执行模式,定义具体的行为模式",
|
||||||
"reference": "@package://prompt/domain/java-backend-developer/execution/java-backend-developer.execution.md",
|
"reference": "@package://prompt/domain/java-backend-developer/execution/java-backend-developer.execution.md",
|
||||||
"metadata": {
|
"metadata": {
|
||||||
"createdAt": "2025-06-17T07:51:28.257Z",
|
"createdAt": "2025-06-17T07:57:37.735Z",
|
||||||
"updatedAt": "2025-06-17T07:51:28.257Z",
|
"updatedAt": "2025-06-17T07:57:37.735Z",
|
||||||
"scannedAt": "2025-06-17T07:51:28.257Z"
|
"scannedAt": "2025-06-17T07:57:37.735Z"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -199,9 +199,9 @@
|
|||||||
"description": "执行模式,定义具体的行为模式",
|
"description": "执行模式,定义具体的行为模式",
|
||||||
"reference": "@package://prompt/domain/java-backend-developer/execution/spring-ecosystem.execution.md",
|
"reference": "@package://prompt/domain/java-backend-developer/execution/spring-ecosystem.execution.md",
|
||||||
"metadata": {
|
"metadata": {
|
||||||
"createdAt": "2025-06-17T07:51:28.257Z",
|
"createdAt": "2025-06-17T07:57:37.735Z",
|
||||||
"updatedAt": "2025-06-17T07:51:28.257Z",
|
"updatedAt": "2025-06-17T07:57:37.735Z",
|
||||||
"scannedAt": "2025-06-17T07:51:28.257Z"
|
"scannedAt": "2025-06-17T07:57:37.735Z"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -212,9 +212,9 @@
|
|||||||
"description": "执行模式,定义具体的行为模式",
|
"description": "执行模式,定义具体的行为模式",
|
||||||
"reference": "@package://prompt/domain/java-backend-developer/execution/system-architecture.execution.md",
|
"reference": "@package://prompt/domain/java-backend-developer/execution/system-architecture.execution.md",
|
||||||
"metadata": {
|
"metadata": {
|
||||||
"createdAt": "2025-06-17T07:51:28.257Z",
|
"createdAt": "2025-06-17T07:57:37.735Z",
|
||||||
"updatedAt": "2025-06-17T07:51:28.257Z",
|
"updatedAt": "2025-06-17T07:57:37.735Z",
|
||||||
"scannedAt": "2025-06-17T07:51:28.257Z"
|
"scannedAt": "2025-06-17T07:57:37.735Z"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -225,9 +225,9 @@
|
|||||||
"description": "专业角色,提供特定领域的专业能力",
|
"description": "专业角色,提供特定领域的专业能力",
|
||||||
"reference": "@package://prompt/domain/nuwa/nuwa.role.md",
|
"reference": "@package://prompt/domain/nuwa/nuwa.role.md",
|
||||||
"metadata": {
|
"metadata": {
|
||||||
"createdAt": "2025-06-17T07:51:28.257Z",
|
"createdAt": "2025-06-17T07:57:37.736Z",
|
||||||
"updatedAt": "2025-06-17T07:51:28.257Z",
|
"updatedAt": "2025-06-17T07:57:37.736Z",
|
||||||
"scannedAt": "2025-06-17T07:51:28.257Z"
|
"scannedAt": "2025-06-17T07:57:37.736Z"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -238,9 +238,9 @@
|
|||||||
"description": "执行模式,定义具体的行为模式",
|
"description": "执行模式,定义具体的行为模式",
|
||||||
"reference": "@package://prompt/domain/nuwa/execution/dpml-authoring.execution.md",
|
"reference": "@package://prompt/domain/nuwa/execution/dpml-authoring.execution.md",
|
||||||
"metadata": {
|
"metadata": {
|
||||||
"createdAt": "2025-06-17T07:51:28.257Z",
|
"createdAt": "2025-06-17T07:57:37.736Z",
|
||||||
"updatedAt": "2025-06-17T07:51:28.257Z",
|
"updatedAt": "2025-06-17T07:57:37.736Z",
|
||||||
"scannedAt": "2025-06-17T07:51:28.257Z"
|
"scannedAt": "2025-06-17T07:57:37.736Z"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -251,9 +251,9 @@
|
|||||||
"description": "执行模式,定义具体的行为模式",
|
"description": "执行模式,定义具体的行为模式",
|
||||||
"reference": "@package://prompt/domain/nuwa/execution/role-design-patterns.execution.md",
|
"reference": "@package://prompt/domain/nuwa/execution/role-design-patterns.execution.md",
|
||||||
"metadata": {
|
"metadata": {
|
||||||
"createdAt": "2025-06-17T07:51:28.257Z",
|
"createdAt": "2025-06-17T07:57:37.736Z",
|
||||||
"updatedAt": "2025-06-17T07:51:28.257Z",
|
"updatedAt": "2025-06-17T07:57:37.736Z",
|
||||||
"scannedAt": "2025-06-17T07:51:28.257Z"
|
"scannedAt": "2025-06-17T07:57:37.736Z"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -264,9 +264,9 @@
|
|||||||
"description": "执行模式,定义具体的行为模式",
|
"description": "执行模式,定义具体的行为模式",
|
||||||
"reference": "@package://prompt/domain/nuwa/execution/role-generation.execution.md",
|
"reference": "@package://prompt/domain/nuwa/execution/role-generation.execution.md",
|
||||||
"metadata": {
|
"metadata": {
|
||||||
"createdAt": "2025-06-17T07:51:28.257Z",
|
"createdAt": "2025-06-17T07:57:37.736Z",
|
||||||
"updatedAt": "2025-06-17T07:51:28.257Z",
|
"updatedAt": "2025-06-17T07:57:37.736Z",
|
||||||
"scannedAt": "2025-06-17T07:51:28.257Z"
|
"scannedAt": "2025-06-17T07:57:37.736Z"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -277,9 +277,9 @@
|
|||||||
"description": "执行模式,定义具体的行为模式",
|
"description": "执行模式,定义具体的行为模式",
|
||||||
"reference": "@package://prompt/domain/nuwa/execution/visualization-enhancement.execution.md",
|
"reference": "@package://prompt/domain/nuwa/execution/visualization-enhancement.execution.md",
|
||||||
"metadata": {
|
"metadata": {
|
||||||
"createdAt": "2025-06-17T07:51:28.257Z",
|
"createdAt": "2025-06-17T07:57:37.736Z",
|
||||||
"updatedAt": "2025-06-17T07:51:28.257Z",
|
"updatedAt": "2025-06-17T07:57:37.736Z",
|
||||||
"scannedAt": "2025-06-17T07:51:28.257Z"
|
"scannedAt": "2025-06-17T07:57:37.736Z"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -290,9 +290,9 @@
|
|||||||
"description": "专业角色,提供特定领域的专业能力",
|
"description": "专业角色,提供特定领域的专业能力",
|
||||||
"reference": "@package://prompt/domain/product-manager/product-manager.role.md",
|
"reference": "@package://prompt/domain/product-manager/product-manager.role.md",
|
||||||
"metadata": {
|
"metadata": {
|
||||||
"createdAt": "2025-06-17T07:51:28.257Z",
|
"createdAt": "2025-06-17T07:57:37.736Z",
|
||||||
"updatedAt": "2025-06-17T07:51:28.257Z",
|
"updatedAt": "2025-06-17T07:57:37.736Z",
|
||||||
"scannedAt": "2025-06-17T07:51:28.257Z"
|
"scannedAt": "2025-06-17T07:57:37.736Z"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -303,9 +303,9 @@
|
|||||||
"description": "思维模式,指导AI的思考方式",
|
"description": "思维模式,指导AI的思考方式",
|
||||||
"reference": "@package://prompt/domain/product-manager/thought/product-manager.thought.md",
|
"reference": "@package://prompt/domain/product-manager/thought/product-manager.thought.md",
|
||||||
"metadata": {
|
"metadata": {
|
||||||
"createdAt": "2025-06-17T07:51:28.257Z",
|
"createdAt": "2025-06-17T07:57:37.736Z",
|
||||||
"updatedAt": "2025-06-17T07:51:28.257Z",
|
"updatedAt": "2025-06-17T07:57:37.736Z",
|
||||||
"scannedAt": "2025-06-17T07:51:28.257Z"
|
"scannedAt": "2025-06-17T07:57:37.736Z"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -316,9 +316,9 @@
|
|||||||
"description": "执行模式,定义具体的行为模式",
|
"description": "执行模式,定义具体的行为模式",
|
||||||
"reference": "@package://prompt/domain/product-manager/execution/market-analysis.execution.md",
|
"reference": "@package://prompt/domain/product-manager/execution/market-analysis.execution.md",
|
||||||
"metadata": {
|
"metadata": {
|
||||||
"createdAt": "2025-06-17T07:51:28.257Z",
|
"createdAt": "2025-06-17T07:57:37.736Z",
|
||||||
"updatedAt": "2025-06-17T07:51:28.257Z",
|
"updatedAt": "2025-06-17T07:57:37.736Z",
|
||||||
"scannedAt": "2025-06-17T07:51:28.257Z"
|
"scannedAt": "2025-06-17T07:57:37.736Z"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -329,9 +329,9 @@
|
|||||||
"description": "执行模式,定义具体的行为模式",
|
"description": "执行模式,定义具体的行为模式",
|
||||||
"reference": "@package://prompt/domain/product-manager/execution/product-manager.execution.md",
|
"reference": "@package://prompt/domain/product-manager/execution/product-manager.execution.md",
|
||||||
"metadata": {
|
"metadata": {
|
||||||
"createdAt": "2025-06-17T07:51:28.257Z",
|
"createdAt": "2025-06-17T07:57:37.736Z",
|
||||||
"updatedAt": "2025-06-17T07:51:28.257Z",
|
"updatedAt": "2025-06-17T07:57:37.736Z",
|
||||||
"scannedAt": "2025-06-17T07:51:28.257Z"
|
"scannedAt": "2025-06-17T07:57:37.736Z"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -342,9 +342,9 @@
|
|||||||
"description": "执行模式,定义具体的行为模式",
|
"description": "执行模式,定义具体的行为模式",
|
||||||
"reference": "@package://prompt/domain/product-manager/execution/user-research.execution.md",
|
"reference": "@package://prompt/domain/product-manager/execution/user-research.execution.md",
|
||||||
"metadata": {
|
"metadata": {
|
||||||
"createdAt": "2025-06-17T07:51:28.257Z",
|
"createdAt": "2025-06-17T07:57:37.736Z",
|
||||||
"updatedAt": "2025-06-17T07:51:28.257Z",
|
"updatedAt": "2025-06-17T07:57:37.736Z",
|
||||||
"scannedAt": "2025-06-17T07:51:28.257Z"
|
"scannedAt": "2025-06-17T07:57:37.736Z"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -355,9 +355,9 @@
|
|||||||
"description": "专业角色,提供特定领域的专业能力",
|
"description": "专业角色,提供特定领域的专业能力",
|
||||||
"reference": "@package://prompt/domain/sean/sean.role.md",
|
"reference": "@package://prompt/domain/sean/sean.role.md",
|
||||||
"metadata": {
|
"metadata": {
|
||||||
"createdAt": "2025-06-17T07:51:28.258Z",
|
"createdAt": "2025-06-17T07:57:37.736Z",
|
||||||
"updatedAt": "2025-06-17T07:51:28.258Z",
|
"updatedAt": "2025-06-17T07:57:37.736Z",
|
||||||
"scannedAt": "2025-06-17T07:51:28.258Z"
|
"scannedAt": "2025-06-17T07:57:37.736Z"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -368,9 +368,9 @@
|
|||||||
"description": "执行模式,定义具体的行为模式",
|
"description": "执行模式,定义具体的行为模式",
|
||||||
"reference": "@package://prompt/domain/sean/execution/sean-decision-framework.execution.md",
|
"reference": "@package://prompt/domain/sean/execution/sean-decision-framework.execution.md",
|
||||||
"metadata": {
|
"metadata": {
|
||||||
"createdAt": "2025-06-17T07:51:28.258Z",
|
"createdAt": "2025-06-17T07:57:37.736Z",
|
||||||
"updatedAt": "2025-06-17T07:51:28.258Z",
|
"updatedAt": "2025-06-17T07:57:37.736Z",
|
||||||
"scannedAt": "2025-06-17T07:51:28.258Z"
|
"scannedAt": "2025-06-17T07:57:37.736Z"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -381,9 +381,9 @@
|
|||||||
"description": "专业角色,提供特定领域的专业能力",
|
"description": "专业角色,提供特定领域的专业能力",
|
||||||
"reference": "@package://prompt/domain/xiaohongshu-marketer/xiaohongshu-marketer.role.md",
|
"reference": "@package://prompt/domain/xiaohongshu-marketer/xiaohongshu-marketer.role.md",
|
||||||
"metadata": {
|
"metadata": {
|
||||||
"createdAt": "2025-06-17T07:51:28.259Z",
|
"createdAt": "2025-06-17T07:57:37.737Z",
|
||||||
"updatedAt": "2025-06-17T07:51:28.259Z",
|
"updatedAt": "2025-06-17T07:57:37.737Z",
|
||||||
"scannedAt": "2025-06-17T07:51:28.259Z"
|
"scannedAt": "2025-06-17T07:57:37.737Z"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -394,9 +394,9 @@
|
|||||||
"description": "思维模式,指导AI的思考方式",
|
"description": "思维模式,指导AI的思考方式",
|
||||||
"reference": "@package://prompt/domain/xiaohongshu-marketer/thought/xiaohongshu-marketer.thought.md",
|
"reference": "@package://prompt/domain/xiaohongshu-marketer/thought/xiaohongshu-marketer.thought.md",
|
||||||
"metadata": {
|
"metadata": {
|
||||||
"createdAt": "2025-06-17T07:51:28.259Z",
|
"createdAt": "2025-06-17T07:57:37.737Z",
|
||||||
"updatedAt": "2025-06-17T07:51:28.259Z",
|
"updatedAt": "2025-06-17T07:57:37.737Z",
|
||||||
"scannedAt": "2025-06-17T07:51:28.259Z"
|
"scannedAt": "2025-06-17T07:57:37.737Z"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -407,9 +407,9 @@
|
|||||||
"description": "执行模式,定义具体的行为模式",
|
"description": "执行模式,定义具体的行为模式",
|
||||||
"reference": "@package://prompt/domain/xiaohongshu-marketer/execution/brand-marketing.execution.md",
|
"reference": "@package://prompt/domain/xiaohongshu-marketer/execution/brand-marketing.execution.md",
|
||||||
"metadata": {
|
"metadata": {
|
||||||
"createdAt": "2025-06-17T07:51:28.259Z",
|
"createdAt": "2025-06-17T07:57:37.737Z",
|
||||||
"updatedAt": "2025-06-17T07:51:28.259Z",
|
"updatedAt": "2025-06-17T07:57:37.737Z",
|
||||||
"scannedAt": "2025-06-17T07:51:28.259Z"
|
"scannedAt": "2025-06-17T07:57:37.737Z"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -420,9 +420,9 @@
|
|||||||
"description": "执行模式,定义具体的行为模式",
|
"description": "执行模式,定义具体的行为模式",
|
||||||
"reference": "@package://prompt/domain/xiaohongshu-marketer/execution/community-building.execution.md",
|
"reference": "@package://prompt/domain/xiaohongshu-marketer/execution/community-building.execution.md",
|
||||||
"metadata": {
|
"metadata": {
|
||||||
"createdAt": "2025-06-17T07:51:28.259Z",
|
"createdAt": "2025-06-17T07:57:37.737Z",
|
||||||
"updatedAt": "2025-06-17T07:51:28.259Z",
|
"updatedAt": "2025-06-17T07:57:37.737Z",
|
||||||
"scannedAt": "2025-06-17T07:51:28.259Z"
|
"scannedAt": "2025-06-17T07:57:37.737Z"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -433,9 +433,9 @@
|
|||||||
"description": "执行模式,定义具体的行为模式",
|
"description": "执行模式,定义具体的行为模式",
|
||||||
"reference": "@package://prompt/domain/xiaohongshu-marketer/execution/content-creation.execution.md",
|
"reference": "@package://prompt/domain/xiaohongshu-marketer/execution/content-creation.execution.md",
|
||||||
"metadata": {
|
"metadata": {
|
||||||
"createdAt": "2025-06-17T07:51:28.259Z",
|
"createdAt": "2025-06-17T07:57:37.737Z",
|
||||||
"updatedAt": "2025-06-17T07:51:28.259Z",
|
"updatedAt": "2025-06-17T07:57:37.737Z",
|
||||||
"scannedAt": "2025-06-17T07:51:28.259Z"
|
"scannedAt": "2025-06-17T07:57:37.737Z"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -446,9 +446,9 @@
|
|||||||
"description": "执行模式,定义具体的行为模式",
|
"description": "执行模式,定义具体的行为模式",
|
||||||
"reference": "@package://prompt/domain/xiaohongshu-marketer/execution/content-optimization.execution.md",
|
"reference": "@package://prompt/domain/xiaohongshu-marketer/execution/content-optimization.execution.md",
|
||||||
"metadata": {
|
"metadata": {
|
||||||
"createdAt": "2025-06-17T07:51:28.259Z",
|
"createdAt": "2025-06-17T07:57:37.737Z",
|
||||||
"updatedAt": "2025-06-17T07:51:28.259Z",
|
"updatedAt": "2025-06-17T07:57:37.737Z",
|
||||||
"scannedAt": "2025-06-17T07:51:28.259Z"
|
"scannedAt": "2025-06-17T07:57:37.737Z"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -459,9 +459,9 @@
|
|||||||
"description": "执行模式,定义具体的行为模式",
|
"description": "执行模式,定义具体的行为模式",
|
||||||
"reference": "@package://prompt/domain/xiaohongshu-marketer/execution/data-analytics.execution.md",
|
"reference": "@package://prompt/domain/xiaohongshu-marketer/execution/data-analytics.execution.md",
|
||||||
"metadata": {
|
"metadata": {
|
||||||
"createdAt": "2025-06-17T07:51:28.259Z",
|
"createdAt": "2025-06-17T07:57:37.737Z",
|
||||||
"updatedAt": "2025-06-17T07:51:28.259Z",
|
"updatedAt": "2025-06-17T07:57:37.737Z",
|
||||||
"scannedAt": "2025-06-17T07:51:28.259Z"
|
"scannedAt": "2025-06-17T07:57:37.737Z"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -472,9 +472,9 @@
|
|||||||
"description": "执行模式,定义具体的行为模式",
|
"description": "执行模式,定义具体的行为模式",
|
||||||
"reference": "@package://prompt/domain/xiaohongshu-marketer/execution/ecommerce-conversion.execution.md",
|
"reference": "@package://prompt/domain/xiaohongshu-marketer/execution/ecommerce-conversion.execution.md",
|
||||||
"metadata": {
|
"metadata": {
|
||||||
"createdAt": "2025-06-17T07:51:28.259Z",
|
"createdAt": "2025-06-17T07:57:37.737Z",
|
||||||
"updatedAt": "2025-06-17T07:51:28.259Z",
|
"updatedAt": "2025-06-17T07:57:37.737Z",
|
||||||
"scannedAt": "2025-06-17T07:51:28.259Z"
|
"scannedAt": "2025-06-17T07:57:37.737Z"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -485,9 +485,9 @@
|
|||||||
"description": "执行模式,定义具体的行为模式",
|
"description": "执行模式,定义具体的行为模式",
|
||||||
"reference": "@package://prompt/domain/xiaohongshu-marketer/execution/performance-optimization.execution.md",
|
"reference": "@package://prompt/domain/xiaohongshu-marketer/execution/performance-optimization.execution.md",
|
||||||
"metadata": {
|
"metadata": {
|
||||||
"createdAt": "2025-06-17T07:51:28.259Z",
|
"createdAt": "2025-06-17T07:57:37.737Z",
|
||||||
"updatedAt": "2025-06-17T07:51:28.259Z",
|
"updatedAt": "2025-06-17T07:57:37.737Z",
|
||||||
"scannedAt": "2025-06-17T07:51:28.259Z"
|
"scannedAt": "2025-06-17T07:57:37.737Z"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -498,9 +498,9 @@
|
|||||||
"description": "执行模式,定义具体的行为模式",
|
"description": "执行模式,定义具体的行为模式",
|
||||||
"reference": "@package://prompt/domain/xiaohongshu-marketer/execution/platform-compliance.execution.md",
|
"reference": "@package://prompt/domain/xiaohongshu-marketer/execution/platform-compliance.execution.md",
|
||||||
"metadata": {
|
"metadata": {
|
||||||
"createdAt": "2025-06-17T07:51:28.259Z",
|
"createdAt": "2025-06-17T07:57:37.737Z",
|
||||||
"updatedAt": "2025-06-17T07:51:28.259Z",
|
"updatedAt": "2025-06-17T07:57:37.737Z",
|
||||||
"scannedAt": "2025-06-17T07:51:28.259Z"
|
"scannedAt": "2025-06-17T07:57:37.737Z"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -511,9 +511,9 @@
|
|||||||
"description": "执行模式,定义具体的行为模式",
|
"description": "执行模式,定义具体的行为模式",
|
||||||
"reference": "@package://prompt/domain/xiaohongshu-marketer/execution/team-collaboration.execution.md",
|
"reference": "@package://prompt/domain/xiaohongshu-marketer/execution/team-collaboration.execution.md",
|
||||||
"metadata": {
|
"metadata": {
|
||||||
"createdAt": "2025-06-17T07:51:28.259Z",
|
"createdAt": "2025-06-17T07:57:37.737Z",
|
||||||
"updatedAt": "2025-06-17T07:51:28.259Z",
|
"updatedAt": "2025-06-17T07:57:37.737Z",
|
||||||
"scannedAt": "2025-06-17T07:51:28.259Z"
|
"scannedAt": "2025-06-17T07:57:37.737Z"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -524,9 +524,9 @@
|
|||||||
"description": "执行模式,定义具体的行为模式",
|
"description": "执行模式,定义具体的行为模式",
|
||||||
"reference": "@package://prompt/domain/xiaohongshu-marketer/execution/user-operation.execution.md",
|
"reference": "@package://prompt/domain/xiaohongshu-marketer/execution/user-operation.execution.md",
|
||||||
"metadata": {
|
"metadata": {
|
||||||
"createdAt": "2025-06-17T07:51:28.259Z",
|
"createdAt": "2025-06-17T07:57:37.737Z",
|
||||||
"updatedAt": "2025-06-17T07:51:28.259Z",
|
"updatedAt": "2025-06-17T07:57:37.737Z",
|
||||||
"scannedAt": "2025-06-17T07:51:28.259Z"
|
"scannedAt": "2025-06-17T07:57:37.737Z"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -537,9 +537,9 @@
|
|||||||
"description": "执行模式,定义具体的行为模式",
|
"description": "执行模式,定义具体的行为模式",
|
||||||
"reference": "@package://prompt/domain/xiaohongshu-marketer/execution/xiaohongshu-marketer.execution.md",
|
"reference": "@package://prompt/domain/xiaohongshu-marketer/execution/xiaohongshu-marketer.execution.md",
|
||||||
"metadata": {
|
"metadata": {
|
||||||
"createdAt": "2025-06-17T07:51:28.259Z",
|
"createdAt": "2025-06-17T07:57:37.737Z",
|
||||||
"updatedAt": "2025-06-17T07:51:28.259Z",
|
"updatedAt": "2025-06-17T07:57:37.737Z",
|
||||||
"scannedAt": "2025-06-17T07:51:28.259Z"
|
"scannedAt": "2025-06-17T07:57:37.737Z"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -550,9 +550,9 @@
|
|||||||
"description": "思维模式,指导AI的思考方式",
|
"description": "思维模式,指导AI的思考方式",
|
||||||
"reference": "@package://prompt/core/recall.thought.md",
|
"reference": "@package://prompt/core/recall.thought.md",
|
||||||
"metadata": {
|
"metadata": {
|
||||||
"createdAt": "2025-06-17T07:51:28.260Z",
|
"createdAt": "2025-06-17T07:57:37.737Z",
|
||||||
"updatedAt": "2025-06-17T07:51:28.260Z",
|
"updatedAt": "2025-06-17T07:57:37.737Z",
|
||||||
"scannedAt": "2025-06-17T07:51:28.260Z"
|
"scannedAt": "2025-06-17T07:57:37.737Z"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -563,9 +563,9 @@
|
|||||||
"description": "思维模式,指导AI的思考方式",
|
"description": "思维模式,指导AI的思考方式",
|
||||||
"reference": "@package://prompt/core/remember.thought.md",
|
"reference": "@package://prompt/core/remember.thought.md",
|
||||||
"metadata": {
|
"metadata": {
|
||||||
"createdAt": "2025-06-17T07:51:28.260Z",
|
"createdAt": "2025-06-17T07:57:37.738Z",
|
||||||
"updatedAt": "2025-06-17T07:51:28.260Z",
|
"updatedAt": "2025-06-17T07:57:37.738Z",
|
||||||
"scannedAt": "2025-06-17T07:51:28.260Z"
|
"scannedAt": "2025-06-17T07:57:37.738Z"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
|||||||
Reference in New Issue
Block a user