caveman-commit
生成簡潔的 git 提交訊息
開發者花太多時間撰寫冗長的提交訊息。此技能能在保留每個變更背後原因的同時,以不到 50 個字元生成簡潔、專業的 Conventional Commits 格式提交訊息。
下載技能 ZIP
在 Claude 中上傳
前往 設定 → 功能 → 技能 → 上傳技能
開啟並開始使用
測試它
正在使用「caveman-commit」。 Staged changes: added GET /users/:id/profile endpoint to the API module with mobile-specific response format.
預期結果:
feat(api): add GET /users/:id/profile
Mobile client needs profile data without the full user payload to reduce LTE bandwidth on cold-launch screens.
Closes #128
正在使用「caveman-commit」。 Staged changes: renamed /v1/orders route to /v1/checkout across all route handlers and documentation.
預期結果:
feat(api)!: rename /v1/orders to /v1/checkout
BREAKING CHANGE: clients on /v1/orders must migrate to /v1/checkout before 2026-06-01. Old route returns 410 after that date.
安全審計
安全The skill file (SKILL.md, 65 lines) is a pure Markdown instruction document. It contains no executable code, no scripts, no network requests, no file system operations, and no environment variable access. The static analyzer flagged 21 external_commands instances, but these are references to git commands in markdown prose and examples — the skill explicitly states it does NOT run git commands. The blocker finding for a weak cryptographic algorithm at line 3 is a false positive; line 3 contains YAML frontmatter description text with no cryptography. No prompt injection attempts were detected. The skill is safe for publication.
中風險問題 (1)
低風險問題 (1)
品質評分
你能建構什麼
個人開發者快速提交
個人開發者在開發個人專案時使用此技能快速生成乾淨、一致的提交訊息,而不中斷工作流程。他們暂存變更並呼叫技能來取得格式化好的提交,準備好貼上。
團隊提交訊息標準化
開發團隊採用 Conventional Commits 來實現更新日誌自動化。此技能確保每位團隊成員都能產生一致、正確格式化的提交訊息,不受個人寫作風格影響。
程式碼審查提交規範
資深開發者在審查 Pull Request 時使用此技能在互動式變基過程中重寫混亂的提交訊息。每個提交都獲得清晰、簡潔的訊息,說明為什麼而不只是做了什麼。
試試這些提示
Write a commit message for my staged changes.
Generate a commit message for a new API endpoint in the users module that adds profile retrieval.
Write a breaking change commit for renaming the orders API endpoint from v1/orders to v1/checkout.
Generate a commit message for a security patch that fixes an XSS vulnerability in the search input.
最佳實務
- 在呼叫技能前只暂存邏輯相關的變更,以獲得準確的提交訊息
- 使用生成的訊息前先審查 — 確認類型和範圍符合您的專案規範
- 使用帶有變更內容的明確提示來獲得更準確的範圍和類型選擇
避免
- 不要一起暂存不相關的檔案 — 這會產生令人困惑或不準確的提交訊息
- 未經團隊同意,不要使用此技能在協作式變基期間重寫提交歷史
- 對於安全相關的提交,不要依賴此技能而不手動驗證正文包含足夠的上下文