brief
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseProject Toolchain Detection
项目工具链检测
Use to understand a project's toolchain before doing any work. It detects languages, package managers, test runners, linters, formatters, build tools, CI, and more.
brief在开展任何工作前,使用来了解项目的工具链。它可以检测编程语言、包管理器、测试运行器、代码检查器、格式化工具、构建工具、CI等各类工具。
briefCommands
命令
Scan a project:
bash
brief .See what changed on this branch:
bash
brief diffFind missing recommended tooling:
bash
brief missing .Enrich with external metadata (download counts, dependents, OpenSSF Scorecard, runtime EOL):
bash
brief enrich .Scan a remote repo or registry package:
bash
brief https://github.com/expressjs/express
brief npm:express
brief gem:rails
brief pypi:requests扫描项目:
bash
brief .查看当前分支的变更内容:
bash
brief diff查找缺失的推荐工具:
bash
brief missing .补充外部元数据(下载量、依赖项、OpenSSF Scorecard、运行时终止支持信息):
bash
brief enrich .扫描远程仓库或注册表包:
bash
brief https://github.com/expressjs/express
brief npm:express
brief gem:rails
brief pypi:requestsOutput
输出格式
JSON when piped, human-readable on a TTY. Force either with or . Filter to a single category with .
--json--human--category testUse to include homepage, docs, and repo links for each detected tool.
--verbose通过管道输出时为JSON格式,在TTY终端上为人类可读格式。可使用或强制指定输出格式。使用可过滤至单个类别。
--json--human--category test使用参数可包含每个检测到的工具的主页、文档及仓库链接。
--verboseWhen to use
使用场景
- At the start of a conversation to understand the project
- Before suggesting tools or configurations
- When the user asks what tools are configured
- When reviewing a branch to understand which parts of the toolchain are affected
- When checking for tooling gaps before setting up CI or improving DX
- 在开启项目沟通前了解项目情况
- 在建议工具或配置之前
- 当用户询问已配置哪些工具时
- 审查分支时,了解工具链的哪些部分受到影响
- 在搭建CI或提升开发者体验(DX)前检查工具缺口