biomejs
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseBiomeJS
BiomeJS
Use this skill to implement and operate BiomeJS with predictable steps and minimal disruption.
For ESLint/Prettier migration, use the dedicated skill.
eslint-prettier-migration使用该技能可通过可预测的步骤、以最小的改动来实现和使用BiomeJS。如需从ESLint/Prettier迁移,请使用专门的技能。
eslint-prettier-migrationWorkflow
工作流
- Identify intent:
- Fresh setup
- Config tuning
- CI/VCS integration
- Diagnostics troubleshooting
- Apply the matching path:
- Fresh setup: follow
references/getting-started.md - Config and file-scoping: follow
references/configuration-and-vcs.md - Advanced config templates: follow
references/advanced-configuration-templates.md - CLI options/reporters: follow
references/cli-basics.md - Monorepo and shared config strategy: follow
references/monorepo-and-upgrades.md - Performance debugging: follow
references/performance-tracing.md - Pre-commit hooks and CI recipes: follow
references/automation-ci-and-hooks.md
- Verify with a no-write pass before auto-fixing:
- Run
biome check . - Then run only after confirming scope and intended changes
biome check --write
- 识别需求意图:
- 全新搭建
- 配置调整
- 持续集成/版本控制系统集成
- 诊断与排障
- 选择对应处理路径:
- 全新搭建:遵循
references/getting-started.md - 配置与文件范围设置:遵循
references/configuration-and-vcs.md - 高级配置模板:遵循
references/advanced-configuration-templates.md - CLI选项/报告器:遵循
references/cli-basics.md - 单仓库与共享配置策略:遵循
references/monorepo-and-upgrades.md - 性能调试:遵循
references/performance-tracing.md - 提交前钩子与持续集成方案:遵循
references/automation-ci-and-hooks.md
- 自动修复前先执行无写入的校验:
- 执行
biome check . - 确认范围和预期改动后,再执行
biome check --write
Operational Defaults
操作默认值
Use these defaults unless user asks otherwise:
- Pin Biome version when installing (with package managers that support it).
-E - Keep config in project root (or
biome.json).biome.jsonc - Run for unified format+lint+organize imports.
biome check --write - Run in CI pipelines.
biome ci
除非用户另有要求,否则使用以下默认设置:
- 安装时固定Biome版本(支持该参数的包管理器使用)。
-E - 配置文件存放在项目根目录(或
biome.json)。biome.jsonc - 执行来统一完成格式化、代码检查及导入语句整理。
biome check --write - 在持续集成流水线中执行。
biome ci
References
参考文档
- Setup and baseline commands:
references/getting-started.md - Configuration, includes, and VCS integration:
references/configuration-and-vcs.md - Advanced configuration templates and migration-safe patterns:
references/advanced-configuration-templates.md - Useful CLI commands and options:
references/cli-basics.md - Monorepo setup and v1->v2 upgrade notes:
references/monorepo-and-upgrades.md - Slowness investigation and tracing spans:
references/performance-tracing.md - Git hooks and CI recipes:
references/automation-ci-and-hooks.md
- 搭建与基础命令:
references/getting-started.md - 配置、包含范围与版本控制系统集成:
references/configuration-and-vcs.md - 高级配置模板与安全迁移模式:
references/advanced-configuration-templates.md - 实用CLI命令与选项:
references/cli-basics.md - 单仓库搭建与v1至v2升级说明:
references/monorepo-and-upgrades.md - 性能慢排查与追踪:
references/performance-tracing.md - Git钩子与持续集成方案:
references/automation-ci-and-hooks.md