OlympHill
Treefmt (Grade A) logo

Treefmt (Grade A)Security-tested data-ai skill for Claude AI. Grade A. treefmt-nix and nix fmt guide. Unified formatting and linting with treefmt. Use when configuring or running nix fmt, treefmt, or adding formatters

(0)
Daniel NikulshynReviewed by Daniel Nikulshyn·Updated July 2026

Overview

Treefmt is a tool for unified formatting and linting of multiple language files in a project. It is used with Nix projects for configuring and running nix fmt, treefmt, or adding formatters/linters. Treefmt-nix is a wrapper for managing treefmt with the Nix module system. The nix fmt command calls the formatter output of the flake. Treefmt-nix integrates with nix fmt, making treefmt the underlying tool that runs all configured programs. Treefmt not only includes formatters like nixfmt, prettier, and rustfmt but also linters and checkers such as actionlint, deadnix, and shellcheck.

Key features

  • Unified formatting and linting
  • Support for multiple languages and tools
  • Customizable settings for formatters and linters
  • Integration with Nix module system

Pricing

Model
Free
Category
Skills
Rating
No reviews yet

Use cases

Nix Project Configuration

Use treefmt-nix to configure and manage formatters and linters for a Nix project.

Code Formatting and Linting

Run treefmt to format and lint code files in a project, supporting multiple languages.

Pros & Cons

Pros

  • Unified formatting and linting for multiple languages
  • Supports over 100 programs including formatters, linters, and checkers
  • Integrates with Nix module system for easy management

Cons

  • Requires Nix project setup
  • Steep learning curve due to extensive feature set

Reviews

Sign in to leave a review.

No reviews yet. Be the first!

Q&A

What is a con of using Treefmt?

Requires Nix project setup and has a steep learning curve due to extensive feature set.

Asked by Linda Petersen · Oct 16, 2025

What are the pros of using Treefmt?

Unified formatting and linting for multiple languages, supports over 100 programs, and integrates with Nix module system.

Asked by Lior Ben-David · Sep 28, 2025

What are the key features?

Unified formatting and linting, support for multiple languages and tools, customizable settings, and integration with Nix module system.

Asked by Kalinda Reddy · Sep 25, 2025

What is Treefmt?

Treefmt is a tool for unified formatting and linting of multiple language files in a project.

Asked by Miriam Cohen · Aug 25, 2025

Ask a question

Skills alternatives

Manage Headers (Grade A) logo

Manage Headers (Grade A)

Skills

Security-tested development skill for Claude AI. Grade A. Inspects and configures the security headers a Power Pages site sends to browsers — Content Security Policy, frame and clickjacking protection

(0)
Free
Using Git Worktrees (Grade A) logo

Using Git Worktrees (Grade A)

Skills

Security-tested data-ai skill for Claude AI. Grade A. Use when starting feature work that needs isolation from current workspace or before executing implementation plans - creates isolated git worktre

(0)
Free
Ga4 Bigquery Schema (Grade A) logo

Ga4 Bigquery Schema (Grade A)

Skills

Security-tested data-ai skill for Claude AI. Grade A. GA4 BigQuery Export Schema Reference — complete field reference, nested structures, query patterns, and performance tips

(0)
Free
Meta Capi (Grade A) logo

Meta Capi (Grade A)

Skills

Security-tested data-ai skill for Claude AI. Grade A. Meta Conversions API (CAPI) Setup Reference — architecture, event types, customer information hashing, deduplication, implementation examples, AEM

(0)
Free
Callees (Grade A) logo

Callees (Grade A)

Skills

Security-tested development skill for Claude AI. Grade A. Lista o que uma funcao/metodo chama (call graph direto)

(0)
Free
Test Module Name (Grade A) logo

Test Module Name (Grade A)

Skills

Security-tested data-ai skill for Claude AI. Grade A. Name Haskell test modules after the module under test with a Spec suffix in the same namespace. Use when writing or reviewing Haskell test module

(0)
Free
Board Of Directors (Grade A) logo

Board Of Directors (Grade A)

Skills

Security-tested data-ai skill for Claude AI. Grade A. Simulate a 5-member expert board deliberation for major decisions. Use when evaluating plans, architecture choices, feature designs, or any decisi

(0)
Free
Advpl Mvc Avancado (Grade A) logo

Advpl Mvc Avancado (Grade A)

Skills

Security-tested development skill for Claude AI. Grade A. MVC avançado via PE (Pontos de Entrada) — adicionar grids customizadas em telas MVC padrão (CNTA300/MATA070/MATA440/MATA460/FINA040 via *STRU)

(0)
Free