手動建立變更日誌容易出錯且耗時。此技能可使用 Conventional Commits 和 Keep a Changelog 格式自動化發佈說明。
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 "changelog-automation". 為 v2.1.0 發佈生成變更日誌,包含 15 次提交,包括 3 個功能、5 個錯誤修復和 2 個文件更新
Résultat attendu:
CHANGELOG.md 包含格式化部分:功能(OAuth2 支援、深色模式、API 緩存)、錯誤修復(結帳競態條件、登入逾時、搜尋篩選器、匯出功能、通知傳遞)、文件(API 參考更新、遷移指南)
Utilisation de "changelog-automation". 驗證提交訊息:'fix: resolve memory leak in image processor'
Résultat attendu:
有效的 Conventional Commit - 類型:fix,無範圍,主題清楚描述變更
Audit de sécurité
SûrStatic analyzer flagged 69 patterns (external_commands: 45, network: 13, env_access: 3, blocker: 8) but all are false positives. The skill consists entirely of markdown documentation with code examples. External command patterns are bash examples in documentation blocks, URLs are reference links, and token references are GitHub Actions workflow templates for user configuration. No executable code or actual security risks detected.
Score de qualité
Ce que vous pouvez construire
開源庫維護者
使用 semantic-release 和 GitHub Actions 為 npm 套件發佈設定自動化變更日誌生成。
企業發佈管理員
標準化團隊間的提交慣例,並生成具有安全審計部分的內部發佈說明。
獨立開發者
使用 git-cliff 以最少的設定开销實現輕量級變更日誌自動化。
Essayez ces prompts
幫助我為項目設定自動化變更日誌生成。我希望使用 Conventional Commits 並按照 Keep a Changelog 格式生成 CHANGELOG.md 文件。
設定 commitlint 與 husky 以在我的儲存庫中強制執行 Conventional Commits。包含類型驗證和主題行格式化的規則。
建立一個 GitHub Actions 工作流程,在推送到 main 時執行 semantic-release,生成變更日誌,建立 GitHub 發佈版本,並發佈到 npm。
使用自訂模板設定 git-cliff,包含功能、錯誤修復、安全更新和具有 GitHub 連結的貢獻者鳴謝部分。
Bonnes pratiques
- 一致地使用 Conventional Commits 格式以啟用自動化並建立清晰的歷史
- 使用驚嘆號(feat!:)或 BREAKING CHANGE 頁尾標記重大變更以提高可見性
- 在提交頁尾中引用問題編號以將變更連結到追蹤的工作
Éviter
- 手動編輯生成的 CHANGELOG.md 文件 - 始終從提交歷史重新生成
- 在單一提交中混合不相關的變更 - 每次提交保持一個邏輯變更
- 在 CI 中跳過提交驗證 - 始終在合併前強制執行慣例