Community生产力与协作github.com

antfu/turborepo

Turborepo 单体仓库构建系统指南。当用户配置任务/工作流/流水线、创建包、搭建单体仓库、在应用间共享代码、运行变更/受影响的包、调试缓存或存在 apps/packages 目录时触发。

turborepo 是什么?

该技能为开发者提供 Turborepo 单体仓库构建系统的全面指导,专注于 turbo.json 配置、任务流水线(pipeline)、依赖关系(dependsOn)、缓存机制(包括远程缓存)以及 Turbo CLI 的使用。它能够辅助用户高效配置任务、工作流和流水线,创建并管理内部包,搭建或优化单体仓库结构,并在不同应用之间共享代码。技能还支持通过 `--filter` 和 `--affected` 精准定位变更的包,优化 CI 流水线,并在调试缓存问题或处理 apps/packages 目录时提供专业建议。涵盖了从环境变量管理到最佳实践的全链路支持,适用于 Cursor、Claude Code、Codex 等主流 AI 代理平台,能显著提升大型单体仓库的开发效率。

兼容平台~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/antfu/skills/tree/main/skills/turborepo

Installed? Explore more 生产力与协作 skills: steipete/gemini, steipete/gh-issues, steipete/skill-creator · View all 6 →

在你喜欢的 AI 中提问

打开一个已预加载此 Agent Skill 的新对话。

文档

turborepo 是做什么的?

Turborepo 单体仓库构建系统指南。触发条件包括:turbo.json、任务流水线、dependsOn、缓存、远程缓存、Turborepo CLI、--filter、--affected、CI 优化、环境变量、内部包、单体仓库结构/最佳实践以及边界。当用户配置任务/工作流/流水线、创建包、搭建单体仓库、在应用间共享代码、运行变更/受影响的包、调试缓存或存在 apps/packages 目录时使用。

Individual skills in this repo

This repo contains 16 individual skills — each has its own dedicated page.

antfu/antfu

Anthony Fu's opinionated tooling and conventions for JavaScript/TypeScript projects. Use when setting up new projects, configuring ESLint/Prettier alternatives, monorepos, library publishing, or when the user mentions Anthony Fu's preferences.

antfu/nuxt

Nuxt full-stack Vue framework with SSR, auto-imports, and file-based routing. Use when working with Nuxt apps, server routes, useFetch, middleware, or hybrid rendering.

antfu/pinia

Pinia official Vue state management library, type-safe and extensible. Use when defining stores, working with state/getters/actions, or implementing store patterns in Vue apps.

antfu/pnpm

Node.js package manager with strict dependency resolution. Use when running pnpm specific commands, configuring workspaces, or managing dependencies with catalogs, patches, or overrides.

antfu/slidev

Create and present web-based slidedecks for developers using Slidev with Markdown, Vue components, code highlighting, animations, and interactive features. Use when building technical presentations, conference talks, code walkthroughs, teaching materials, or developer decks.

antfu/tsdown

Bundle TypeScript and JavaScript libraries with blazing-fast speed powered by Rolldown. Use when building libraries, generating type declarations, bundling for multiple formats, or migrating from tsup.

antfu/unocss

UnoCSS instant atomic CSS engine, superset of Tailwind CSS. Use when configuring UnoCSS, writing utility rules, shortcuts, or working with presets like Wind, Icons, Attributify.

antfu/vite

Vite build tool configuration, plugin API, SSR, and Vite 8 Rolldown migration. Use when working with Vite projects, vite.config.ts, Vite plugins, or building libraries/SSR apps with Vite.

antfu/vitepress

VitePress static site generator powered by Vite and Vue. Use when building documentation sites, configuring themes, or writing Markdown with Vue components.

antfu/vitest

Vitest fast unit testing framework powered by Vite with Jest-compatible API. Use when writing tests, mocking, configuring coverage, or working with test filtering and fixtures.

antfu/vue

Vue 3 Composition API, script setup macros, reactivity system, and built-in components. Use when writing Vue SFCs, defineProps/defineEmits/defineModel, watchers, or using Transition/Teleport/Suspense/KeepAlive.

antfu/vue-best-practices

MUST be used for Vue.js tasks. Strongly recommends Composition API with `<script setup>` and TypeScript as the standard approach. Covers Vue 3, SSR, Volar, vue-tsc. Load for any Vue, .vue files, Vue Router, Pinia, or Vite with Vue work. ALWAYS use Composition API unless the project explicitly requires Options API.

antfu/vue-router-best-practices

Vue Router 4 patterns, navigation guards, route params, and route-component lifecycle interactions.

antfu/vue-testing-best-practices

Use for Vue.js testing. Covers Vitest, Vue Test Utils, component testing, mocking, testing patterns, and Playwright for E2E testing.

antfu/vueuse-functions

Apply VueUse composables where appropriate to build concise, maintainable Vue.js / Nuxt features.

antfu/web-design-guidelines

Review UI code for Web Interface Guidelines compliance. Use when asked to "review my UI", "check accessibility", "audit design", "review UX", or "check my site against best practices".

相关技能