金色时刻 · 15:48
让好资源,触手可及
AGENT SKILL

monorepo

monorepo 是面向开发运维的 Agent Skill,来自 EpicenterHQ/epicenter。查看技能说明、操作步骤与使用约定,并通过原项目了解详细用法。

Monorepo script commands and conventions for this codebase. Use when running builds, tests, formatting, linting, or type checking.

SKILL.md

下载 MD ↓
namemonorepo
descriptionMonorepo script commands and conventions for this codebase. Use when running builds, tests, formatting, linting, or type checking.

Script Commands

The monorepo uses consistent script naming conventions:

Command Purpose When to use
bun format Fix formatting (biome + prettier) Development
bun format:check Check formatting CI
bun lint Fix lint issues (eslint + biome) Development
bun lint:check Check lint issues CI
bun typecheck Type checking (tsc, svelte-check, astro check) Both

Convention

  • No suffix = fix (modifies files)
  • :check suffix = check only (for CI, no modifications)
  • typecheck alone = type checking (separate concern, cannot auto-fix)

After Completing Code Changes

Run type checking to verify:

bun typecheck

This runs turbo run typecheck which executes the typecheck script in each package (e.g., tsc --noEmit, svelte-check).

来源:EpicenterHQ/epicenter · MIT 许可 · 许可原文 · MD 为来源页保存的历史版本