diff --git a/src/bmm/agents/tea.agent.yaml b/src/bmm/agents/tea.agent.yaml deleted file mode 100644 index 576e67997..000000000 --- a/src/bmm/agents/tea.agent.yaml +++ /dev/null @@ -1,62 +0,0 @@ -# Test Architect + Quality Advisor Agent Definition - -agent: - metadata: - id: "_bmad/bmm/agents/tea.md" - name: Murat - title: Master Test Architect - icon: 🧪 - module: bmm - hasSidecar: false - - persona: - role: Master Test Architect - identity: Test architect specializing in API testing, backend services, UI automation, CI/CD pipelines, and scalable quality gates. Equally proficient in pure API/service-layer testing as in browser-based E2E testing. - communication_style: "Blends data with gut instinct. 'Strong opinions, weakly held' is their mantra. Speaks in risk calculations and impact assessments." - principles: | - - Risk-based testing - depth scales with impact - - Quality gates backed by data - - Tests mirror usage patterns (API, UI, or both) - - Flakiness is critical technical debt - - Tests first AI implements suite validates - - Calculate risk vs value for every testing decision - - Prefer lower test levels (unit > integration > E2E) when possible - - API tests are first-class citizens, not just UI support - - critical_actions: - - "Consult {project-root}/_bmad/bmm/testarch/tea-index.csv to select knowledge fragments under knowledge/ and load only the files needed for the current task" - - "Load the referenced fragment(s) from {project-root}/_bmad/bmm/testarch/knowledge/ before giving recommendations" - - "Cross-check recommendations with the current official Playwright, Cypress, Pact, and CI platform documentation" - - menu: - - trigger: TF or fuzzy match on test-framework - workflow: "{project-root}/_bmad/bmm/workflows/testarch/framework/workflow.md" - description: "[TF] Test Framework: Initialize production-ready test framework architecture" - - - trigger: AT or fuzzy match on atdd - workflow: "{project-root}/_bmad/bmm/workflows/testarch/atdd/workflow.md" - description: "[AT] Automated Test: Generate API and/or E2E tests first, before starting implementation on a story" - - - trigger: TA or fuzzy match on test-automate - workflow: "{project-root}/_bmad/bmm/workflows/testarch/automate/workflow.md" - description: "[TA] Test Automation: Generate comprehensive test automation framework for your whole project" - - - trigger: TD or fuzzy match on test-design - workflow: "{project-root}/_bmad/bmm/workflows/testarch/test-design/workflow.md" - description: "[TD] Test Design: Create comprehensive test scenarios ahead of development." - - - trigger: TR or fuzzy match on test-trace - workflow: "{project-root}/_bmad/bmm/workflows/testarch/trace/workflow.md" - description: "[TR] Trace Requirements: Map requirements to tests (Phase 1) and make quality gate decision (Phase 2)" - - - trigger: NR or fuzzy match on nfr-assess - workflow: "{project-root}/_bmad/bmm/workflows/testarch/nfr-assess/workflow.md" - description: "[NR] Non-Functional Requirements: Validate against the project implementation" - - - trigger: CI or fuzzy match on continuous-integration - workflow: "{project-root}/_bmad/bmm/workflows/testarch/ci/workflow.md" - description: "[CI] Continuous Integration: Recommend and Scaffold CI/CD quality pipeline" - - - trigger: RV or fuzzy match on test-review - workflow: "{project-root}/_bmad/bmm/workflows/testarch/test-review/workflow.md" - description: "[RV] Review Tests: Perform a quality check against written tests using comprehensive knowledge base and best practices" diff --git a/src/core/resources/excalidraw/README.md b/src/core/resources/excalidraw/README.md deleted file mode 100644 index a99f7a505..000000000 --- a/src/core/resources/excalidraw/README.md +++ /dev/null @@ -1,160 +0,0 @@ -# Core Excalidraw Resources - -Universal knowledge for creating Excalidraw diagrams. All agents that create Excalidraw files should reference these resources. - -## Purpose - -Provides the **HOW** (universal knowledge) while agents provide the **WHAT** (domain-specific application). - -**Core = "How to create Excalidraw elements"** - -- How to group shapes with text labels -- How to calculate text width -- How to create arrows with proper bindings -- How to validate JSON syntax -- Base structure and primitives - -**Agents = "What diagrams to create"** - -- Frame Expert (BMM): Technical flowcharts, architecture diagrams, wireframes -- Presentation Master (CIS): Pitch decks, creative visuals, Rube Goldberg machines -- Tech Writer (BMM): Documentation diagrams, concept explanations - -## Files in This Directory - -### excalidraw-helpers.md - -**Universal element creation patterns** - -- Text width calculation -- Element grouping rules (shapes + labels) -- Grid alignment -- Arrow creation (straight, elbow) -- Theme application -- Validation checklist -- Optimization rules - -**Agents reference this to:** - -- Create properly grouped shapes -- Calculate text dimensions -- Connect elements with arrows -- Ensure valid structure - -### validate-json-instructions.md - -**Universal JSON validation process** - -- How to validate Excalidraw JSON -- Common errors and fixes -- Workflow integration -- Error recovery - -**Agents reference this to:** - -- Validate files after creation -- Fix syntax errors -- Ensure files can be opened in Excalidraw - -### library-loader.md (Future) - -**How to load external .excalidrawlib files** - -- Programmatic library loading -- Community library integration -- Custom library management - -**Status:** To be developed when implementing external library support. - -## How Agents Use These Resources - -### Example: Frame Expert (Technical Diagrams) - -```yaml -# workflows/excalidraw-diagrams/create-flowchart/workflow.md -helpers: '{project-root}/_bmad/core/resources/excalidraw/excalidraw-helpers.md' -json_validation: '{project-root}/_bmad/core/resources/excalidraw/validate-json-instructions.md' -``` - -**Domain-specific additions:** - -```yaml -# workflows/excalidraw-diagrams/_shared/flowchart-templates.yaml -flowchart: - start_node: - type: ellipse - width: 120 - height: 60 - process_box: - type: rectangle - width: 160 - height: 80 - decision_diamond: - type: diamond - width: 140 - height: 100 -``` - -### Example: Presentation Master (Creative Visuals) - -```yaml -# workflows/create-visual-metaphor/workflow.md -helpers: '{project-root}/_bmad/core/resources/excalidraw/excalidraw-helpers.md' -json_validation: '{project-root}/_bmad/core/resources/excalidraw/validate-json-instructions.md' -``` - -**Domain-specific additions:** - -```yaml -# workflows/_shared/creative-templates.yaml -rube_goldberg: - whimsical_connector: - type: arrow - strokeStyle: dashed - roughness: 2 - playful_box: - type: rectangle - roundness: 12 -``` - -## What Doesn't Belong in Core - -**Domain-Specific Elements:** - -- Flowchart-specific templates (belongs in Frame Expert) -- Pitch deck layouts (belongs in Presentation Master) -- Documentation-specific styles (belongs in Tech Writer) - -**Agent Workflows:** - -- How to create a flowchart (Frame Expert workflow) -- How to create a pitch deck (Presentation Master workflow) -- Step-by-step diagram creation (agent-specific) - -**Theming:** - -- Currently in agent workflows -- **Future:** Will be refactored to core as user-configurable themes - -## Architecture Principle - -**Single Source of Truth:** - -- Core holds universal knowledge -- Agents reference core, don't duplicate -- Updates to core benefit all agents -- Agents specialize with domain knowledge - -**DRY (Don't Repeat Yourself):** - -- Element creation logic: ONCE in core -- Text width calculation: ONCE in core -- Validation process: ONCE in core -- Arrow binding patterns: ONCE in core - -## Future Enhancements - -1. **External Library Loader** - Load .excalidrawlib files from libraries.excalidraw.com -2. **Theme Management** - User-configurable color themes saved in core -3. **Component Library** - Shared reusable components across agents -4. **Layout Algorithms** - Auto-layout helpers for positioning elements diff --git a/src/core/resources/excalidraw/library-loader.md b/src/core/resources/excalidraw/library-loader.md deleted file mode 100644 index f2fd038de..000000000 --- a/src/core/resources/excalidraw/library-loader.md +++ /dev/null @@ -1,50 +0,0 @@ -# External Library Loader - -**Status:** Placeholder for future implementation - -## Purpose - -Load external .excalidrawlib files from or custom sources. - -## Planned Capabilities - -- Load libraries by URL -- Load libraries from local files -- Merge multiple libraries -- Filter library components -- Cache loaded libraries - -## API Reference - -Will document how to use: - -- `importLibrary(url)` - Load library from URL -- `loadSceneOrLibraryFromBlob()` - Load from file -- `mergeLibraryItems()` - Combine libraries - -## Usage Example - -```yaml -# Future workflow.md structure -libraries: - - url: 'https://libraries.excalidraw.com/libraries/...' - filter: ['aws', 'cloud'] - - path: '{project-root}/_data/custom-library.excalidrawlib' -``` - -## Implementation Notes - -This will be developed when agents need to leverage the extensive library ecosystem available at . - -Hundreds of pre-built component libraries exist for: - -- AWS/Cloud icons -- UI/UX components -- Business diagrams -- Mind map shapes -- Floor plans -- And much more... - -## User Configuration - -Future: Users will be able to configure favorite libraries in their BMAD config for automatic loading.