This skill should be used when the user asks to "setup Biome", "add Biome to Rails", "configure Biome for Jumpstart Pro", "add JavaScript linting to Rails", or "replace ESLint with Biome" on a Jumpstart Pro Rails application.
Ships in setup-biome-jumpstart-pro. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
This skill configures Biome for JavaScript linting, formatting, and import organization on a Jumpstart Pro Rails application. Biome replaces ESLint and Prettier with a single, faster tool.
npm install --save-dev --save-exact @biomejs/biome
Using --save-exact pins the version to avoid unexpected upgrades.
npx biome init --jsonc
This creates biome.jsonc with sensible defaults.
The biome init --jsonc output is already close to what Jumpstart Pro needs. Keep VCS integration, tab indentation, double quotes, and organized imports as generated. Modify the config as follows:
Add ignore patterns under files to exclude vendor and app/assets/tailwind:
"files": {
"ignoreUnknown": false,
"includes": ["**", "!vendor", "!app/assets/tailwind"]
}
Disable rules that produce false positives on Jumpstart Pro code. Add these under linter.rules (keeping "preset": "recommended"):
a11y/noSvgWithoutTitle: "off" — many decorative SVGs in Jumpstart Pro don't need titlessuspicious/useIterableCallbackReturn: "off" — common pattern in Stimulus controller callbackssuspicious/useGetterReturn: "off" — false positives with Stimulus controller value accessorsResulting in:
"linter": {
"enabled": true,
"rules": {
"preset": "recommended",
"a11y": {
"noSvgWithoutTitle": "off"
},
"suspicious": {
"useIterableCallbackReturn": "off",
"useGetterReturn": "off"
}
}
}
Leave the $schema line as generated — it always matches the installed version.
npx @biomejs/biome lint --write --unsafe
The --unsafe flag allows fixes that may change behavior. Review changes after running.
npx @biomejs/biome format --write
npx @biomejs/biome check --write --unsafe
This sorts and organizes import statements across all JavaScript files.
Add Biome to the existing GitHub Actions CI workflow. In .github/workflows/ci.yml, add these steps to the lint job after the ERB lint step:
- name: Set up Biome
uses: biomejs/setup-biome@v2
- name: Run Biome
run: biome ci
The biome ci command runs linting, formatting checks, and import organization checks in one step. It exits with a non-zero code if any issues are found.
Do NOT add Biome as a separate job — keep it in the existing lint job to avoid duplicating Ruby setup time.
After setup, run biome ci to confirm everything passes:
npx @biomejs/biome ci
references/ci-diff.yml — Example diff showing the CI workflow changesWhat SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
/setup-biome-jumpstart-pro:setup-biome-jumpstart-profrom setup-biome-jumpstart-pro
npx claudepluginhub andyw8/agent-skills --plugin setup-biome-jumpstart-pro