跳到主要内容
知仓学习社ZHICANG

review-tooling

Detect what dev tooling infrastructure a project has and flag gaps across linters, formatters, pre-commit hooks, test runners, and CI/CD pipelines. …

不碰外部(只输出文字)无严重或高危命中tobihagemann/turbo

它会碰到什么

扫了多少1 个文本文件,6 KB
它会碰到什么不碰外部(只输出文字)
命中总数0 处
命中统计严重 0 · 高 0 · 中 0 · 低 0

这一栏是扫描器报的事实,不是结论。命中多不等于有毒(安全工具、规则库、示例脚本本来就会包含危险写法),命中少也不等于干净。它和你手上的凭据、文件、网络有什么关系,需要你自己看。

技能内容

Review Tooling

Detect dev tooling infrastructure and flag gaps. Analysis only. Does not install or configure tools.

Scope

Tooling review always operates at the project level since config files live at the project root. Scope parameters (diff commands, file lists) are accepted but ignored.

When called standalone, use the git repository root as the project root (fall back to the current working directory if not in a git repo).

Step 1: Detect Tooling

Search for config files in the project root and subdirectories (exclude vendored directories like node_modules/, vendor/, .build/). Classify findings into five categories:

Linters

| Config file pattern | Tool |

|---|---|

| .eslintrc, eslint.config. | ESLint |

| biome.json, biome.jsonc | Biome (linter + formatter) |

| deno.json, deno.jsonc with lint config | Deno lint |

| .swiftlint.yml | SwiftLint |

| ruff.toml, [tool.ruff] in pyproject.toml | Ruff |

| .pylintrc, pylintrc | Pylint |

| .flake8, [flake8] in setup.cfg | Flake8 |

| .rubocop.yml | RuboCop |

| .golangci.yml, .golangci.yaml | golangci-lint |

| clippy.toml, .clippy.toml | Clippy |

| ktlint*, .editorconfig with ktlint | ktlint |

Formatters

| Config file pattern | Tool |

|---|---|

| .prettierrc, prettier.config. | Prettier |

| biome.json, biome.jsonc | Biome (linter + formatter) |

| deno.json, deno.jsonc with fmt config | Deno fmt |

| .swift-format, .swiftformat | swift-format / SwiftFormat |

| [tool.black] in pyproject.toml, pyproject.toml with [tool.ruff.format] | Black / Ruff formatter |

| rustfmt.toml, .rustfmt.toml | rustfmt |

| gofmt / goimports (check CI config or Makefile for usage) | gofmt |

| .clang-format | ClangFormat |

Pre-commit Hooks

| Config file pattern | Tool |

|---|---|

| .husky/ directory | Husky |

| .lintstagedrc*, lint-staged key in package.json | lint-staged |

| .pre-commit-config.yaml | pre-commit framework |

| .git/hooks/pre-commit (non-sample) | Custom git hook |

| .lefthook.yml, lefthook.yml | Lefthook |

Test Runners

| Config file pattern | Tool |

|---|---|

| jest.config.*, jest key in package.json | Jest |

| vitest.config.* | Vitest |

| pytest.ini, [tool.pytest] in pyproject.toml, conftest.py | pytest |

| Package.swift with test targets, *Tests/ directories | Swift Testing / XCTest |

| _test.go files | Go testing |

| Cargo.toml with [dev-dependencies], tests/ directory | Rust tests |

| .rspec, spec/ directory | RSpec |

| phpunit.xml* | PHPUnit |

CI/CD Pipelines

| Config file pattern | Tool |

|---|---|

| .github/workflows/*.yml | GitHub Actions |

| .gitlab-ci.yml | GitLab CI |

| Jenkinsfile | Jenkins |

| .circleci/config.yml | CircleCI |

| bitbucket-pipelines.yml | Bitbucket Pipelines |

| .travis.yml | Travis CI |

| azure-pipelines.yml | Azure Pipelines |

These tables are not exhaustive. If the project uses a tool not listed here, detect it by recognizing its config files.

Step 2: Identify the Project Ecosystem

Determine the primary language(s) and ecosystem from config files and source code. This informs which tooling gaps are relevant. A Go project without Prettier is not a gap. A Node.js project without a linter is.

| Signal | Ecosystem |

|---|---|

| package.json | Node.js / JavaScript / TypeScript |

| Package.swift, *.xcodeproj | Swift / Apple |

| pyproject.toml, setup.py, requirements.txt | Python |

| go.mod | Go |

| Cargo.toml | Rust |

| Gemfile | Ruby |

| pom.xml, build.gradle* | Java / Kotlin |

| deno.json, deno.jsonc | Deno |

Step 3: Analyze Gaps

For each category, assess whether the project has adequate tooling for its ecosystem:

  • Present and configured — tool detected with config file
  • Partially configured — tool detected but config appears minimal or default
  • Missing — no tool detected for a category where one is standard for the ecosystem

When assessing pre-commit hooks, also check whether detected linters and formatters are wired into the hooks. A project with ESLint and Prettier but no pre-commit hook means formatting issues can slip into commits.

When assessing CI/CD, check whether the pipeline runs tests and linters. A CI config that only builds but never tests is a gap.

Output Format

Format each finding as:

### [P<N>] <title (imperative, <=80 chars)>

**Category:** <Linters | Formatters | Pre-commit Hooks | Test Runners | CI/CD>

<one paragraph: what is missing or misconfigured and why it matters for this project>

After all findings, add:

## Tooling Summary

| Category | Status | Tool(s) |
|---|---|---|
| Linters | <Present/Partial/Missing> | <detected tools or "—"> |
| Formatters | <Present/Partial/Missing> | <detected tools or "—"> |
| Pre-commit Hooks | <Present/Partial/Missing> | <detected tools or "—"> |
| Test Runners | <Present/Partial/Missing> | <detected tools or "—"> |
| CI/CD | <Present/Partial/Missing> | <detected tools or "—"> |

## Overall Verdict

**Tooling:** <well-equipped | gaps found>

<1-3 sentence summary>

If all categories are adequately covered, report that and highlight what the project does well.

Priority Levels

  • P0 — No test runner detected for a project with source code
  • P1 — No linter for the primary language, or CI/CD pipeline exists but skips tests
  • P2 — No formatter, no pre-commit hooks, or linter/formatter not wired into hooks
  • P3 — No CI/CD pipeline, or minor config gaps

想直接用这个技能?

本站把开放许可(MIT / Apache 等)的技能按仓库打包整理到网盘,点一下转存到你自己的网盘,不用一个个从 GitHub 拉。许可未声明的技能只给原始仓库链接,不打包。

它属于哪个仓库

星标★ 403
本站分层T2
该仓技能数153
原文件路径codex/skills/review-tooling/SKILL.md

同一个仓库里的其他技能

看这个仓库的全部 153 个技能

同名技能的其他版本

有 2 个不同仓库或目录里都有叫 review-tooling 的技能。它们内容并不相同,别混用:

  • tobihagemann/turbo — Detect what dev tooling infrastructure a project has and flag gaps across linters, formatt