format

Format code across a detected tech stack using Prettier, Biome, Ruff, Black, dotnet format, or gofmt.

Updated Feb 22, 2026
One-click install
npx skills add https://github.com/phoenixvc/agentkit-forge --skill format-phoenixvc
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: format
Source: https://github.com/phoenixvc/agentkit-forge/tree/main/.agents/skills/format
Command: npx skills add https://github.com/phoenixvc/agentkit-forge --skill format-phoenixvc

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill automates code formatting across various programming languages and frameworks, ensuring consistent code style and saving developers time on manual formatting tasks.

Core Features & Use Cases

  • Automated Code Formatting: Applies standard formatting rules to your codebase.
  • Tech Stack Detection: Automatically identifies and uses the correct formatter for your project (e.g., Prettier, Ruff, Black, cargo fmt).
  • Targeted Formatting: Can format specific files, directories, or the entire workspace.
  • Mode Selection: Supports writing changes, checking for formatting issues, formatting staged files, or only changed files.
  • Use Case: After making several code changes, run this skill to ensure all new code adheres to the project's style guide before committing.

Quick Start

Run the format skill to apply code formatting to the entire workspace.

Frequently Asked Questions about format

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

FAQPage Schema
How do I automatically format code across different programming languages in my project?

Automated code formatting applies standard style rules across detected tech stacks using tools like Prettier, Ruff, Black, or gofmt. The formatter identifies your project's language and applies the appropriate tool to enforce deterministic code style.

Can I check code formatting issues without modifying the files?

Yes, code formatting check mode identifies style issues without writing changes. You can also use staged mode to format only git-staged files or changed mode to target modified files before committing.

Does code formatting work with Python and JavaScript projects simultaneously?

Tech stack detection supports multi-language formatting by applying Black or Ruff for Python and Prettier or Biome for JavaScript. It automatically identifies the correct formatter for each file type in your workspace.

What's the best way to enforce consistent code style before committing changes?

Running code formatting in staged or changed file mode enforces consistent style before commits. This targets only modified files, respecting ignore lists and avoiding generated directories, ensuring new code adheres to style guides.

How does the formatter handle generated directories and ignored files?

Code formatting operates on files while respecting configured ignore lists and automatically avoiding generated directories. This ensures deterministic style enforcement without altering files that should remain untouched.