treefmt
Installation
Review the source and dependencies with a prompt. A package is available to download.
Install with an AI assistant
Copy the prompt so your assistant can review the pinned revision and dependencies first.
View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "treefmt" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-38f4e89896bdc65e7ce7865cab8fa97c6e6f290e383fd603404f8cd3d4dc75c6. Verify the upstream source and version against https://skillhub.cn/skills/user_3c6cb52e/run-one-formatter-plan-across-a-mixed-language-repo-and-keep-generated-edits-predictable-with-treefmt before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.
Source and setup
skillhub.cn
Setup guidance pending
See the original source for supported tools, dependencies, and permissions.
Installation test pending
A tool to use when an agent needs repository-level formatting across multiple languages, replacing ad hoc concatenation of format commands to unify repository-wide formatting plans.
Introduction source: third_party · user_3c6cb52e · 1.0.0 Reference
SkillPi interpretation
- Tasks
- Translation pending; see source documentation.
- Audience
- Not specified in the source documentation.
- Inputs and outputs
- Not specified in the source documentation.
- Software, accounts and paid services
- treefmt, the underlying language formatters you plan to invoke, a repository-level treefmt configuration file, and shell access.
- Limits and differences
- Not specified in the source documentation.
- Testing
- Not tested
Browse files
Frontmatter
name: "在混合语言仓库中运行一个格式化计划,并使用 treefmt 保持生成的编辑可预测"
slug: "run-one-formatter-plan-across-a-mixed-language-repo-and-keep-generated-edits-predictable-with-treefmt"
version: "1.0.0"
displayName: "在一个混合语言的仓库中运行一个格式化计划,并使用 treefmt 保持生成的编辑是可预测的"
summary: "当代理需要在多种语言中使用仓库级别的格式化计划时,请使用 treefmt,而不是临时拼接格式化命令。"
license: "MIT"
description: "当代理需要在多种语言中使用仓库级别的格式化计划时,请使用 treefmt,而不是临时拼接格式化命令。"
github_stars: 977
verification: "security_reviewed"
source: "https://github.com/1991513ccie-png/skills"
author: "1991513ccie-png"
publisher_type: "individual"
category: "Code Quality & Review"
framework: "Multi-Framework"
tool_ecosystem:
github_repo: "1991513ccie-png/skills"
github_stars: 977
npm_package: "treefmt"
npm_weekly_downloads: 18627在一个混合语言的仓库中运行一个格式化计划,并使用 treefmt 保持生成的编辑是可预测的
Use treefmt when an agent needs one repo-level formatting plan across multiple languages instead of stitching formatter commands together ad hoc.
Prerequisites
treefmt, the underlying language formatters you plan to invoke, a repository-level treefmt configuration file, and shell access.
Installation
Basic usage or getting-started notes:
-
What if that single command would handle all the formatters in parallel? And only format files that have changed since the previous run?
-
When formatters are run in a script, they process all the files they encounter, regardless of whether or not
-
You can install treefmt by downloading the binary. Find the binaries for different architectures here.
-
Extracted from upstream docs: https://raw.githubusercontent.com/numtide/treefmt/HEAD/README.md
Documentation
Current listing version
1.0.0
Safety and assessment details
Quality assessment
Out of 100 · Assessment report from SkillPi LAB.
Highlights
- 提供跨多语言的仓库级格式化统一方案,解决混合语言项目中的实际开发痛点
- 相比临时拼接格式化命令,能显著提升格式化流程的可预测性和效率
Areas to improve
-
description写错位置 Reported severity: Minor
触发描述仅存在于 skill_body 内部,未在 frontmatter 的 description 字段提供完整触发词
Recommendation: 建议将核心触发描述补充到 frontmatter 的 description 字段,便于平台准确识别和匹配用户意图
Highlights
- 使用场景描述清晰,明确针对多种语言仓库的格式化需求
Areas to improve
-
缺少When to Use/示例章节 Reported severity: Minor
文档缺少具体的使用示例和明确的步骤划分,用户难以快速理解执行流程
Recommendation: 建议补充端到端的使用示例,展示从安装到实际运行的完整流程
Highlights
- 文档结构基本完整,包含先决条件、安装和文档链接等必要章节
Areas to improve
-
异常处理覆盖不足 Reported severity: Minor
未说明如何验证下载的二进制文件完整性,也未覆盖网络下载失败、权限问题等常见异常场景
Recommendation: 建议补充二进制验证方法和常见异常的处理建议,提升执行可靠性
Highlights
- 依赖来源明确,指向官方 GitHub 仓库和文档,工具链清晰
The arithmetic mean of the first four original scores, rounded to a whole number.
Static text checks
100 / 100 · skillpi-20261123-no-r3-v1
No current rules matched the text.
This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.
Permissions and checks before use
Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.
These common operations were not identified in the main document. This does not mean no permissions or risks exist.
Domains or addresses referenced in the document
These addresses may be documentation links or examples, not an approved network allowlist. Verify actual destinations and outgoing data before use.
- github.com
- raw.githubusercontent.com
- treefmt.com
Security rating and access scope
safe · Static evidence review; not a runtime safety guarantee.
treefmt, the underlying language formatters you plan to invoke, a repository-level treefmt configuration file, and shell access.
Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.
User discussion
No verified reviews yet.