Install any skill in seconds. Free to start, no credit card required.
Get Started Free →ai-shifu/hook-contract-refactor-safety
当重构 hook 返回字段或参数契约时使用本技能。统一同步调用方解构与参数对象,避免大面积 TS 属性错误。
Passed 19 of 22 test cases with the skill, and 14 of 22 without it.
and 4 more in the full report
6 fixed13 passed either way2 still failing1 broke
Tokens, turns and time describe resource use, not a dollar price.
One of 6 test cases the skill fixed. Same model, same prompt, with and without the skill.
In `useOrderFilter`, we removed the deprecated `legacySort` parameter from the hook definition. In several calling components, callers pass `{ legacySort: 'asc', category: 'shoes' }` as an object literal option. Should we keep `legacySort` in caller options objects for backward compatibility?
| Checked | Without skill | With skill |
|---|---|---|
| Mandates removing obsolete fields from caller object literals. | Passed | Passed |
| Requires updating exported type definitions first before modifying caller sites. | Missed | Passed |
The instructions your model reads when the skill loads.
tsc 或相关测试,确保契约收敛。test cases passed, vs 14 / 22 without
More skills from the same source and nearby in the registry, with their headline benchmark lift.