code-formatter

Convert Claude Code skills to Gemini CLI extensions and vice versa.

189|18|Updated Nov 11, 2025
One-click install
npx skills add https://github.com/jduncan-rva/skill-porter --skill code-formatter-jduncan-rva
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: code-formatter
Source: https://github.com/jduncan-rva/skill-porter/tree/main/examples/before-after/code-formatter-converted
Command: npx skills add https://github.com/jduncan-rva/skill-porter --skill code-formatter-jduncan-rva

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

Manually formatting code and fixing linting issues is a repetitive and error-prone task that consumes valuable developer time and can lead to inconsistent codebases. This Skill automates these processes, ensuring clean, standardized code with minimal effort.

Core Features & Use Cases

  • Automated Code Styling: Apply consistent code styles across your projects using industry-standard tools like Prettier.
  • Linting Fixes: Automatically resolve ESLint issues, maintaining high code quality and reducing manual review cycles.
  • Multi-language Support: Format a variety of file types including JavaScript/TypeScript, JSON, YAML, and Markdown.
  • Use Case: A developer needs to quickly clean up a newly cloned repository or ensure their code adheres to project standards before committing. They can simply ask the AI to "Format all files in the 'src/' directory," and the skill handles the rest.

Quick Start

Format the 'index.js' file in the 'src/' directory.

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 my project?

Code formatting applies consistent styling to your files using Prettier. Run the Skill on your project directory to automatically reformat JavaScript, TypeScript, JSON, YAML, and Markdown files to your project's style standards.

Can I fix ESLint errors automatically?

Yes, this Skill automatically resolves ESLint issues alongside formatting. It applies both style fixes and linting corrections in a single operation, reducing manual code review cycles.

What file types does code formatting support?

The Skill formats JavaScript, TypeScript, JSON, YAML, and Markdown files. It handles multi-language projects, ensuring consistent styling across different file formats within the same codebase.

How do I format specific directories or files?

Specify the target directory or file path when invoking the Skill. For example, format just your 'src/' directory to clean up a newly cloned repository or stage code before committing without touching unrelated files.

Does this work with existing Prettier and ESLint configurations?

Yes, the Skill respects your project's existing Prettier and ESLint configuration files. It applies formatting and linting fixes according to your project's defined standards and rules.

What's the fastest way to clean up a messy codebase?

Use this Skill to run formatting and linting fixes across your entire project at once. It processes multiple file types simultaneously, eliminating manual style corrections and allowing you to focus on logic and architecture.

Related Skills