code-formatting | Skill Performance & Reviews | TopRankSkills

TopRank Skills

Home / Skills / tools / code-formatting

code-formatting

maintained by pollinations

star 3.9k account_tree 599 verified_user MIT License
bolt View GitHub

name: code-formatting description: Format code on the current branch using Biome. Use when asked to format, lint, or clean up code before committing or creating a PR.

Code Formatting

Format JS/TS/JSON files changed on the current branch using Biome.

Quick Usage

.claude/skills/code-formatting/scripts/format-branch.sh

This formats all .js, .ts, .jsx, .tsx, .json, .jsonc files changed compared to main.

Custom Base Branch

.claude/skills/code-formatting/scripts/format-branch.sh develop

What It Does

  1. Finds files changed on current branch vs base branch
  2. Filters to JS/TS/JSON files only
  3. Runs npx biome check --write on those files
  4. Uses same settings as the biome-check.yml CI workflow

Config

Biome config is at biome.jsonc in repo root.

Notes

  • Run from repo root
  • Requires Node.js/npx
  • Only formats changed files (not entire codebase)

chat Comments (0)

chat_bubble_outline

No comments yet. Be the first to share your thoughts!

Skill Details

GitHub Stars 3.9k
GitHub Forks 599
Created Jan 2026
Last Updated 4 months ago
tools tools code quality

Related Skills

creating-pr
chevron_right
reviewing-pr
chevron_right
packmind-standard-creator
chevron_right
packmind-standard-creator
chevron_right
code-review-router
chevron_right

Build your own?

Join 12,000+ developers contributing to the Claude ecosystem.