create-objects-all-at-once
Installation
SKILL.md
Create Objects All at Once
Overview
Build objects in a single statement, not piece by piece.
TypeScript infers an object's type when it's created. Adding properties later causes type errors. Build complete objects in one go using object literals and spread syntax.
When to Use This Skill
- Creating objects step by step
- Adding properties after object creation
- Getting "property does not exist" errors
- Merging multiple objects