git-workflow
自信掌握 Git 工作流程
Également disponible depuis: 0xDarkMatter,Cain96,Joseph OBrien,Joseph OBrien,0xDarkMatter,Barnhardt-Enterprises-Inc,AI-Vibe-Prompts,Doyajin174
正在為 Git 分支、合併和衝突感到困擾?此技能為所有 Git 操作提供清晰的逐步指導,並包含團隊協作的最佳實踐。
Télécharger le ZIP du skill
Importer dans Claude
Allez dans Paramètres → Capacités → Skills → Importer un skill
Activez et commencez à utiliser
Tester
Utilisation de "git-workflow". Write a commit message for adding login functionality
Résultat attendu:
feat(auth): implement user login system
- Add login form component with validation
- Create authentication API endpoint
- Integrate session management middleware
- Add unit tests for login flow
Closes #156
Utilisation de "git-workflow". How do I undo my last commit but keep my changes?
Résultat attendu:
Use: git reset --soft HEAD~1
This removes the commit but keeps all changes staged. If you want to unstage them too, use: git reset HEAD~1
Audit de sécurité
SûrThis skill is a documentation-only guide for Git workflows. Static analysis flagged 77 shell command patterns, 6 URLs, and 14 crypto patterns, but all are false positives. The detected patterns are Markdown code blocks (```bash) and inline code markers (`command`) used for documentation formatting, not executable code. URLs are reference links to official Git documentation. No actual security risks exist.
Score de qualité
Ce que vous pouvez construire
新開發者入門培訓
透過引導式範例,幫助初級開發者學習正確的 Git 工作流程,包括安全地分支、提交和合併程式碼。
團隊工作流程標準化
在您的開發團隊中建立一致的提交訊息格式和分支命名慣例。
衝突解決協助
在功能整合期間面臨複雜的合併衝突時,獲得清晰的逐步指導。
Essayez ces prompts
Help me write a commit message for changes that add user authentication with JWT tokens to my application.
I need to start working on a new feature for the shopping cart. What branch should I create and how?
I'm getting conflicts when rebasing my feature branch onto main. Walk me through resolving them step by step.
I have 5 messy commits on my feature branch. Help me squash and reorganize them before merging to main.
Bonnes pratiques
- 撰寫小而專注的提交,每次只變更一件事
- 使用約定式提交格式:type(scope): subject
- 開始新工作前務必拉取最新變更
- 永遠不要直接提交到 main 分支
- 合併後刪除功能分支以保持歷史乾淨
Éviter
- 使用像 'fix' 或 'update' 這樣的提交訊息 - 應具體說明變更內容
- 使用 git push --force 而不用 --force-with-lease - 可能會覆蓋團隊成員的工作
- 提交大量不相關的變更 - 使審查和還原變得困難
- 忽略合併衝突並強制推送 - 會導致程式碼遺失