← 返回 Skills 市场
charlie-morrison

Biome Config Validator

作者 charlie-morrison · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ 安全检测通过
83
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install biome-config-validator
功能描述
Validate and lint Biome (biome.json) configuration files for structure, rule conflicts, deprecated options, and best practices. 22 rules across structure, li...
使用说明 (SKILL.md)

Biome Config Validator

Validate biome.json configuration files for correctness, conflicts, deprecated options, and best practices.

Commands

# Validate a biome.json file (all rules)
python3 scripts/biome_config_validator.py lint biome.json

# Check for rule conflicts only
python3 scripts/biome_config_validator.py conflicts biome.json

# Check for deprecated options
python3 scripts/biome_config_validator.py deprecated biome.json

# Validate structure only
python3 scripts/biome_config_validator.py validate biome.json

# JSON output
python3 scripts/biome_config_validator.py lint biome.json --format json

# Summary only
python3 scripts/biome_config_validator.py lint biome.json --format summary

Rules (22)

Structure (5)

  • Invalid JSON syntax
  • Unknown top-level keys
  • Invalid schema version ($schema URL)
  • Missing recommended sections (linter, formatter)
  • Invalid file patterns in includes/excludes

Linting (7)

  • Unknown lint rule names
  • Rules in wrong category
  • Conflicting rules (e.g., useConst vs noConst)
  • Disabled recommended rules without justification
  • Invalid rule severity values
  • Empty rule groups
  • Deprecated rule names

Formatting (5)

  • Invalid indent style/width combination
  • Conflicting formatter settings
  • Line width out of reasonable range
  • Invalid quote style values
  • Tab width mismatch with indent width

Best Practices (5)

  • Missing VCS integration settings
  • Overly broad ignore patterns
  • No organizeImports configuration
  • Missing JavaScript/TypeScript specific settings
  • Extends pointing to non-existent config

Output Formats

  • text (default): Human-readable with colors and severity icons
  • json: Machine-readable with file, rule, severity, message
  • summary: Counts by severity only

Exit Codes

  • 0: No issues (or warnings only)
  • 1: Errors found
  • 2: Invalid input
安全使用建议
This skill is internally coherent for validating biome.json files: it reads the target file and local paths referenced by 'extends' and reports issues. Before installing or running, review the entire scripts/biome_config_validator.py file (the prompt contained a truncated excerpt) to confirm there are no network calls, subprocess executions, or code that transmits data. Run it first in a sandbox or on non-sensitive repositories. Be aware that the validator will attempt to access local files referenced by the config (e.g., extends paths), so avoid running it on directories containing secrets unless you trust the script. If you want extra assurance, search the full script for imports or functions such as requests/urllib/socket/subprocess/os.system/open with remote URLs, or any code that writes out data to external endpoints, and verify those are absent or intentional.
功能分析
Type: OpenClaw Skill Name: biome-config-validator Version: 1.0.0 The skill is a legitimate utility for validating Biome (biome.json) configuration files. The core logic in scripts/biome_config_validator.py performs static analysis of JSON structure, rules, and formatting settings using standard Python libraries without any network access, shell execution, or sensitive data access. The instructions in SKILL.md are strictly aligned with the tool's stated purpose.
能力评估
Purpose & Capability
Name/description (Biome config validator) align with the included script and SKILL.md: the commands run a Python script that parses JSON and applies lint/structure/formatting/best-practice rules. No extraneous credentials, binaries, or unrelated capabilities are requested.
Instruction Scope
The SKILL.md instructs the agent to run the bundled Python script on a specified biome.json and choose output format/commands. The script logic shown operates on the provided file, checks schema, rule groups, patterns, and local 'extends' paths. It does not instruct reading arbitrary system state or network endpoints. Note: the script checks existence of 'extends' paths and will examine local filesystem paths referenced by the config (expected for a validator).
Install Mechanism
No install spec; this is instruction-only plus a bundled Python script. No downloads, package installs, or external installers are present in the provided metadata.
Credentials
The skill declares no environment variables, no credentials, and no config paths. The script as shown only reads files passed on the command line and local paths referenced by the config; it does not require secrets or external tokens.
Persistence & Privilege
The skill is not always-enabled and does not request any persistent system-wide privileges. It runs only when invoked and does not modify other skills or agent-wide settings based on the provided content.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install biome-config-validator
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /biome-config-validator 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release
元数据
Slug biome-config-validator
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Biome Config Validator 是什么?

Validate and lint Biome (biome.json) configuration files for structure, rule conflicts, deprecated options, and best practices. 22 rules across structure, li... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 83 次。

如何安装 Biome Config Validator?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install biome-config-validator」即可一键安装,无需额外配置。

Biome Config Validator 是免费的吗?

是的,Biome Config Validator 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Biome Config Validator 支持哪些平台?

Biome Config Validator 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Biome Config Validator?

由 charlie-morrison(@charlie-morrison)开发并维护,当前版本 v1.0.0。

💬 留言讨论