Token导航 LogoToken导航TokenDH.com
前端设计需要联网github未标认证来源可访问许可证需确认审计提醒

monorepo-master单一存储库大师

Agent Skill

monorepo-master 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

399

周安装

16

GitHub Stars

9

下载量

129
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:monorepo-master(单一存储库大师)
来源仓库:https://github.com/yuniorglez/gemini-elite-core
仓库路径:skills/monorepo-master
安装命令:
npx skills add https://github.com/yuniorglez/gemini-elite-core --skill monorepo-master
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/yuniorglez/gemini-elite-core --skill monorepo-master

简介

monorepo-master 用于处理 GitHub 仓库和协作信息。

  • 适合围绕代码变更、Issue 或 Pull Request 进行整理。
  • 可通过 npx 命令安装,建议参考原始文档了解具体能力。
  • 使用前需确认是否具备仓库访问权限及是否会触发写操作。
  • 适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

SKILL.md

🏗️ Skill: monorepo-master (v1.0.0)

Executive Summary

Senior Monorepo Architect & Platform Engineer for 2026. Master of high-scale Turborepo orchestration, Bun-first workspace management, and Next.js 16/Tailwind 4 modular architectures. Expert in resolving complex dependency graphs, optimizing remote caching, and implementing Zero-Trust CI/CD pipelines for large-scale engineering teams.


📋 The Conductor's Protocol

  1. Topology Assessment: Analyze the monorepo structure (Nested vs. Flat) and determine the optimal workspace boundaries (apps, packages, tools).
  2. Package Manager Selection: Default to Bun v1.2+ for 2026. If legacy requirements exist, use pnpm with strict hoisting.
  3. Sequential Activation: activate_skill(name="monorepo-master")activate_skill(name="next16-expert")activate_skill(name="tailwind4-expert")activate_skill(name="github-actions-pro").
  4. Verification: Execute bun x turbo run build --dry-run to verify the task graph and cache hits before committing.

🛠️ Mandatory Protocols (2026 Standards)

1. Bun-First Workspace Management

As of 2026, Bun is the production standard for monorepos due to its sub-millisecond module resolution and integrated test runner.

  • Rule: Never use npm install or yarn. Use bun install with bun.lockb for deterministic builds.
  • Protocol: Define workspaces in the root package.json using the "workspaces": ["apps/*", "packages/*"] pattern.

2. Turborepo 2.5+ Orchestration

  • Task Graph: Define strict dependsOn relationships in turbo.json. Always ensure ^build (upstream build) is required for app builds.
  • Remote Caching: Always configure a Remote Cache (Vercel or custom S3-based) to ensure sub-5s CI times.
  • Persistent Tasks: Use the cache: false and persistent: true flags for dev servers to prevent cache poisoning.

3. Tailwind CSS 4 (CSS-First) Architecture

In 2026 monorepos, Tailwind 4 configuration lives in CSS, not JS.

  • Shared Config: Create a packages/tailwind-config containing a base.css with @theme blocks.
  • Import Pattern: Apps should @import "@repo/tailwind-config/base.css" and extend as needed.
  • Direct Ref: Ensure shared UI packages (e.g., @repo/ui) use React 19 direct ref props and Tailwind 4 container queries.

4. Next.js 16 & React 19 Integration

  • Internal Packages: Use transpilePackages in next.config.ts for shared UI/logic packages.
  • Proxy Paradigms: Leverage Next.js 16's internal proxying for cross-app communication in a monorepo.
  • Type Safety: Use workspace:* for internal dependencies to ensure TypeScript always resolves to the latest source code, not stale builds.

🚀 Show, Don't Just Tell (Implementation Patterns)

Modern turbo.json (2026 Optimized)

{
  "$schema": "https://turbo.build/schema.json",
  "globalDependencies": [".env", "tsconfig.json"],
  "tasks": {
    "build": {
      "dependsOn": ["^build"],
      "outputs": [".next/**", "dist/**"]
    },
    "lint": {
      "dependsOn": ["^lint"]
    },
    "test": {
      "dependsOn": ["^build"],
      "outputs": ["coverage/**"],
      "inputs": ["src/**/*.ts", "src/**/*.tsx", "test/**/*.ts"]
    },
    "dev": {
      "cache": false,
      "persistent": true
    },
    "type-check": {
      "cache": true
    }
  }
}

Shared UI Package Structure (Tailwind 4 + React 19)

packages/ui/src/button.tsx:

import * as React from "react";

// React 19: No more forwardRef!
export interface ButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement> {
  variant?: "primary" | "secondary";
}

export function Button({ className, variant = "primary", ...props }: ButtonProps) {
  return (
    <button
      // Tailwind 4: Native container queries and CSS-first variables
      className={`rounded-lg px-4 py-2 transition-all @container ${
        variant === "primary" ? "bg-primary text-white" : "bg-secondary"
      } ${className}`}
      {...props}
    />
  );
}

packages/ui/package.json:

{
  "name": "@repo/ui",
  "version": "0.0.0",
  "exports": {
    ".": "./src/index.ts",
    "./styles.css": "./src/styles.css"
  },
  "peerDependencies": {
    "react": "^19.0.0",
    "tailwindcss": "^4.0.0"
  }
}

🛡️ The Do Not List (Anti-Patterns)

  1. DO NOT use relative paths (e.g., ../../packages/ui) for imports. Always use the workspace name (@repo/ui).
  2. DO NOT commit node_modules. Ensure your .gitignore is correctly configured at the root.
  3. DO NOT publish internal packages to npm. Use private: true and workspace:* versions.
  4. DO NOT mix package managers. If the repo uses Bun, every developer and CI job must use Bun.
  5. DO NOT ignore turbo.json inputs. Missing inputs cause false cache hits (stale builds).

📂 Progressive Disclosure (Deep Dives)


🛠️ Specialized Tools & Scripts

  • scripts/monorepo-doctor.sh: Analyzes the monorepo for dependency mismatches and circular references.
  • scripts/scaffold-package.ts: Scaffolds a new package with 2026 standards (Bun, Tailwind 4, TSConfig).

🎓 Learning Resources


*Updated: January 23, 2026 - 18:15*

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

33.69%
按下载量换算43

Claude

28.77%
按下载量换算37

Cursor

21.06%
按下载量换算27

Gemini CLI

10.53%
按下载量换算14

安全审计

Gen Agent Trust Hub

可疑

Socket

通过

Snyk

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills