Skill822 repo starsupdated 5d ago
setup-pre-commit
This skill configures pre-commit hooks and quality gates for a repository by identifying the project's programming languages and tooling, then establishing an optimal combination of automated checks. Use it when you need to prevent common errors at commit time by running linting, formatting, and type-checking validations locally before code is pushed.
Install in Claude Code
Copygit clone --depth 1 https://github.com/Haohao-end/openagent /tmp/setup-pre-commit && cp -r /tmp/setup-pre-commit/api/internal/core/skills/catalog/setup-pre-commit ~/.claude/skills/setup-pre-commitThen start a new Claude Code session; the skill loads automatically.
Definition
skill.md
# setup-pre-commit 这是一个为仓库配置 pre-commit 相关质量门禁的技能。 ## 适用场景 - 用户想自动化 lint / format / typecheck - 用户要设置 Husky、lint-staged 或 pre-commit hooks - 用户想让本地提交阶段先拦住明显错误 ## 工作方式 1. 先识别仓库用的语言和脚本工具。 2. 选择最少但有效的钩子组合。 3. 把常见检查前移到提交前。
More from this repository
aspnet-coreSkill
cavemanSkill
chatgpt-appsSkill
cli-creatorSkill
cloudflare-deploySkill
code_workbenchSkill
creativeSkill
Use when the user wants a less default, more original solution for code, design, writing, naming, architecture, debugging, or strategy, especially when progress is stuck.
develop-web-gameSkill