Install any skill in seconds. Free to start, no credit card required.
Get Started Free →remotion-dev/deprecate-api
Reference for how deprecation of public Remotion APIs is represented in TypeScript source and documentation.
Passed 22 of 23 test cases with the skill, and 9 of 23 without it.
and 15 more in the full report
13 fixed9 passed either way1 still failing0 broke
Tokens, turns and time describe resource use, not a dollar price.
One of 13 test cases the skill fixed. Same model, same prompt, with and without the skill.
Write the exact MDX admonition block for deprecating an API where the replacement is the `useCurrentFrame` hook documented at `/docs/use-current-frame`.
| Checked | Without skill | With skill |
|---|---|---|
| Uses `:::info Deprecated` as the admonition wrapper. | Missed | Passed |
| Includes a markdown link to `[`useCurrentFrame()`](/docs/use-current-frame)` inside the admonition body. | Missed | Passed |
The instructions your model reads when the skill loads.
Deprecation of a public API that remains available is represented in three places:
@deprecated annotation on the public TypeScript API.info admonition named Deprecated directly after that heading.These conventions apply to functions, components, hooks, types, props, options, and other public APIs.
The public symbol carries a JSDoc @deprecated annotation. The annotation states the replacement when one exists and may link to its documentation.
/**
* @deprecated Use `newApi()` instead: https://www.remotion.dev/docs/new-api
*/
export const oldApi = () => {};
The annotation belongs where consumers receive it. For a re-export or compatibility alias, this is the exported symbol rather than the non-deprecated implementation.
The deprecated API name in its heading uses double-tilde strikethrough. <AvailableFrom> remains outside the strikethrough.
# ~~oldApi()~~<AvailableFrom v="4.0.0" />
For a prop or option:
### ~~`oldOption?`~~
The frontmatter title remains unchanged. A page that otherwise relies only on its frontmatter title has an explicit struck-through heading.
An info admonition named Deprecated appears directly after the heading and points to the replacement when one exists.
test cases passed, vs 9 / 23 without
More skills from the same source and nearby in the registry, with their headline benchmark lift.