Token导航 LogoToken导航TokenDH.com
开发敏感数据github未标认证来源可访问clear审计通过

commit-message提交消息

Agent Skill

用于辅助 Python 项目开发、测试、依赖管理和常见框架工作流。它适合让 Agent 阅读 Python 代码、定位测试问题、整理运行命令、生成脚本或分析数据处理逻辑。使用时需要确认项目虚拟环境、依赖版本和测试入口;涉及执行脚本、读写文件、访问数据库或调用外部 API 时,应先明确运行目录和输入输出范围,避免误改生产数据。

总安装

523

周安装

22

GitHub Stars

4

下载量

183
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

3

许可证

MIT

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:commit-message(提交消息)
来源仓库:https://github.com/jiatastic/open-python-skills
仓库路径:skills/commit-message
安装命令:
npx skills add https://github.com/jiatastic/open-python-skills --skill commit-message
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。不同来源提供的安装方式可能略有差异;本站展示可直接复制的安装命令,安装前请核对来源页面。

skills.shnpx skills
npx skills add https://github.com/jiatastic/open-python-skills --skill commit-message

简介

用于辅助 Python 项目开发、测试和依赖管理,适合阅读代码、定位问题、整理命令或生成脚本。

  • 支持常见框架工作流,可分析数据处理逻辑并协助生成测试用例与运行指令。
  • 使用时需确认虚拟环境、依赖版本和测试入口;执行脚本或访问外部资源前应明确目录与数据范围。
  • 安装方式:通过 npx skills add 从指定 GitHub 仓库添加,适用于 Codex、Claude、Cursor 等宿主。
  • 注意避免误改生产数据,涉及文件读写或数据库操作时应先核实权限与输入输出边界。

SKILL.md

commit-message

Analyze git changes and generate context-aware commit messages following Conventional Commits.

Quick Start

# Analyze all changes
python3 .shared/commit-message/scripts/analyze_changes.py --analyze

# Get batch commit suggestions
python3 .shared/commit-message/scripts/analyze_changes.py --batch

# Generate message for specific files
python3 .shared/commit-message/scripts/analyze_changes.py --generate "src/api/*.py"

Commands

CommandDescription
--analyzeShow all changed files with status and categories
--batchSuggest how to split changes into multiple commits
--generate [pattern]Generate commit message for matching files
--stagedOnly analyze staged changes (default: all changes)

Commit Types

TypeDescriptionExample
featNew featurefeat(api): add user authentication
fixBug fixfix(db): resolve connection timeout
refactorCode restructuringrefactor(utils): simplify helper functions
docsDocumentationdocs: update README
testTeststest(api): add user endpoint tests
choreMaintenancechore: update dependencies
styleFormattingstyle: fix linting errors

Batch Commit Workflow

When you have multiple unrelated changes:

  1. Run --batch to see suggested commit groups
  2. Stage files for first commit: git add <files>
  3. Commit with suggested message
  4. Repeat for remaining groups

Grouping Strategy

Files are grouped by:

  • Directory/Module: src/api/, tests/, docs/
  • Change Type: Added vs Modified vs Deleted
  • Semantic Relationship: Related files together

Context-Aware Commit Messages

Note: The analyze_changes.py script provides file grouping and basic suggestions. Use its output as a starting point, then read git diff to understand the actual changes and generate context-aware messages following the examples below.

When generating commit messages, analyze the actual code changes to infer business context. Don't just describe files—describe what the changes accomplish.

Scope Guidelines

The scope should reflect the business module or feature, not just the directory:

Scope TypeExampleWhen to Use
Feature/Modulecompanion, calendar, inboxChanges to a specific product feature
Platformios, android, webPlatform-specific changes
Integrationoutlook, gmail, slackThird-party integration changes
Componentauth, api, dbCore infrastructure changes

Input/Output Examples

Example 1: New Feature

Input (code changes):
  + src/companion/pages/AvailabilityDetailPage.tsx
  + src/companion/pages/AvailabilityActionsPage.tsx
  + src/companion/components/AvailabilityCard.tsx
  M src/companion/navigation/routes.ts

Output:
  feat(companion): add availability detail and actions pages for ios

  - New AvailabilityDetailPage showing time slot details
  - New AvailabilityActionsPage for booking/canceling
  - AvailabilityCard component for list display
  - Updated navigation routes

Example 2: Bug Fix

Input (code changes):
  M src/integrations/outlook/email_sender.py
  M src/integrations/outlook/auth.py

Output:
  fix(outlook): resolve email sending failures due to token expiration

  Refresh OAuth token before sending when close to expiry

Example 3: Multi-platform Change

Input (code changes):
  M ios/Calendar/CalendarView.swift
  M android/calendar/CalendarFragment.kt
  M web/src/calendar/Calendar.tsx

Output:
  feat(calendar): add week view across all platforms

  Implement consistent week view UI for iOS, Android, and web

Example 4: Chore/Maintenance

Input (code changes):
  M package.json
  M yarn.lock
  M requirements.txt

Output:
  chore(deps): update dependencies to latest versions

Writing Good Descriptions

Bad (Generic)Good (Context-Aware)
feat: add new filefeat(payments): add Stripe webhook handler
fix: fix bugfix(auth): prevent session timeout on mobile
chore: update codechore(ci): reduce build time with parallel jobs
refactor: refactor utilsrefactor(api): extract rate limiting to middleware

Key Principles

  1. Read the code - Understand what the changes actually do
  2. Identify the feature - What user-facing or system capability is affected?
  3. Be specific - Include relevant details (platform, integration, component)
  4. Use active voice - "add", "fix", "update", not "added", "fixed", "updated"
  5. Keep it concise - First line under 72 characters

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

04

需要参考平台分布和安装热度时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Claude Code

28.62%
按下载量换算52

OpenCode

23.29%
按下载量换算43

Codex

16.39%
按下载量换算30

windsurf

11.23%
按下载量换算21

github-copilot

6.44%
按下载量换算12

Antigravity

2.98%
按下载量换算5

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。

来源信息

继续浏览同类 Skills