From configure-plugin
Configures Biome for JS/TS/JSON/CSS, Ruff for Python, and rustfmt. Use when setting up formatting, migrating from Prettier/ESLint, or adding CI format checks.
How this skill is triggered — by the user, by Claude, or both
Slash command
/configure-plugin:configure-formatting [--check-only] [--fix] [--formatter <biome|ruff|rustfmt>][--check-only] [--fix] [--formatter <biome|ruff|rustfmt>]This skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
Check and configure code formatting tools against modern best practices.
Check and configure code formatting tools against modern best practices.
| Use this skill when... | Use another approach when... |
|---|---|
| Setting up Biome, Ruff format, or rustfmt for a project | Running an existing formatter (biome format, ruff format) |
| Migrating from Prettier or ESLint to Biome, or Black to Ruff | Fixing individual formatting issues in specific files |
| Auditing formatter configuration for completeness and best practices | Configuring linting rules (/configure:linting instead) |
| Adding format-on-save and CI format checks | Setting up pre-commit hooks only (/configure:pre-commit instead) |
| Standardizing formatting settings across a monorepo | Editing .editorconfig or .vscode/settings.json manually |
find . -maxdepth 1 -name \'biome.json\'find . -maxdepth 1 \( -name '.prettierrc*' -o -name 'prettier.config.*' \)find . -maxdepth 1 -name 'pyproject.toml' -exec grep -l 'tool.ruff.format' {} +find . -maxdepth 1 -name 'pyproject.toml' -exec grep -l 'tool.black' {} +find . -maxdepth 1 \( -name 'rustfmt.toml' -o -name '.rustfmt.toml' \)find . -maxdepth 1 -name \'.editorconfig\'find . -maxdepth 1 -name \'package.json\'find . -maxdepth 1 -name \'pyproject.toml\'find . -maxdepth 1 -name \'Cargo.toml\'find . -maxdepth 1 -name \'.pre-commit-config.yaml\'find . -maxdepth 1 -name \'.project-standards.yaml\'Parse from $ARGUMENTS:
--check-only: Report compliance status without modifications--fix: Apply all fixes automatically without prompting--formatter <formatter>: Override formatter detection (biome, ruff, rustfmt)CRITICAL: Before flagging outdated formatters, verify latest releases using WebSearch or WebFetch:
Execute this code formatting configuration workflow:
Run the detection script to scan the project for formatter config files, script/hook/CI presence, and a recommendation over the detected booleans:
bash "${CLAUDE_SKILL_DIR}/scripts/configure-formatting.sh" --home-dir "$HOME" --project-dir "$(pwd)"
Parse STATUS= and the ISSUES: block from the output. The KEY=VALUE lines
report formatter detection (BIOME, PRETTIER, RUFF_FORMAT, BLACK,
RUSTFMT, EDITORCONFIG), integration signals (FORMAT_SCRIPT,
PRE_COMMIT_FORMAT, CI_FORMAT), and a RECOMMENDATION of configured
(a modern formatter is set up), migrate (a legacy formatter wants migration to
Biome/Ruff), or setup (no formatter detected).
Modern formatting preferences:
RECOMMENDATION=migrate with Prettier present, offer migration to Biome — do not configure Prettier as the target formatter.Print a formatted compliance report:
Code Formatting Compliance Report
==================================
Project: [name]
Language: [detected]
Formatter: [detected]
Configuration: [status per check]
Format Options: [status per check]
Scripts: [status per check]
Integration: [status per check]
Overall: [X issues found]
Recommendations: [list specific fixes]
If --check-only, stop here.
Based on detected language and formatter preference, install and configure. Use configuration templates from REFERENCE.md.
files.includes in biome.json)Create or update .editorconfig with settings matching the formatter configuration.
If legacy formatter detected (Prettier -> Biome, Black -> Ruff):
Use migration guides from REFERENCE.md.
Add formatter to .pre-commit-config.yaml using the appropriate hook repository.
Add format check step to GitHub Actions workflow.
Create or update .vscode/settings.json with format-on-save and .vscode/extensions.json with formatter extension.
Update .project-standards.yaml:
components:
formatting: "2025.1"
formatting_tool: "[biome|ruff|rustfmt]"
formatting_pre_commit: true
formatting_ci: true
Print a summary of changes made, scripts added, and next steps (run format, verify CI, enable format-on-save).
For detailed configuration templates, migration guides, and pre-commit configurations, see REFERENCE.md.
| Context | Command |
|---|---|
| Quick compliance check | /configure:formatting --check-only |
| Auto-fix all issues | /configure:formatting --fix |
| Check Biome formatting | biome format --check --reporter=github |
| Check Ruff formatting | ruff format --check --output-format=github |
| Check rustfmt formatting | `cargo fmt --check 2>&1 |
| Flag | Description |
|---|---|
--check-only | Report status without offering fixes |
--fix | Apply all fixes automatically without prompting |
--formatter <formatter> | Override formatter detection (biome, ruff, rustfmt) |
# Check compliance and offer fixes
/configure:formatting
# Check only, no modifications
/configure:formatting --check-only
# Auto-fix and migrate to Biome
/configure:formatting --fix --formatter biome
/configure:linting - Configure linting tools/configure:editor - Configure editor settings/configure:pre-commit - Pre-commit hook configuration/configure:all - Run all compliance checksnpx claudepluginhub laurigates/claude-plugins --plugin configure-pluginSets up and validates modern linters (Biome, Ruff, Clippy), migrates from ESLint/Prettier, and wires linting into pre-commit hooks and CI.
Provides Biome commands for formatting, linting, and organizing imports in JavaScript, TypeScript, JSX/TSX, JSON, CSS projects. Use for zero-config setup, fast CI checks, or ESLint/Prettier migration.
Automatically formats code across JavaScript/TypeScript, Python, Go, Rust, Java, CSS/HTML/JSON using Prettier, Black, gofmt, rustfmt, etc., respecting project configs.