monorepo
Monorepo script commands and conventions for this codebase. Use when running builds, tests, formatting, linting, or type checking.
When & Why to Use This Skill
This Claude skill provides a comprehensive interface for managing monorepo script commands and conventions within a codebase. It streamlines essential development workflows including automated code formatting, linting, and rigorous type checking using Bun and Turborepo, ensuring consistent code quality and adherence to project standards across all packages.
Use Cases
- Automated Code Maintenance: Effortlessly fix formatting and linting issues across the entire monorepo using Biome, Prettier, and ESLint with simple command execution.
- Continuous Integration Validation: Utilize specific check-only commands in CI/CD pipelines to verify code integrity and style compliance without modifying source files.
- Post-Refactor Type Verification: Run project-wide type checks (tsc, svelte-check, astro check) to ensure type safety and catch regressions after significant code changes.
- Standardizing Developer Workflows: Provide a unified set of script conventions that simplify building, testing, and debugging for all contributors to the codebase.
| name | monorepo |
|---|---|
| description | Monorepo 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)
:checksuffix = check only (for CI, no modifications)typecheckalone = 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).