git-commit-helper

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

显著提升代码提交质量与效率,适合日常开发者使用。

这个 Skill 做什么

自动修复常见预提交问题、生成提交信息并给出推送与部署指引。

自动修复常见的 pre-commit 小问题(比如多余的调试打印),把变更正确暂存并生成规范的 commit message,还会给出推送与部署的后续指引。在本地开发、修复或准备提交代码时使用,能把提交前的琐碎检查和格式问题自动搞定。特点是把提交流程标准化、减少人为错误,并且直接告诉你下一步怎么 push 和监控部署。

▸ 展开 SKILL.md 英文原文

Assists with git commits by fixing common pre-commit issues (e.g., print() statements), staging changes, generating commit messages, and providing deployment instructions. Use when preparing to commit and push changes, especially after local development or fixes.

开发编程git提交消息格式化通用
2
Stars
0
Forks
33
仓库内 Skill
+0
7 日增星
安装 / 使用
给你的 Agent 一句话(通用)
帮我安装这个 skill:https://raw.githubusercontent.com/Balizero1987/Teman2/main/skills/git-commit-helper/git-commit-helper/SKILL.md
或 curl 直取 SKILL.md
curl -fsSL "https://raw.githubusercontent.com/Balizero1987/Teman2/main/skills/git-commit-helper/git-commit-helper/SKILL.md"
SKILL.MD 节选查看完整文件 ↗
# Git Commit Helper

## Overview

This skill streamlines the `git commit` process by automating common pre-commit tasks, handling commit message generation, and providing clear instructions for subsequent `git push` and deployment monitoring. It aims to improve developer workflow efficiency and adherence to project standards.

## Workflow

The `git-commit-helper` executes the following steps:

1.  **Identify and Fix Pre-commit Issues:**
    - Scans staged Python files for `print()` statements and automatically replaces them with `logging` calls (`logger.info`, `logger.error`, etc.).
    - Ensures `import logging` and `logger = logging.getLogger(__name__)` are present in affected files.
    -
via SKILL·HOT · 数据来自 GitHub 公开信息 · 原文版权归作者所有