git-workflow
精通 Git worktrees 與提交
Également disponible depuis: 0xDarkMatter,Joseph OBrien,Joseph OBrien,0xDarkMatter,Barnhardt-Enterprises-Inc,AI-Vibe-Prompts,Doyajin174,supercent-io
撰寫良好的提交訊息和管理分支是困難的。此技能提供關於 Git worktree 工作流程、慣例式提交以及拉取請求最佳實踐的清晰指導,讓您的歷史記錄保持整潔且可讀。
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". 如何為錯誤修復建立 worktree?
Résultat attendu:
- Run: git worktree add ../project-bugfix-login-error fix/login-error
- This creates a new worktree at ../project-bugfix-login-error on branch fix/login-error
- Naming convention: ../project-<type>-<description>
- Types: feature, bugfix, hotfix, experiment, refactor
Utilisation de "git-workflow". 慣例式提交的類型有哪些?
Résultat attendu:
- feat: New feature - Adding user authentication
- fix: Bug fix - Fixing null pointer error
- docs: Documentation only - Update README
- refactor: Code refactoring - Restructure without behavior change
- perf: Performance improvement - Optimize algorithm
- test: Adding or updating tests - Add unit tests
Utilisation de "git-workflow". 幫我撰寫正確的提交訊息
Résultat attendu:
- Use imperative mood: add not added
- Maximum 50 characters for subject line
- Wrap body at 72 characters
- Explain what and why, not how
- Example: fix(auth): resolve token expiration issue
Audit de sécurité
SûrDocumentation-only skill providing Git workflow guidance. All 93 static findings are false positives triggered by markdown documentation patterns. The skill contains only example Git commands, worktree path examples, and commit message formats. No executable code, network calls, or malicious capabilities exist. Scanner misidentified markdown code blocks as Ruby execution, standard Git worktree paths as path traversal, and documentation references as cryptographic algorithms.
Facteurs de risque
🌐 Accès réseau (2)
📁 Accès au système de fichiers (12)
⚙️ Commandes externes (56)
Score de qualité
Ce que vous pouvez construire
平行功能開發
使用 Git worktrees 在多個功能上工作,無需切換上下文或暫存。
強制執行提交標準
在團隊中應用慣例式提交和拉取請求範本,以保持一致的歷史記錄。
提交高品質貢獻
遵循提交和拉取請求的最佳實踐,讓維護者滿意。
Essayez ces prompts
Create a Git worktree for a new feature called user-authentication in the parent directory.
Write a Conventional Commit message for adding JWT token refresh to the auth module.
Add a commit trailer referencing GitHub issue #123 as the related issue.
Show me the PR review checklist before requesting review.
Bonnes pratiques
- 使用 Git worktrees 進行平行工作,而非暫存或切換分支
- 遵循包含類型、範圍和祈使語氣的慣例式提交格式
- 保持拉取請求小巧且專注於單一功能,以便於審查
Éviter
- 未經程式碼審查直接提交到 main
- 使用模糊的提交訊息,如 fix bug 或 update
- 將不相關的變更混入單一提交或拉取請求