dsifry

Format Code — Code Quality skill for Claude Code

Code Quality community

/project:format-code.

How to install Format Code

Installs to ~/.claude/commands/dsifry-goodtogo-format-code.md

Terminal
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/dsifry/goodtogo/HEAD/.claude/commands/format-code.md -o ~/.claude/commands/dsifry-goodtogo-format-code.md

Restart Claude Code, or start a new session, for it to be picked up.

What Format Code does


model: claude-haiku-4-5-20251001

/project:format-code

Format code files using prettier with project defaults before committing changes.

Usage

/project:format-code [file-path or pattern]

Examples

# Format a single file
/project:format-code src/components/Button.tsx

# Format all TypeScript files in a directory
/project:format-code "src/components/**/*.ts"

# Format all modified files
/project:format-code --staged

What This Command Does

  1. **Identifie

Alternatives in Code Quality

  • Import Drawio — Redraw a draw.io file as an editorial diagram at a chosen format, size, and detail level 27.2k ★
  • Job Stories — Create job stories with acceptance criteria in JTBD format 7.8k ★
  • Video Script: Claude SEO V1.7.2 — What's New — Duration: ~5 minutes Tone: Natural, conversational, like talking to a friend who knows Claude Code Format: Scr 5k ★

Full documentation available on GitHub

View Source Repository