Turborepo

作者 vercel828e0ffd57b5无许可证收录于 2026年10月8日更新于 2026年10月8日

Configure and troubleshoot Turborepo repositories. Use when working with turbo.json, task pipelines, caching, Remote Cache, the turbo CLI, filtering, environment variables, package boundaries, monorepo structure, or CI workflows.

AI 生成的概览

引导代理在修改 turbo.json、任务流水线、缓存或 CI 工作流之前,先阅读 Turborepo 随包附带的文档。

功能
该技能指示代理定位已安装 turbo 包内附带的文档,并在做出更改前阅读其任务索引。它说明了当 node_modules 不是扁平结构或使用工作区链接时,如何解析包的位置。如果尚未安装 turbo,它还建议先检查包管理器和现有版本约束。
适用场景
适用于处理 Turborepo 仓库的场景,包括 turbo.json、任务流水线、缓存、远程缓存、turbo CLI、过滤、环境变量、包边界、monorepo 结构或 CI 工作流。它用于在配置或 CI 更改之前提供与已安装版本一致的指导。
运行要求
需要安装 turbo 包以便阅读其附带文档;如果未安装,则需在安装前检查仓库的包管理器和版本约束。该技能不附带任何脚本。

Turborepo

The complete Turborepo documentation ships inside the installed turbo package. Do not rely on this skill for framework guidance. Always read the bundled docs, which match the installed version exactly.

Start with:

text
node_modules/turbo/docs/README.md

Use that task index to choose the smallest relevant documentation page. Read it before changing Turborepo configuration, package scripts, or CI workflows.

If the package manager uses a non-flat node_modules layout or a workspace link, resolve the package location first:

sh
node -p "require.resolve('turbo/package.json')"

Then read docs/README.md relative to the resolved package directory.

If turbo is not installed, inspect the repository's package manager and existing version constraints before adding it. After installation, use the bundled docs rather than guidance for a different release.

来源与署名

来源:vercel/turborepo位于skills/turborepo提交828e0ff

许可证: 无许可证

内容归原作者所有。SourceWeft 从公开仓库中收录这些内容。

举报或申请下架