Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Standardized guidelines and patterns for Frontend Typescript Types Advanced.
.claude/skills/valec3-frontend-typescript-types-advanced/SKILL.md| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-04 | ✗→✓ | ▲ Improved | -26% | 0% |
| case-01 | ✓→✗ | ▼ Worse | -3% | 0% |
| case-02 | ✓→✓ | = Same ✓ | 49% | 0% |
| case-03 | ✓→✓ | = Same ✓ | 16% | 0% |
| case-05 | ✓→✓ | = Same ✓ | 42% | 0% |
typescripttype IsString<T> = T extends string ? true : false; type A = IsString<string>; // true type B = IsString<number>; // false
typescripttype Readonly<T> = { readonly [P in keyof T]: T[P]; }; type Optional<T> = { [P in keyof T]?: T[P]; };
typescripttype EventName = 'click' | 'focus' | 'blur'; type Handler = `on${Capitalize<EventName>}`; // 'onClick' | 'onFocus' | 'onBlur'
typescript// Pick type UserPreview = Pick<User, 'id' | 'name'>; // Omit type UserWithoutPassword = Omit<User, 'password'>; // Partial type PartialUser = Partial<User>; // Required type RequiredUser = Required<PartialUser>; // Record type Roles = Record<string, Permission[]>;
typescripttype UserId = string & { __brand: 'UserId' }; type ProductId = string & { __brand: 'ProductId' }; function getUser(id: UserId) { } function getProduct(id: ProductId) { } const userId = 'user-123' as UserId; getUser(userId); // OK // getProduct(userId); // Error
| Case | Status | Duration (ms) | Turns | Tokens | Tool calls | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Without | With | Δ | Without | With | Δ | Without | With | Δ | Without | With | Δ | ||
case-01 | pass→fail | 9,039 | 6,459 | -29% | 1 | 1 | 0% | 1,769 | 1,708 | -3% | 0 | 0 | — |
case-02 | pass→pass | 3,846 | 3,241 | -16% | 1 | 1 | 0% | 724 | 1,081 | +49% | 0 | 0 | — |
case-03 | pass→pass | 4,543 | 2,881 | -37% | 1 | 1 | 0% | 901 | 1,046 | +16% | 0 | 0 | — |
case-04 | fail→pass | 8,957 | 4,281 | -52% | 1 | 1 | 0% | 1,690 | 1,250 | -26% | 0 | 0 | — |
case-05 | pass→pass | 4,215 | 3,888 | -8% | 1 | 1 | 0% | 827 | 1,178 | +42% | 0 | 0 | — |
case-06 | pass→pass | 4,824 | 2,896 | -40% | 1 | 1 | 0% | 681 | 914 | +34% | 0 | 0 | — |
case-07 | pass→pass | 2,806 | 2,788 | -1% | 1 | 1 | 0% | 580 | 962 | +66% | 0 | 0 | — |
case-08 | pass→pass | 3,718 | 3,258 | -12% | 1 | 1 | 0% | 696 | 1,129 | +62% | 0 | 0 | — |
case-09 | pass→pass | 5,024 | 4,182 | -17% | 1 | 1 | 0% | 932 | 1,268 | +36% | 0 | 0 | — |
case-10 | pass→pass | 3,174 | 3,455 | +9% | 1 | 1 | 0% | 620 | 1,076 | +74% | 0 | 0 | — |
case-11 | pass→pass | 11,040 | 4,886 | -56% | 1 | 1 | 0% | 1,731 | 1,403 | -19% | 0 | 0 | — |
case-12 | pass→pass | 5,050 | 3,546 | -30% | 1 | 1 | 0% | 963 | 994 | +3% | 0 | 0 | — |
case-13 | pass→pass | 5,616 | 5,038 | -10% | 1 | 1 | 0% | 1,142 | 1,381 | +21% | 0 | 0 | — |
case-14 | pass→pass | 6,472 | 4,161 | -36% | 1 | 1 | 0% | 1,263 | 1,249 | -1% | 0 | 0 | — |
case-15 | pass→pass | 15,356 | 9,705 | -37% | 1 | 1 | 0% | 2,591 | 2,225 | -14% | 0 | 0 | — |
case-16 | pass→pass | 11,794 | 10,260 | -13% | 1 | 1 | 0% | 2,184 | 2,302 | +5% | 0 | 0 | — |
case-17 | pass→pass | 3,815 | 2,888 | -24% | 1 | 1 | 0% | 821 | 1,025 | +25% | 0 | 0 | — |
case-18 | pass→pass | 2,429 | 2,357 | -3% | 1 | 1 | 0% | 460 | 864 | +88% | 0 | 0 | — |
case-19 | pass→pass | 7,488 | 4,296 | -43% | 1 | 1 | 0% | 1,469 | 1,182 | -20% | 0 | 0 | — |
case-20 | pass→pass | 7,420 | 7,153 | -4% | 1 | 1 | 0% | 1,452 | 1,804 | +24% | 0 | 0 | — |
case-21 | pass→pass | 7,461 | 4,439 | -41% | 1 | 1 | 0% | 1,743 | 1,373 | -21% | 0 | 0 | — |
case-22 | pass→pass | 11,161 | 7,719 | -31% | 1 | 1 | 0% | 2,199 | 2,074 | -6% | 0 | 0 | — |
DecimalAI ran this skill against gemini-3.6-flash twice over the same eval suite — once with the skill loaded and once without — and compared the two runs case by case. 22 cases were attempted. The headline lift of 0 percentage points is the difference between those two pass rates over the 22 comparable cases. 1 case got worse with the skill loaded, and it is included in that figure.
Without the skill loaded, the model failed this case. With it loaded, the same prompt on the same model passed. This is one improved case from the latest verified run; every case, including any that regressed, is in the table above.
Other measured skills in the registry, with their headline benchmark lift.