testing-assistant-conversations

Test assistant-toolkit conversations, agents, and blueprints in DXOS CI workflows.

512|47|Updated Apr 7, 2021
One-click install
npx skills add https://github.com/dxos/dxos --skill testing-assistant-conversations
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: testing-assistant-conversations
Source: https://github.com/dxos/dxos/tree/main/.cursor/skills/testing-assistant-conversations
Command: npx skills add https://github.com/dxos/dxos --skill testing-assistant-conversations

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Test assistant conversation flows and blueprint operations fail in CI without a robust testing layer; this skill provides structured patterns and fixtures to validate assistant-toolkit tests with memoized LLMs.

Core Features & Use Cases

  • AssistantTestLayer composition including AI service, tool execution, blueprint registry, and memoized test DB for deterministic tests.
  • Supports scheduled triggers with AssistantTestLayerWithTriggers and seeded blueprints for integration testing.
  • Guidance for registering blueprints, operation handlers, and type schemas to ensure consistent test fixtures.

Quick Start

Use the AssistantTestLayer in your tests to validate memoized LLM conversations and AI workflows.

Frequently Asked Questions about testing-assistant-conversations

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I test assistant conversations and AI workflows in CI?

To test assistant conversations in CI, use a structured testing layer like AssistantTestLayer to validate memoized LLM conversations and AI workflows deterministically. It composes an AI service, tool execution, and a memoized test DB for consistent unit and integration tests.

What is a memoized LLM service and when do I need it for testing?

A memoized LLM service caches AI responses to ensure deterministic test execution. You need it when validating assistant-toolkit conversations and blueprint operations in CI to prevent flaky tests caused by variable AI outputs.

How do I set up integration tests for scheduled triggers and blueprints?

Set up integration tests for scheduled triggers by using AssistantTestLayerWithTriggers alongside seeded blueprints. This allows you to validate time-based operation handlers and blueprint registry interactions within your CI workflows.

Can I use Effect and vitest to validate DXOS assistant blueprints?

Yes, you can use Effect and vitest to validate DXOS assistant blueprints. The Skill provides patterns to register blueprints, operation handlers, and type schemas as consistent test fixtures within the Effect/vitest testing environment.

What are the limitations of testing AI flows with memoized conversations?

Testing AI flows with memoized conversations is limited to the recorded responses and seeded blueprint fixtures. It validates the orchestration and tool execution logic rather than the dynamic generation quality of the underlying AI model.