Миграция тестов с as-кастов на shoehorn
testing
migrate-to-shoehorn is a Claude Code skill that automatically migrates TypeScript test files from `as` type-assertions to the `@total-typescript/shoehorn` library. It targets situations where unsafe type casts in tests need to be replaced with a type-safe approach to partial test data, without sacrificing the convenience of working with mocks and stubs. TypeScript teams building strict typing into their test infrastructure will find it particularly useful for eliminating the hidden risks that `as`-casts introduce in test fixtures.
- #typescript
- #testing
- #migration
- #refactor