auto-format

Format code and fix lint errors across a codebase.

1|Updated Mar 5, 2026
One-click install
npx skills add https://github.com/Postalocity/template-microsite --skill auto-format-postalocity
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: auto-format
Source: https://github.com/Postalocity/template-microsite/tree/main/.opencode/skills/auto-format
Command: npx skills add https://github.com/Postalocity/template-microsite --skill auto-format-postalocity

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Automates the formatting and styling of code across a project to ensure consistency and readability, reducing manual formatting time.

Core Features & Use Cases

  • Automatic code formatting according to project style guidelines
  • Enforces naming conventions and lint-related style rules
  • Use case: When onboarding new contributors, run auto-format to align code style across the codebase.

Quick Start

Run auto-format on the working tree to enforce the project style across all files.

Frequently Asked Questions about auto-format

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

FAQPage Schema
How do I automatically format code to enforce consistent style across a project?

Automatically format code by running configured formatters and lint-fix capabilities across the working tree to apply uniform style rules. This ensures codebase consistency and reduces manual formatting time for the entire team.

What's the best way to enforce code style guidelines during pre-commit checks?

Enforce code style guidelines by integrating automatic formatting into pre-commit checks and CI pipelines. Running formatters on the working tree reformats code and addresses lint errors automatically before changes are merged.

Do I need any external dependencies to run automatic code formatting and lint fixing?

No external dependencies are required to run automatic code formatting. The tool relies internally on configured formatters and lint-fix capabilities to automatically reformat code and address lint errors without extra setup.

Can I use automatic formatting to align code style when onboarding new contributors?

Yes, you can use automatic formatting to align code style when onboarding new contributors. Running auto-format on the working tree enforces project style guidelines across all files for uniform formatting.

Does automatic code formatting work across different programming languages?

Automatic code formatting is applicable to software projects requiring uniform formatting across languages and teams. It uses configured formatters and style rules to automate reformatting regardless of the specific programming language.