Ships in useful-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description, though model invocation is off: only you can start it.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
先問使用者:要根據哪種變更來撰寫 commit 訊息?
git add 的變更)→ 執行 git diff --stagedgit diff --staged 和 git diff同時執行 git log --oneline -10 查看最近的 commit 風格作為參考。
根據 diff 內容分析變更,並參考 git log 中的歷史 commit 格式(前綴、語言、風格)來撰寫 commit 訊息:
將草擬的 commit 訊息展示給使用者確認,詢問是否需要修改。
使用者確認後:
git add 相關檔案git commitCo-Authored-By: Claude ...,也不加 🤖 Generated with Claude Code 之類的標記。這條必須明寫——預設行為會自動補上 trailer,沒有明令禁止就會被加進去。git add -A 或 git add .,應列出具體檔案讓使用者確認What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub lystyp/useful-skill --plugin useful-skills19 skills in this plugin
/ai-family-backend-styleai_family_backend / backend-v2 專案的 coding style 與實作 tips — 分層架構(Controller → Service → Repository)、Zod validator 慣例、Import 分群、Prisma + Exception 處理、Pagination、Swagger/Router/Service/Repository 的新增流程、SRP 檢查四問、Commit 規範。當在 /Users/daniel.shi/hephai/ai_family_backend 這個 repo 內寫或改 code(特別是 controllers/services/repository/validators/routes/swagger)時觸發。/backend-repo-onboarding讓後端工程師在最短時間內從「看得懂字」變成「敢改」一個陌生的後端 repo。做法是先實地求證產出一份上手文件(目錄職責與依賴方向、對應到他原本熟的分層、可執行的架構驗證指令、一條讀路徑與一條寫路徑、交易邊界與錯誤轉換、改動迴路、語法與慣例路障),再照那份文件一步步導覽,隨時接「貼一行 code 問這是什麼」。當使用者說「我要怎麼讀這個專案」「幫我熟悉這個 repo」「我接手了一個專案」「這個後端是怎麼設計的」「每個資料夾是做什麼用的」「新人怎麼上手」「帶我看一下這個後端」「這專案怎麼分層」「我第一次碰這個語言的後端」時務必觸發。即使他只丟一個局部問題(例如「api path 寫在哪」「這個資料夾幹嘛的」),也先照常回答,然後用一句話提議把剩下的補齊成一份上手文件——因為他要的通常不只是那一題。不要觸發:已經熟這個 repo 的人問某支功能在哪、純 bug 排查、跟任何 repo 無關的語言教學、或只是要做 code review。/