code-formatter

Format TypeScript and Python code with Prettier, ESLint, Black, and isort.

9|1|Updated Dec 1, 2025
One-click install
npx skills add https://github.com/benshapyro/cadre-devkit-claude --skill code-formatter-benshapyro
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: code-formatter
Source: https://github.com/benshapyro/cadre-devkit-claude/tree/main/skills/code-formatter
Command: npx skills add https://github.com/benshapyro/cadre-devkit-claude --skill code-formatter-benshapyro

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Formats code, enforces style, and helps fix linting issues across TypeScript and Python projects.

Core Features & Use Cases

  • Naming & Style: Variable naming, class naming, and line length
  • Formatting Tools: Prettier for JS/TS, Black for Python, isort for Python imports
  • Common Issues: Trailing commas, import ordering, and code readability

Quick Start

Run code formatting across a project or format a specific file

Frequently Asked Questions about code-formatter

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

FAQPage Schema
How do I format TypeScript and Python code consistently across my project?

Format code consistently by applying unified style rules across TypeScript and Python files. This Skill enforces naming conventions (camelCase for variables, PascalCase for classes, UPPER_CASE_SNAKE_CASE for constants), a 100-character line limit, trailing comma standardization, and explicit imports, using Prettier for TypeScript and Black for Python.

Does this work with Prettier, ESLint, Black, and isort?

Yes. This Skill integrates with Prettier and ESLint for TypeScript formatting and linting, and Black and isort for Python code formatting and import organization, ensuring compatibility with your existing toolchain.

How do I fix naming conventions and import ordering in my codebase?

Apply automated formatting to enforce file naming (lowercase_with_underscores), function and variable naming (camelCase), and organize imports explicitly without wildcards. The Skill processes both TypeScript and Python projects to standardize these patterns across your files.

Can I enforce a consistent line length and code style across TypeScript and Python?

Yes. This Skill enforces a 100-character line limit and standardizes code style across both languages, including trailing commas, strict typing for TypeScript, and ES module usage, applying Ben's established style guidelines.

What naming conventions and formatting rules does this Skill enforce?

The Skill enforces lowercase_with_underscores for files, camelCase for variables and functions, PascalCase for classes, UPPER_CASE_SNAKE_CASE for constants, a 100-character line limit, explicit imports without wildcards, and ES module syntax for TypeScript projects.

How do I handle linting issues and code formatting for a multi-language project?

Run the Skill across your TypeScript and Python files to automatically fix linting issues, apply consistent formatting, organize imports, and enforce naming conventions using compatible tools like Prettier, Black, ESLint, and isort in a single operation.