Token导航 LogoToken导航TokenDH.com
开发需要联网github未标认证来源可访问clear审计通过

commit提交

Agent Skill

commit 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

682

周安装

29

GitHub Stars

32

下载量

239
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

3

许可证

MIT

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/steveclarke/dotfiles --skill commit

简介

commit 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合围绕项目状态和协作事项进行整理。

  • 它适用于提交消息生成和版本控制场景,帮助 Agent 完成代码提交任务。
  • 通过 npx skills add 命令从 GitHub 仓库安装,具体用法可参考原始 README 和 SKILL.md。
  • 安装前需确认权限范围和维护状态,注意是否涉及联网、命令执行或文件读写操作。
  • commit 属于开发类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

Commit Messages

Follow these conventions when creating commits.

Prerequisites

Before committing, ensure you're working on a feature branch, not the master branch.

# Check current branch
git branch --show-current

If you're on master, create a new branch first:

# Create and switch to a new branch
git checkout -b <type>/<brief-description>

Branch Naming

Branch names follow the pattern:

{type}/{brief-description}

For work tied to a feature epic, include the feature ID:

{type}/{feature-id}-{brief-description}

Examples:

  • feat/add-user-auth - Adding authentication
  • feat/FT050-workflow-automation - Feature epic work
  • fix/resolve-link-validation - Bug fix
  • docs/workflow-guide - Documentation
  • chore/update-ruby-version - Dependencies

Commit Format

<type>: <summary>

<body>

<footer>

The summary is required. Body and footer are optional but helpful when context is needed.

Commit Types

TypePurpose
featNew feature
fixBug fix
docsDocumentation only
styleCode formatting (no logic change)
refactorCode restructuring (no behavior change)
testAdding or modifying tests
choreBuild tools, dependencies, configs

Summary Rules

  • Under 50 characters - Get to the point
  • Imperative mood - "Add feature" not "Added feature"
  • Capitalize first word - "Add feature" not "add feature"
  • No period at end - Save the character

Body Guidelines

Use the body to explain why, not how. The code shows how; the commit explains why.

  • Use imperative mood and present tense
  • Wrap lines at 72 characters
  • Include motivation for the change
  • Contrast with previous behavior when relevant

Examples

Simple change (no body needed)

docs: fix typo in workflow guide

Feature with context

feat: add link archival endpoint

Implement POST /api/v1/links/:id/archive endpoint to allow
marking links as archived without deletion. Includes validation
and database migration.

Bug fix

fix: resolve popup not opening on Firefox

The popup.html failed to load on Firefox due to CSP issues.
Updated manifest.json with proper permissions.

Dependency update

chore: update Docker base image to Ruby 3.4.2

Bump base image for security patches and performance improvements.

Refactor

refactor: extract link validation to service

Move duplicate validation code from three endpoints into a shared
validator class. No behavior change.

Test addition

test: add archival endpoint tests

Commit Frequency

Commit after completing logical chunks of work. Each commit should be a checkpoint—a coherent piece of work that makes sense on its own.

git commit -m "feat: add archival endpoint skeleton"
git commit -m "feat: add archival validation logic"
git commit -m "test: add archival endpoint tests"
git commit -m "docs: document archival API endpoint"

Small, focused commits are easier to review and easier to revert if needed.

Squash Merge Note

We use squash merges for all PRs. Your individual commits get combined into a single, clean commit when merged to master. This means:

  • Don't stress over "fix typo" commits during development
  • The final squash commit message gets polished at merge time
  • Master history shows one commit per PR

Issue References

If your project uses issue tracking (GitHub Issues, Jira, Linear, etc.), reference issue IDs in PR titles or branch names, not commit messages. This enables automatic linking and status updates.

Branch: feat/GH-128-add-user-auth PR title: feat: add user authentication #128

Principles

  • Each commit should be a single, coherent change
  • Commits should be independently understandable
  • Focus on why the change was made, not what changed

References

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

04

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

能力 5

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

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

平台分布

windsurf

27.38%
按下载量换算65

OpenCode

22.05%
按下载量换算53

Codex

17.58%
按下载量换算42

Claude Code

12.56%
按下载量换算30

Antigravity

7.2%
按下载量换算17

Gemini CLI

3.35%
按下载量换算8

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

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

来源信息

继续浏览同类 Skills