- Home
- Skills
- Yuniorglez
- Gemini Elite Core
- Monorepo Master
monorepo-master_skill
- Python
7
GitHub Stars
1
Bundled Files
2 months ago
Catalog Refreshed
4 months ago
First Indexed
Readme & install
Copy the install command, review bundled files from the catalogue, and read any extended description pulled from the listing source.
Installation
Preview and clipboard use veilstrat where the catalogue uses aiagentskills.
npx veilstrat add skill yuniorglez/gemini-elite-core --skill monorepo-master- SKILL.md6.2 KB
Overview
This skill is a senior-level monorepo architect and platform engineering guide for 2026. It codifies Bun-first workspace management, Turborepo 2.5+ orchestration, and Next.js 16 / Tailwind 4 modular architectures to scale large engineering orgs. The skill focuses on dependency graph resolution, remote caching optimization, and Zero-Trust CI/CD patterns to reduce CI times and developer friction.
How this skill works
The skill inspects monorepo topology and recommends workspace boundaries (apps, packages, tools). It enforces Bun as the default package manager, validates turbo.json task graphs and remote cache configuration, and provides Tailwind 4 CSS-first shareable configurations for UI packages. Built-in verification steps include dry-run builds to validate cache hits and task dependencies before CI execution.
When to use it
- Migrating a legacy multi-repo or mixed-manager codebase into a single monorepo
- Optimizing CI for large teams where build times and cache efficiency matter
- Standardizing frontend platform stacks across apps (Next.js 16, React 19, Tailwind 4)
- Designing or auditing workspace layouts and internal package dependency policies
- Implementing Zero-Trust CI/CD and remote caching for predictable pipelines
Best practices
- Adopt Bun v1.2+ across developer machines and CI; use bun.lockb for deterministic installs
- Define workspaces in root package.json (e.g., "workspaces": ["apps/*","packages/*"])
- Declare strict dependsOn relationships in turbo.json and list inputs to avoid stale cache hits
- Use Remote Cache (Vercel or S3-backed) and run bun x turbo run build --dry-run before commits
- Keep internal packages private with workspace:* versions and avoid publishing internal packages
Example use cases
- Assessing and refactoring a nested monorepo into clear app/package boundaries
- Configuring turborepo remote caching to reduce CI latency below 5 seconds for incremental builds
- Converting shared UI libraries to Tailwind 4 CSS-first configs and React 19 direct refs
- Setting up Next.js 16 with transpilePackages for cross-app shared components
- Running monorepo doctor scripts to detect circular deps and ghost dependencies
FAQ
Bun offers sub-millisecond module resolution and an integrated runner optimized for 2026 workloads; use pnpm only for legacy constraints with strict hoisting if unavoidable.
How do I avoid stale cache hits in Turborepo?
Declare all inputs in turbo.json, use workspace:* for internal deps, and verify with bun x turbo run build --dry-run to inspect the task graph and cache hits.