edit-composite-transformers

Compose and validate Composite Miroir Transformers using JSON definitions.

2|1|Updated Mar 24, 2024
One-click install
npx skills add https://github.com/miroir-framework/miroir --skill edit-composite-transformers
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: edit-composite-transformers
Source: https://github.com/miroir-framework/miroir/tree/main/.github/skills/edit-composite-transformers
Command: npx skills add https://github.com/miroir-framework/miroir --skill edit-composite-transformers

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill enables teams to create and evolve Composite Miroir Transformers using pure JSON, without writing TypeScript code.

Core Features & Use Cases

  • Declarative composition: assemble transformers from existing building blocks without imperative code.
  • TDD-guided workflow: follow a five-step process to define tests, implement, and validate.
  • Reusable domain logic: ship domain-specific transformations that can be composed into larger pipelines.

Quick Start

Use this skill to define a new composite transformer in JSON and run its tests with the included templates and tests.

Frequently Asked Questions about edit-composite-transformers

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

FAQPage Schema
How do I build composite transformers using JSON instead of TypeScript?

You can build composite transformers using JSON by defining a JSON-based transformerDefinition, which allows declarative composition of existing building blocks without imperative TypeScript code.

What is the workflow for creating and validating a JSON-based transformerDefinition?

The workflow for creating a transformerDefinition is a structured five-step TDD-guided process to define tests, implement the transformer in JSON, and validate it using included templates.

Can I use test-driven development for miroir-core transformations without writing code?

Yes, you can apply test-driven development to miroir-core transformations by writing JSON-based tests first, then assembling the composite transformers to pass those tests without TypeScript.

Does this approach to composite transformers require any TypeScript dependencies?

No TypeScript dependencies are required. The approach enforces a pure JSON-based transformerDefinition to compose existing transformers, entirely eliminating the need for TypeScript code.

When should I use JSON-defined composite transformers instead of writing custom TypeScript code?

Use JSON-defined composite transformers when assembling reusable domain logic from existing building blocks into larger pipelines, favoring declarative composition over imperative TypeScript code.