# 使用 Homebrew 安装 style-check

查看 style-check 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

## 安装

```sh
sudo av install brew:style-check
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install style-check
```

  证据: local Homebrew formula metadata

## 软件包事实

- **软件包键:** brew:style-check
- **软件包管理器:** Homebrew
- **版本:** 0.14
- **来源摘要:** Parses latex-formatted text in search of forbidden phrases
- **主页:** <https://www.cs.umd.edu/~nspring/software/style-check-readme.html>
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- style-check.rb (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 0.14
## 项目历史与用法

style-check is a small Ruby command-line checker for LaTeX writing that flags regular-expression-defined forbidden phrases, spellings, syntax patterns, and capitalization rules.

### 项目历史

Neil Spring's official README presents style-check as a personal writing aid: when the author notices a mistake identifiable by a regular expression, he adds it to the ruleset and runs the checker over LaTeX-formatted papers.

The source file carries a 2004 copyright notice and describes the script as a quick check against verbose phrases, overused expressions, misspellings, and inconsistent capitalization or hyphenation, while explicitly saying it is not a substitute for a proofreader.

### 采用历史

The input package facts list style-check as a Homebrew package only, which matches its character as a narrow academic-writing utility rather than a broad ecosystem tool.

Its package-manager presence is still useful because the executable and default rule locations make it easy to install into local writing or build workflows without copying a standalone Ruby script by hand.

### 使用方式

The checker reads rule files from /etc/style-check.d, ~/.style-check.d, ~/.style-censor, ./style-censor, and related historical paths, then scans TeX files for expressions annotated with justifications.

The script supports options for gedit-style output, verbosity, HTML output, and overriding rule paths, making it suitable for editor or document-build integration.

### 为什么软件包爱好者会关心

style-check matters to package nerds as the kind of tiny, opinionated script that package managers preserve well: one executable, no service, text files for policy, and enough configurability to fit local workflows.

It also shows an older Unix style of linting prose with plain files and regular expressions, before modern grammar SaaS tools became common.

### 时间线

- 2004: The style-check.rb source carries a copyright notice for Neil Spring.
- 2010s: The official README describes rule-file based checking for LaTeX-formatted text.
- 2026: Input package facts list style-check as available through Homebrew.

### Related projects

- LaTeX is the document format style-check is designed to scan.
- Editor and build integrations are natural companions because the tool reports line-oriented findings from source text.

### 来源

- <https://github.com/nspring/style-check/blob/master/style-check.rb>
- <https://www.cs.umd.edu/~nspring/software/style-check-readme.html>
- input.source_facts.package-manager


## 安全说明

narrow executable package without higher-risk signals.

- **Geiger 风险:** 绿色 / 低
- narrow executable package without higher-risk signals


## Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.


## Configuration files

- Unix: /etc/style-check.d/*, ~/.style-check.d/*, ~/.style-censor, ./style-censor, ~/.style-checkrc

## Combined YAML source

View the package source record on GitHub. [combined/style-check.yml](https://github.com/mxcl/pkgdb/blob/main/combined/style-check.yml)


## 来源

- pkg.so package database
- Geiger risk classifier
- curated configuration and credential file locations
- curated package history
- pkgdb category and tag curation
- cross-ecosystem install command graph
