SuperAPI AI 工具集

remotion-docs

通用与其它

查看项目

更新于 10-16 01:11

技能介绍

用途:该技能用于发现并阅读最新的 Remotion 文档,帮助在编写 Remotion 代码时获取当前准确的 API 信息。若该技能不适用,可改用 Remotion Best Practices。

主要能力:一是通过 Algolia 搜索 API 检索相关文档页面,请求地址为 POST https://plsduol1ca-dsn.algolia.net/1/indexes/*/queries?x-algolia-api-key=3e42dbd4f895fe93ff5cf40d860c4a85&x-algolia-application-id=PLSDUOL1CA,Content-Type 为 application/x-www-form-urlencoded,请求体指定 indexName 为 remotion,检索字段包括 hierarchy.lvl0、hierarchy.lvl1、hierarchy.lvl2 和 url,每页 10 条;每条结果含 url 字段指向文档页。二是抓取页面 Markdown:在任意 Remotion 文档 URL 后追加 .md 即可获取 Markdown 源码,例如 https://www.remotion.dev/docs/use-video-config.md、https://www.remotion.dev/docs/sequence.md、https://www.remotion.dev/docs/lambda/rendermediaonlambda.md,可节省 token。

使用方式:工作流为先用 Algolia 搜索所需概念或 API,再从结果中挑选最相关的 URL,然后为每个 URL 加上 .md 后缀抓取,最后依据当前文档实现,而非依赖记忆中的 API 知识。

适用场景:需要查询 Remotion 组件、API 或用法时。限制:资料未提供更多细节,如搜索配额、错误处理或离线使用方式暂未提供。