技能 managing-branches
🔀

managing-branches

安全 ⚙️ 外部命令

Gitブランチの調査と作成

也可从以下获取: 1gy,C0ntr0lledCha0s

Gitブランチの管理は、特にエラーや同期の問題に対処する際に混乱することがあります。このスキルはブランチの調査と作成を自動化しながら、競合や未コミットの変更などの一般的な問題に対処します。

支持: Claude Codex Code(CC)
📊 69 充足
1

下载技能 ZIP

2

在 Claude 中上传

前往 设置 → 功能 → 技能 → 上传技能

3

开启并开始使用

测试它

正在使用“managing-branches”。 Check the current branch status

预期结果:

  • Current branch: feature/new-api
  • Uncommitted changes: 3 files modified
  • Remote sync: 2 commits ahead of main
  • Remote branches: origin/main is up to date
  • Recommended action: Consider committing or stashing changes before continuing

正在使用“managing-branches”。 Create a feature branch from main

预期结果:

  • Fetching latest changes from origin main
  • Creating new branch feature/user-auth from main
  • Branch created successfully
  • Switched to new branch feature/user-auth
  • No conflicts detected during creation

安全审计

安全
v3 • 1/16/2026

This is a prompt-based Git utility skill with no malicious code. The static scanner incorrectly flagged multiple findings: the 'weak cryptographic algorithm' detections are false positives (the scanner misidentified strings like 'managing-branches' and 'Quick branch status check' as crypto references). The 'external_commands' findings show standard Git commands (git branch, git status, git checkout) that are safe for a branch management skill. The 'filesystem' and 'network' findings are metadata strings, not actual access calls. The skill only uses safe Git commands and does not perform destructive operations.

2
已扫描文件
262
分析行数
1
发现项
3
审计总数

风险因素

⚙️ 外部命令 (1)
审计者: claude 查看审计历史 →

质量评分

38
架构
100
可维护性
85
内容
21
社区
100
安全
91
规范符合性

你能构建什么

ブランチの状態を素早く確認

現在のブランチ、未コミットの変更、同期状況の概要を取得する

ブランチ作成ワークフロー

エラー処理付きの命名規則に従ってフィーチャーブランチを作成する

Git学習補助

ガイド付きのエラー解決手順でGitブランチ操作を学ぶ

试试这些提示

現在のブランチを確認
Check the current branch status. Show me the current branch, any uncommitted changes, and how up-to-date it is with the main branch.
フィーチャーブランチを作成
Create a new branch called feature/my-feature-name from the main branch. Make sure the main branch is up to date first.
ブランチエラーを処理
I got an error when trying to work with branches. Help me resolve it. The error was: [describe error]
競合を解決
Help me resolve merge conflicts in my current branch. First show me what files have conflicts, then guide me through resolving them.

最佳实践

  • ブランチを作成または更新する前に必ずリモートからフェッチする
  • ブランチを切り替える前に未コミットの変更をstashまたはコミットする
  • ブランチの命名規則がチームの標準に一致していることを確認する

避免

  • 名前にスペースや特殊文字を含むブランチを作成する
  • チームの承認なく共有ブランチに強制プッシュする
  • マージ競合を無視して解決しないままにする

常见问题

このスキルはGitHub、GitLab、Bitbucketで使用できますか?
はい、標準のGitコマンドを使用するため、GitHub、GitLab、Bitbucketのいずれでも動作します。
既に存在するブランチを作成しようとするとどうなりますか?
スキルは競合を検出し、代替案を提案するか、既存ブランチの使用を確認します。
pull requestにGitHub CLIを使用できますか?
スキルはGitコマンドを使用します。GitHub CLIの統合には別のスキルが必要です。
このスキルでリポジトリのデータは安全ですか?
はい、スキルはリポジトリの状態を読み取り、ブランチを作成するだけです。削除や強制操作は行いません。
複雑なマージ競合がある場合はどうなりますか?
スキルは単純な競合には段階的なガイダンスを提供し、複雑な競合についてはガイダンスを要求します。
Gitエイリアスとどのように異なりますか?
このスキルは静的なエイリアスでは対応できないインテリジェントなエラー処理とガイダンスを提供します。

开发者详情

文件结构

📄 SKILL.md