implement-test

Write unit and integration tests for Reactive Agents packages using Bun and Effect-TS.

21|4|Updated Feb 19, 2026
One-click install
npx skills add https://github.com/tylerjrbuell/reactive-agents-ts --skill implement-test-tylerjrbuell
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: implement-test
Source: https://github.com/tylerjrbuell/reactive-agents-ts/tree/main/.agents/skills/implement-test
Command: npx skills add https://github.com/tylerjrbuell/reactive-agents-ts --skill implement-test-tylerjrbuell

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Writing reliable tests for Reactive Agents packages and services can be time-consuming without a structured approach. This skill provides a framework and guidelines to consistently test modules using Bun as the runner and Effect-TS patterns for deterministic behavior.

Core Features & Use Cases

  • Template-driven test structures for unit and integration tests with clear separation of concerns.
  • Guardrails and patterns for common scenarios, including layer composition, event bus interactions, and mock dependencies.
  • Real-world use cases and examples that map to typical Reactive Agents modules across packages.

Quick Start

Run bun test for a specific package to execute its unit tests.

Frequently Asked Questions about implement-test

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

FAQPage Schema
How do I write robust tests for Reactive Agents using Bun and Effect-TS?

To write robust tests for Reactive Agents using Bun and Effect-TS, you need a structured approach covering test layers, mocks, and teardown to ensure deterministic behavior and clear separation of concerns across unit and integration tests.

What is the best way to structure unit and integration tests for Reactive Agents packages?

The best way to structure unit and integration tests for Reactive Agents packages is using a template-driven structure that separates concerns, manages layer composition, handles event bus interactions, and defines mock dependencies for reliable module testing.

Do I need a defined test layer with mocks to test Effect-TS modules?

Yes, you need a defined test layer with mocks to test Effect-TS modules effectively. Providing clear guardrails for layer composition and mock dependencies ensures deterministic behavior and prevents flaky CI pipelines during test execution.

How do I avoid hangs and flaky CI when testing Reactive Agents with Bun?

To avoid hangs and flaky CI when testing Reactive Agents with Bun, follow clear guidelines for test teardown and structured layer composition. This framework ensures deterministic behavior and prevents lingering asynchronous operations during test execution.

Can I use this testing approach for both unit and integration tests across modules?

Yes, you can use this testing approach for both unit and integration tests across modules. The framework delineates scope specifically to these test types, providing real-world use cases and patterns that map to typical Reactive Agents modules.