Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx agentmods add rules/lis186/taiwan-holiday-mcp/commit-message-helpergit clone --depth 1 https://github.com/lis186/taiwan-holiday-mcpWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/rules/lis186/taiwan-holiday-mcp/commit-message-helper)<a href="https://agentmods.dev/rules/lis186/taiwan-holiday-mcp/commit-message-helper"><img src="https://agentmods.dev/badge/rules/lis186/taiwan-holiday-mcp/commit-message-helper.svg" alt="Measured on agentmods" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00000 | $0.00960 |
| Opus 5 | $0.00000 | $0.00480 |
| Sonnet 5 | $0.00000 | $0.00192 |
| Haiku 4.5 | $0.00000 | $0.00096 |
Grade A, and why
commit-message-helper scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 4d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
Copies of this mod
1 near-identical copy found in the catalogue:
- commit-message-helper — 100% identical, 0 lines differ
What it actually says
Git Commit Message 智能協助規則
當使用者提到 git commit、提交程式碼、或要求協助撰寫 commit message 時,請遵循以下規則:
核心格式規範
使用此格式:<類型>(<範圍>): <簡短描述>
類型定義
feat- 新功能fix- 錯誤修復docs- 文件更新style- 程式碼格式調整refactor- 重構test- 測試相關chore- 建置工具變動perf- 效能改善ci- CI/CD 相關
範圍選項
core- 核心功能模組api- API 介面相關test- 測試相關docs- 文件相關config- 配置相關build- 建置相關
專案特殊要求
- 語言使用:主要使用繁體中文,技術術語可用英文(如 API、MCP、TypeScript)
- Task 導向:如有相關 Task,在詳細描述中註明「相關任務: Task X.X」
- 簡短描述:限制在 50 字元內,使用現在式動詞
- 避免模糊詞彙:不使用「一些」、「部分」等模糊表達
智能協助流程
當使用者需要 commit message 協助時:
- 分析變更:檢視 git diff 或使用者描述的變更內容
- 推薦類型:根據變更性質推薦適當的類型和範圍
- 生成建議:提供 2-3 個符合規範的 commit message 選項
- 格式檢查:確認建議符合所有格式要求
- 讓使用者確認選擇的 commit message:呼叫 interactive-feedback-mcp,讓使用者確認使用哪個 commit message
- 讓使用者確認是否 commit: 呼叫 interactive-feedback-mcp,讓使用者確認是否 commit
範例模板
功能開發
feat(core): 新增台灣假期查詢功能
實作 2024-2025 年台灣國定假日資料
支援農曆新年、中秋節等傳統節日計算
新增假日類型分類功能
相關任務: Task 2.1
錯誤修復
fix(api): 修復日期格式驗證問題
解決輸入非標準日期格式時的錯誤處理
改善錯誤訊息的可讀性
新增邊界條件測試案例
文件更新
docs: 更新 MCP 伺服器使用說明
新增安裝步驟詳細說明
補充 API 端點使用範例
修正文件中的錯字和格式問題
自動檢查清單
在提供 commit message 建議前,確認:
- 使用正確的類型前綴
- 簡短描述在 50 字元內
- 使用繁體中文和現在式動詞
- 技術術語保持一致性
- 如有 Task 關聯,已在詳細描述中註明
- 避免使用模糊詞彙
改善建議
如果使用者提供的 commit message 不符合規範,主動提供改善建議:
- 指出問題:明確說明哪些地方需要改善
- 提供修正版本:給出符合規範的替代方案
- 解釋原因:說明為什麼這樣修改更好
- 教育意義:幫助使用者理解規範的重要性
記住:目標是協助建立一致、清晰、有意義的 commit 歷史記錄。
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 4d ago First seen · 102 lines · 0 tokens per session scan A 47d863a5c7b0
commit-message-helper is a cursor rule published in the GitHub repository lis186/taiwan-holiday-mcp (27 stars, last pushed 1mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 960 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other cursor rules, from other repositories
git
Conventional commit message format for git commits.
git-conventions
See CONTRIBUTING.md → "PR & commit conventions" for PR title format, commit messages, and branch naming.
git
辅助生成 Git 提交信息和执行 Git 命令.
commit-and-push
Commit (conventional commit) files and push to the remote repository.
commit-sponsors
Every git commit message must acknowledge BetterDesk supporters.
no-tool-contributors
Never add AI coding tools as contributors or co-authors.