什么是 formatter-development?
使用 Biome 基于 IR 的格式化程序基础设施实施格式化规则的指南。在处理 JavaScript、CSS、JSON、HTML 或其他语言的格式化程序时使用。示例:<示例>用户需要实现新语法节点的格式化</示例><示例>用户想要处理格式化输出中的注释</示例><示例>用户正在将 Biome 的格式与 Prettier 进行比较</示例> 来源:biomejs/biome。
使用 Biome 基于 IR 的格式化程序基础设施实施格式化规则的指南。在处理 JavaScript、CSS、JSON、HTML 或其他语言的格式化程序时使用。示例:<示例>用户需要实现新语法节点的格式化</示例><示例>用户想要处理格式化输出中的注释</示例><示例>用户正在将 Biome 的格式与 Prettier 进行比较</示例>
通过命令行快速安装 formatter-development AI 技能到你的开发环境
来源:biomejs/biome。
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使用 Biome 基于 IR 的格式化程序基础设施实施格式化规则的指南。在处理 JavaScript、CSS、JSON、HTML 或其他语言的格式化程序时使用。示例:<示例>用户需要实现新语法节点的格式化</示例><示例>用户想要处理格式化输出中的注释</示例><示例>用户正在将 Biome 的格式与 Prettier 进行比较</示例> 来源:biomejs/biome。
打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/biomejs/biome --skill formatter-development 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code、Cursor 或 OpenClaw 中使用
https://github.com/biomejs/biome