Compare commits
5 Commits
a896e85fb1
...
557c77d42a
| Author | SHA1 | Date |
|---|---|---|
|
|
557c77d42a | |
|
|
b815410904 | |
|
|
c8ca083316 | |
|
|
5b79330f72 | |
|
|
e835a78ba7 |
|
|
@ -16,7 +16,7 @@ agent:
|
||||||
communication_style: "Patient educator who explains like teaching a friend. Uses analogies that make complex simple, celebrates clarity when it shines."
|
communication_style: "Patient educator who explains like teaching a friend. Uses analogies that make complex simple, celebrates clarity when it shines."
|
||||||
principles: |
|
principles: |
|
||||||
- Every Technical Document I touch helps someone accomplish a task. Thus I strive for Clarity above all, and every word and phrase serves a purpose without being overly wordy.
|
- Every Technical Document I touch helps someone accomplish a task. Thus I strive for Clarity above all, and every word and phrase serves a purpose without being overly wordy.
|
||||||
- I believe a picture/diagram is worth 1000s works and will include diagrams over drawn out text.
|
- I believe a picture/diagram is worth 1000s of words and will include diagrams over drawn out text.
|
||||||
- I understand the intended audience or will clarify with the user so I know when to simplify vs when to be detailed.
|
- I understand the intended audience or will clarify with the user so I know when to simplify vs when to be detailed.
|
||||||
- I will always strive to follow `_bmad/_memory/tech-writer-sidecar/documentation-standards.md` best practices.
|
- I will always strive to follow `_bmad/_memory/tech-writer-sidecar/documentation-standards.md` best practices.
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -24,4 +24,4 @@ agent:
|
||||||
menu:
|
menu:
|
||||||
- trigger: CU or fuzzy match on ux-design
|
- trigger: CU or fuzzy match on ux-design
|
||||||
exec: "{project-root}/_bmad/bmm/workflows/2-plan-workflows/create-ux-design/workflow.md"
|
exec: "{project-root}/_bmad/bmm/workflows/2-plan-workflows/create-ux-design/workflow.md"
|
||||||
description: "[CU] Create UX: Guidance through realizing the plan for your UX to inform architecture and implementation. PRovides more details that what was discovered in the PRD"
|
description: "[CU] Create UX: Guidance through realizing the plan for your UX to inform architecture and implementation. Provides more details than what was discovered in the PRD"
|
||||||
|
|
|
||||||
|
|
@ -15,7 +15,7 @@ agent:
|
||||||
identity: "Master-level expert in the BMAD Core Platform and all loaded modules with comprehensive knowledge of all resources, tasks, and workflows. Experienced in direct task execution and runtime resource management, serving as the primary execution engine for BMAD operations."
|
identity: "Master-level expert in the BMAD Core Platform and all loaded modules with comprehensive knowledge of all resources, tasks, and workflows. Experienced in direct task execution and runtime resource management, serving as the primary execution engine for BMAD operations."
|
||||||
communication_style: "Direct and comprehensive, refers to himself in the 3rd person. Expert-level communication focused on efficient task execution, presenting information systematically using numbered lists with immediate command response capability."
|
communication_style: "Direct and comprehensive, refers to himself in the 3rd person. Expert-level communication focused on efficient task execution, presenting information systematically using numbered lists with immediate command response capability."
|
||||||
principles: |
|
principles: |
|
||||||
- "Load resources at runtime never pre-load, and always present numbered lists for choices."
|
- Load resources at runtime, never pre-load, and always present numbered lists for choices.
|
||||||
|
|
||||||
critical_actions:
|
critical_actions:
|
||||||
- "Always greet the user and let them know they can use `/bmad-help` at any time to get advice on what to do next, and they can combine that with what they need help with <example>`/bmad-help where should I start with an idea I have that does XYZ`</example>"
|
- "Always greet the user and let them know they can use `/bmad-help` at any time to get advice on what to do next, and they can combine that with what they need help with <example>`/bmad-help where should I start with an idea I have that does XYZ`</example>"
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,26 @@
|
||||||
|
# Test: Principles as block scalar string instead of array
|
||||||
|
# Expected: FAIL
|
||||||
|
# Error path: agent.persona.principles
|
||||||
|
# Error expected: array
|
||||||
|
# Error received: string
|
||||||
|
|
||||||
|
agent:
|
||||||
|
metadata:
|
||||||
|
id: string-principles
|
||||||
|
name: String Principles
|
||||||
|
title: String Principles
|
||||||
|
icon: ❌
|
||||||
|
hasSidecar: false
|
||||||
|
|
||||||
|
persona:
|
||||||
|
role: Test agent
|
||||||
|
identity: Test identity
|
||||||
|
communication_style: Test style
|
||||||
|
principles: |
|
||||||
|
- This is a string, not an array
|
||||||
|
- Each line is part of one string
|
||||||
|
|
||||||
|
menu:
|
||||||
|
- trigger: help
|
||||||
|
description: Show help
|
||||||
|
action: display_help
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
---
|
---
|
||||||
mode: primary
|
name: '{{name}}'
|
||||||
description: '{{description}}'
|
description: '{{description}}'
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,10 +1,12 @@
|
||||||
---
|
---
|
||||||
|
name: '{{name}}'
|
||||||
description: '{{description}}'
|
description: '{{description}}'
|
||||||
---
|
---
|
||||||
|
|
||||||
Execute the BMAD '{{name}}' task.
|
Execute the BMAD '{{name}}' task.
|
||||||
|
|
||||||
TASK INSTRUCTIONS:
|
TASK INSTRUCTIONS:
|
||||||
|
|
||||||
1. LOAD the task file from {project-root}/{{bmadFolderName}}/{{path}}
|
1. LOAD the task file from {project-root}/{{bmadFolderName}}/{{path}}
|
||||||
2. READ its entire contents
|
2. READ its entire contents
|
||||||
3. FOLLOW every instruction precisely as specified
|
3. FOLLOW every instruction precisely as specified
|
||||||
|
|
|
||||||
|
|
@ -1,10 +1,12 @@
|
||||||
---
|
---
|
||||||
|
name: '{{name}}'
|
||||||
description: '{{description}}'
|
description: '{{description}}'
|
||||||
---
|
---
|
||||||
|
|
||||||
Execute the BMAD '{{name}}' tool.
|
Execute the BMAD '{{name}}' tool.
|
||||||
|
|
||||||
TOOL INSTRUCTIONS:
|
TOOL INSTRUCTIONS:
|
||||||
|
|
||||||
1. LOAD the tool file from {project-root}/{{bmadFolderName}}/{{path}}
|
1. LOAD the tool file from {project-root}/{{bmadFolderName}}/{{path}}
|
||||||
2. READ its entire contents
|
2. READ its entire contents
|
||||||
3. FOLLOW every instruction precisely as specified
|
3. FOLLOW every instruction precisely as specified
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,5 @@
|
||||||
---
|
---
|
||||||
|
name: '{{name}}'
|
||||||
description: '{{description}}'
|
description: '{{description}}'
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|
@ -7,6 +8,7 @@ Execute the BMAD '{{name}}' workflow.
|
||||||
CRITICAL: You must load and follow the workflow definition exactly.
|
CRITICAL: You must load and follow the workflow definition exactly.
|
||||||
|
|
||||||
WORKFLOW INSTRUCTIONS:
|
WORKFLOW INSTRUCTIONS:
|
||||||
|
|
||||||
1. LOAD the workflow file from {project-root}/{{bmadFolderName}}/{{path}}
|
1. LOAD the workflow file from {project-root}/{{bmadFolderName}}/{{path}}
|
||||||
2. READ its entire contents
|
2. READ its entire contents
|
||||||
3. FOLLOW every step precisely as specified
|
3. FOLLOW every step precisely as specified
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,5 @@
|
||||||
---
|
---
|
||||||
|
name: '{{name}}'
|
||||||
description: '{{description}}'
|
description: '{{description}}'
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|
@ -7,6 +8,7 @@ Execute the BMAD '{{name}}' workflow.
|
||||||
CRITICAL: You must load and follow the workflow definition exactly.
|
CRITICAL: You must load and follow the workflow definition exactly.
|
||||||
|
|
||||||
WORKFLOW INSTRUCTIONS:
|
WORKFLOW INSTRUCTIONS:
|
||||||
|
|
||||||
1. LOAD the workflow file from {project-root}/{{bmadFolderName}}/{{path}}
|
1. LOAD the workflow file from {project-root}/{{bmadFolderName}}/{{path}}
|
||||||
2. READ its entire contents
|
2. READ its entire contents
|
||||||
3. FOLLOW every step precisely as specified
|
3. FOLLOW every step precisely as specified
|
||||||
|
|
|
||||||
|
|
@ -241,12 +241,9 @@ function buildPersonaSchema() {
|
||||||
role: createNonEmptyString('agent.persona.role'),
|
role: createNonEmptyString('agent.persona.role'),
|
||||||
identity: createNonEmptyString('agent.persona.identity'),
|
identity: createNonEmptyString('agent.persona.identity'),
|
||||||
communication_style: createNonEmptyString('agent.persona.communication_style'),
|
communication_style: createNonEmptyString('agent.persona.communication_style'),
|
||||||
principles: z.union([
|
principles: z
|
||||||
createNonEmptyString('agent.persona.principles'),
|
|
||||||
z
|
|
||||||
.array(createNonEmptyString('agent.persona.principles[]'))
|
.array(createNonEmptyString('agent.persona.principles[]'))
|
||||||
.min(1, { message: 'agent.persona.principles must include at least one entry' }),
|
.min(1, { message: 'agent.persona.principles must include at least one entry' }),
|
||||||
]),
|
|
||||||
})
|
})
|
||||||
.strict();
|
.strict();
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue