edit-library-transformers
CommunityBuild and refine library-based Miroir transformers
Authormiroir-framework
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This skill helps engineers create and update Library-Implemented Miroir Transformers by providing a structured, repeatable workflow that ties together TypeScript handler code, transformer registrations, and build-time/type-generation steps. It reduces manual wiring and ensures consistency across in-memory and database-backed execution paths.
Core Features & Use Cases
- Guided TDD workflow for library-based transformers, including pre-flight tests, test-first development, and verification.
- End-to-end integration covering runtime and build-time registrations, schema updates, and type generation to keep transformers in sync.
- Targeted for transformers with transformerImplementationType: "libraryImplementation" and for editing handler code in TransformerrsForRuntime.ts.
- Real-world use cases include creating new transformers (e.g., formatDate) or updating existing TypeScript handlers and their registrations.
Quick Start
- Run the pre-flight unit and integration tests to establish baseline.
- Create a new TransformerDefinition JSON using the provided template and set transformerImplementationType to "libraryImplementation".
- Implement the TypeScript handler in TransformersForRuntime.ts and register it in the appropriate runtime and build-time collections.
- Export and register the transformer in Transformers.ts and ensure schema/type generation entries are updated.
- Execute devBuild and the full test suite to validate end-to-end functionality.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: edit-library-transformers Download link: https://github.com/miroir-framework/miroir/archive/main.zip#edit-library-transformers Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.