valinor-php
Installation
SKILL.md
Valinor PHP
Use this skill to write production-quality code against Valinor's public API. Favor the smallest correct Valinor configuration and keep the code on the public surface.
Core stance
- Default to strict mapping. Relax rules only when the input contract actually requires it.
- Prefer precise PHP and PHPDoc types over
mixedorobject. - Prefer public entrypoints such as
MapperBuilder,NormalizerBuilder,Mapper\Source\Source,Normalizer\Format,HttpRequest,AsConverter,AsTransformer, andObject\Constructor. - Treat builders as immutable configuration objects. Chain or reassign them; do not assume in-place mutation.
- Prefer reusable configurators for shared application policy.
- Avoid internal classes under areas like
Library,Compiler,Definition, or concrete mapper internals.