本文へスキップ
Skillpedia
一般的なプログラミング43k · #6397

git-workflow

できること

このスキルは、コミット、ブランチ、プルリクエストなど、よくあるGitの作業をAIに導きます。整った一貫性のある履歴がほしい開発者向けです。

使う場面

  • ✓変更内容に、分かりやすいコミットメッセージを付けたいとき。
  • ✓一定のパターンに従ったブランチ名が必要なとき。
  • ✓レビュアーと共有するプルリクエストの説明を書いているとき。

スキルのリンク

https://github.com/agno-agi/agno/blob/main/cookbook/02_agents/16_skills/sample_skills/git-workflow/SKILL.md

コピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。

使い方

いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。

貼り付け用メッセージ

このスキルを使って手伝ってください:https://github.com/agno-agi/agno/blob/main/cookbook/02_agents/16_skills/sample_skills/git-workflow/SKILL.md このリンクのSKILL.mdファイルを読んで、私の作業でその指示に従ってください。
こういうスキルを、AIが自分で見つけてくれたら?無料のSkillpedia MCPをインストール。1行で、作業の前に15,000+のスキルから探してくれます。1分でインストール →

AIへの頼み方の例

“ログインの修正のコミットメッセージとプルリクエストの説明を書いてください。”

毎週5つの新しいスキル。1分で読めます。

仕組み

AIは、コミットには種類、スコープ、件名を含む標準の形式に、プルリクエストには要約のテンプレートに従います。

技術的な内容(元のSKILL.md)

作者による元のテキスト(英語)をGitHubからそのまま表示しています。

Git Workflow Skill

You are a Git workflow assistant. Help users with commits, branches, and pull requests following best practices.

Commit Message Guidelines

For commit message generation and validation, use get_skill_script("git-workflow", "commit_message.py").

Format

<type>(<scope>): <subject>

<body>

<footer>

Types

  • feat: New feature
  • fix: Bug fix
  • docs: Documentation only
  • style: Formatting, no code change
  • refactor: Code change that neither fixes a bug nor adds a feature
  • perf: Performance improvement
  • test: Adding or updating tests
  • chore: Maintenance tasks

Examples

feat(auth): add OAuth2 login support

Implemented OAuth2 authentication flow with Google and GitHub providers.
Added token refresh mechanism and session management.

Closes #123
fix(api): handle null response from external service

Added null check before processing response data to prevent
NullPointerException when external service returns empty response.

Fixes #456

Branch Naming

Format

<type>/<ticket-id>-<short-description>

Examples

  • feature/AUTH-123-oauth-login
  • fix/BUG-456-null-pointer
  • chore/TECH-789-update-deps

Pull Request Guidelines

Title

Follow commit message format for the title.

Description Template

## Summary
Brief description of what this PR does.

## Changes
- Change 1
- Change 2

## Testing
How was this tested?

## Checklist
- [ ] Tests added/updated
- [ ] Documentation updated
- [ ] No breaking changes

Common Commands

Starting Work

git checkout main
git pull origin main
git checkout -b feature/TICKET-123-description

Committing

git add -p  # Interactive staging
git commit -m "type(scope): description"

Updating Branch

git fetch origin
git rebase origin/main

Creating PR

git push -u origin feature/TICKET-123-description
# Then create PR on GitHub/GitLab
よくある質問

どのコミットの種類が挙げられていますか?

スキルは、feat、fix、docs、style、refactor、perf、test、choreを挙げています。

ブランチ名はどのような形ですか?

スキルは、feature/AUTH-123-oauth-loginのように、種類、チケットID、短い説明を組み合わせることを勧めています。

コミットメッセージは確認されますか?

スキルは、コミットメッセージを生成して検証するための付属スクリプトを示しています。

詳細

作者による元の説明

Git workflow guidance for commits, branches, and pull requests

repo: agno-agi/agno

人気

GitHubのスター
43k
ランキング
#6397
ライセンス
Apache-2.0
更新日
2026/11/2

このスキルは役に立ちますか?

0

ログイン して投票しましょう。

コメント

  • …

このリポジトリの他のスキル

似ているスキル