·formatter-development
</>

formatter-development

使用 Biome 基于 IR 的格式化程序基础设施实施格式化规则的指南。在处理 JavaScript、CSS、JSON、HTML 或其他语言的格式化程序时使用。示例:<示例>用户需要实现新语法节点的格式化</示例><示例>用户想要处理格式化输出中的注释</示例><示例>用户正在将 Biome 的格式与 Prettier 进行比较</示例>

42安装·3热度·@biomejs

安装

$npx skills add https://github.com/biomejs/biome --skill formatter-development

如何安装 formatter-development

通过命令行快速安装 formatter-development AI 技能到你的开发环境

  1. 打开终端: 打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等)
  2. 运行安装命令: 复制并运行以下命令:npx skills add https://github.com/biomejs/biome --skill formatter-development
  3. 验证安装: 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code、Cursor 或 OpenClaw 中使用

来源:biomejs/biome。

SKILL.md

查看原文

Use this skill when implementing or modifying Biome's formatters. It covers the trait-based formatting system, IR generation, comment handling, and testing with Prettier comparison.

This generates FormatNodeRule implementations for all syntax nodes. Initial implementations use formatverbatimnode (formats code as-is).

Leading and trailing comments are handled automatically by the formatter infrastructure.

使用 Biome 基于 IR 的格式化程序基础设施实施格式化规则的指南。在处理 JavaScript、CSS、JSON、HTML 或其他语言的格式化程序时使用。示例:<示例>用户需要实现新语法节点的格式化</示例><示例>用户想要处理格式化输出中的注释</示例><示例>用户正在将 Biome 的格式与 Prettier 进行比较</示例> 来源:biomejs/biome。

可引用信息

为搜索与 AI 引用准备的稳定字段与命令。

安装命令
npx skills add https://github.com/biomejs/biome --skill formatter-development
分类
</>开发工具
认证
收录时间
2026-02-21
更新时间
2026-03-10

Browse more skills from biomejs/biome

快速解答

什么是 formatter-development?

使用 Biome 基于 IR 的格式化程序基础设施实施格式化规则的指南。在处理 JavaScript、CSS、JSON、HTML 或其他语言的格式化程序时使用。示例:<示例>用户需要实现新语法节点的格式化</示例><示例>用户想要处理格式化输出中的注释</示例><示例>用户正在将 Biome 的格式与 Prettier 进行比较</示例> 来源:biomejs/biome。

如何安装 formatter-development?

打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/biomejs/biome --skill formatter-development 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code、Cursor 或 OpenClaw 中使用

这个 Skill 的源码在哪?

https://github.com/biomejs/biome