下载技能 ZIP
在 Claude 中上传
前往 设置 → 功能 → 技能 → 上传技能
开启并开始使用
测试它
正在使用“commit-helper”。 Staged changes: Added new user authentication endpoint with JWT tokens
预期结果:
feat(auth): add JWT token refresh mechanism
Implement automatic token refresh to improve user experience
and reduce authentication failures.
- Add refresh token endpoint
- Update auth middleware to handle token expiry
- Add token refresh logic to client
Fixes #456
正在使用“commit-helper”。 Staged changes: Fixed null pointer exception in email validation
预期结果:
fix(validation): handle null values in email validator
Previous implementation threw error on null input.
Now returns false for null/undefined values.
正在使用“commit-helper”。 Staged changes: Updated API documentation for v2 endpoints
预期结果:
docs: update API documentation for v2 endpoints
安全审计
安全All static findings are false positives. The 'network' finding is a metadata URL field. 'C2 keywords' and 'weak cryptographic algorithm' detections are benign documentation terms like 'command', 'execute', 'fix:', 'BREAKING CHANGE'. The 'external_commands' findings document legitimate git commands that Claude executes via its built-in tools, not shell backticks. This is a standard commit message helper skill with no security risks.
风险因素
🌐 网络访问 (1)
⚙️ 外部命令 (23)
质量评分
你能构建什么
自動生成新功能的提交訊息
在為程式碼庫新增功能時,自動生成符合規範的提交訊息。
標準化團隊提交歷史記錄
確保所有團隊成員撰寫一致、易讀且符合規範提交標準的提交訊息。
快速記錄錯誤修復
快速記錄錯誤修復,提供清晰簡潔的訊息說明問題和解決方案。
试试这些提示
Generate a conventional commit message for my staged changes. Use @commit-helper to analyze the diff and create an appropriate message.
Create a commit message for my staged feature changes. Scope it to the authentication module.
Generate a commit message for my changes. This includes a breaking change to the API response format.
Write a commit message for these documentation changes only.
最佳实践
- 在生成提交訊息前執行 git diff --staged,確保所有相關變更都已暫存
- 提供變更所解決的業務問題的背景資訊
- 檢視生成的訊息,並根據需要調整範圍或內文
避免
- 未檢視內容準確性就使用生成的訊息
- 僅暫存部分變更並期望完整的背景資訊
- 忽略規範提交格式要求