auto-setup

仓库创建 2026年2月2日最近提交 1 天前SkillHot 收录 22 天前
▸ 精选理由

减少上手和标准化仓库配置的时间成本。

这个 Skill 做什么

自动检测项目类型并配置质量门禁、钩子和集成设置。

自动识别仓库的项目类型并把质量门、提交钩子和 CI 集成等基础配置拉好,让新项目或陌生代码库能立即按规范跑起来。加入新项目或要接入 CI 时最省力。特点是根据语言和工具自动匹配合适的工作流,省去手工配置的繁琐步骤。

▸ 展开 SKILL.md 英文原文

Auto-configure quality gates, hooks, and settings for a new project. Detects project type and sets up appropriate tooling. Use when onboarding a new codebase.

开发编程自动配置项目检测CI设置Claude Code
2.7k
Stars
263
Forks
40
仓库内 Skill
+73
7 日增星
安装 / 使用
给你的 Agent 一句话(通用)
帮我安装这个 skill:https://raw.githubusercontent.com/rohitg00/pro-workflow/main/skills/auto-setup/SKILL.md
或 curl 直取 SKILL.md
curl -fsSL "https://raw.githubusercontent.com/rohitg00/pro-workflow/main/skills/auto-setup/SKILL.md"
SKILL.MD 节选查看完整文件 ↗
# Auto Setup

Detect project type and configure pro-workflow quality gates automatically.

## Trigger

Use when:
- Starting work on a new project
- Onboarding to an unfamiliar codebase
- Setting up CI integration

## Detection

### Step 1: Identify Project Type

```bash
ls package.json pyproject.toml Cargo.toml go.mod Gemfile pom.xml build.gradle 2>/dev/null
```

### Step 2: Configure Quality Gates

**Node.js/TypeScript:**
```json
{
  "lint": "npm run lint",
  "typecheck": "npx tsc --noEmit",
  "test": "npm test -- --changed --passWithNoTests",
  "format": "npx prettier --check ."
}
```

**Python:**
```json
{
  "lint": "ruff check .",
  "typecheck": "mypy .",
  "test": "pytest --tb=short -q"
via SKILL·HOT · 数据来自 GitHub 公开信息 · 原文版权归作者所有