AgentSkillsCN

git

Git 操作指南,提供常见 Git 任务的详细操作步骤。 适用场景: - 编写提交信息(遵循 Conventional Commits 格式); - 理解 Git 工作流。

SKILL.md
--- frontmatter
name: git
description: |
  Git operations guide. Provides how-to for common git tasks.
  Use when:
  - Writing commit messages (Conventional Commits format)
  - Understanding git workflows

Git Skill

Guide for Git operations. For mandatory rules and permissions, see rules/git-github.md.

1. Commit Message Format (Conventional Commits)

text
<type>: <brief description> (#<Issue number>)

<detailed description>

## Summary

- Same as detailed description is OK

## Background

- Briefly explain the background and purpose

## Changes

- Specific change 1
- Specific change 2

## Technical Details

- Technical implementation details
- Reasons for design decisions
- Focus on "why" throughout

## Verification

- Describe verification if performed

## Related URLs

- <Related Issue>
- <External URL>
- Others if applicable

1.1. Type Examples

TypeDescription
featNew feature
fixBug fix
docsDocumentation only
styleFormatting, no code change
refactorCode change without fix/feat
testAdding/updating tests
choreMaintenance, dependencies

2. Related Resources

ResourcePurpose
rules/git-githubMandatory rules and permissions
skills/githubGitHub-specific operations