manage-fake
CommunityAuto-generate test fakes for TypeScript interfaces.
Authortalbenmoshe
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill automates the creation and maintenance of Fake test doubles for TypeScript interfaces, reducing boilerplate and keeping tests aligned with the latest interface definitions.
Core Features & Use Cases
- Generate Initializer, Fake class, and Builder for any interface, including those that extend IEntity.
- Update existing Fake artifacts when interfaces change, adding or removing fields and methods as needed.
- Standardized Pattern ensures initializer fields are mandatory, methods return values via a dedicated ReturnValue slot, and builders provide sensible defaults.
Quick Start
Provide the interface name to generate its Fake files: Initializer, Fake class, and Builder, placed under the fakes folder. If a Fake already exists, run updates to reflect changes in the interface. Use the builder to customize default values before instantiation.
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: manage-fake Download link: https://github.com/talbenmoshe/zdr-tools/archive/main.zip#manage-fake 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.