code-formatter

Format and lint code across multiple languages with project-specific configurations.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/benreceveur/claude-workflow-engine --skill code-formatter-benreceveur
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: code-formatter
Source: https://github.com/benreceveur/claude-workflow-engine/tree/main/skills/code-formatter
Command: npx skills add https://github.com/benreceveur/claude-workflow-engine --skill code-formatter-benreceveur

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires prettier, eslint, black, isort, gofmt, rustfmt, and includes scripts (resource) and references (resource) components.

What problem does it solve?

Automatically format and lint code across multiple languages, enforcing consistent style and fixing common issues without manual intervention.

Core Features & Use Cases

  • Language-aware Formatting: Detect language from file extension and apply project-configured style.
  • Automated Linting: Run auto-fix on violations to reduce review time.
  • Cross-language Support: JS/TS, Python, Go, Rust, JSON, YAML, Markdown, CSS/SCSS, HTML.

Quick Start

Run the skill to format a sample file, e.g., src/app.js, and review the generated report.

Frequently Asked Questions about code-formatter

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automatically format code across multiple programming languages?

Code formatting across multiple languages applies language-specific formatters like Prettier for JavaScript, Black for Python, and Gofmt for Go to enforce consistent style. This Skill detects file language and applies project-configured formatters automatically, reducing manual formatting work across your codebase.

Can I use automated linting and formatting in my CI/CD pipeline?

Yes, automated linting and formatting integrates into CI/CD workflows and pre-commit hooks to catch style violations and auto-fix issues before code review. This reduces review time and enforces consistency without manual intervention across pull requests.

What languages and file formats does multi-language code formatting support?

Multi-language code formatting supports JavaScript, TypeScript, Python, Go, Rust, JSON, YAML, Markdown, CSS, SCSS, and HTML. Language detection from file extension automatically selects the appropriate formatter and linter for each file type.

How do I configure project-specific formatting rules for different languages?

Project-specific formatting configuration stores preferences in-memory and applies per-language formatter settings, allowing you to define style rules for each language separately. The Skill reads your existing configuration files and applies them consistently across your codebase.

What's the difference between code formatting and linting?

Code formatting automatically rewrites code to match style rules like indentation and spacing, while linting detects code quality issues and violations. This Skill combines both—formatting for style consistency and auto-fix linting to resolve common problems without manual fixes.