·code-quality
</>

code-quality

在搭建或启动新项目时设置格式化、linting、导入排序、类型检查和预提交挂钩。每当创建新项目、初始化存储库、构建应用程序或当用户要求向现有项目添加 linting/formatting 时,请使用此技能。触发:“新项目”、“脚手架”、“初始化”、“设置 linting”、“添加格式化程序”、“添加预提交挂钩”、“配置生物群系”、“配置 ruff”。我们的目标是从第一天起就建立代码质量工具,以便逐步发现问题,而不是在以后进行痛苦的批量修复。

9安装·0热度·@rarestg

安装

$npx skills add https://github.com/rarestg/rarestg-skills --skill code-quality

如何安装 code-quality

通过命令行快速安装 code-quality AI 技能到你的开发环境

  1. 打开终端: 打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等)
  2. 运行安装命令: 复制并运行以下命令:npx skills add https://github.com/rarestg/rarestg-skills --skill code-quality
  3. 验证安装: 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code、Cursor 或 OpenClaw 中使用

来源:rarestg/rarestg-skills。

SKILL.md

查看原文

When starting or scaffolding any project, set up formatting, linting, import sorting, type checking, and pre-commit hooks before writing application code. This prevents the painful scenario of adding these tools later and facing thousands of lines of formatting changes in a single commit.

Determine the project type from existing files or the scaffolding context:

| pyproject.toml, setup.py, requirements.txt, .py files | Python | | package.json, tsconfig.json, .ts/.js/.tsx files | JavaScript/TypeScript | | Both present | Monorepo — configure each ecosystem separately |

在搭建或启动新项目时设置格式化、linting、导入排序、类型检查和预提交挂钩。每当创建新项目、初始化存储库、构建应用程序或当用户要求向现有项目添加 linting/formatting 时,请使用此技能。触发:“新项目”、“脚手架”、“初始化”、“设置 linting”、“添加格式化程序”、“添加预提交挂钩”、“配置生物群系”、“配置 ruff”。我们的目标是从第一天起就建立代码质量工具,以便逐步发现问题,而不是在以后进行痛苦的批量修复。 来源:rarestg/rarestg-skills。

可引用信息

为搜索与 AI 引用准备的稳定字段与命令。

安装命令
npx skills add https://github.com/rarestg/rarestg-skills --skill code-quality
分类
</>开发工具
认证
收录时间
2026-02-22
更新时间
2026-03-11

Browse more skills from rarestg/rarestg-skills

快速解答

什么是 code-quality?

在搭建或启动新项目时设置格式化、linting、导入排序、类型检查和预提交挂钩。每当创建新项目、初始化存储库、构建应用程序或当用户要求向现有项目添加 linting/formatting 时,请使用此技能。触发:“新项目”、“脚手架”、“初始化”、“设置 linting”、“添加格式化程序”、“添加预提交挂钩”、“配置生物群系”、“配置 ruff”。我们的目标是从第一天起就建立代码质量工具,以便逐步发现问题,而不是在以后进行痛苦的批量修复。 来源:rarestg/rarestg-skills。

如何安装 code-quality?

打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/rarestg/rarestg-skills --skill code-quality 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code、Cursor 或 OpenClaw 中使用

这个 Skill 的源码在哪?

https://github.com/rarestg/rarestg-skills

详情

分类
</>开发工具
来源
skills.sh
收录时间
2026-02-22