Back to list
Tai-ch0802

commit-message-helper

by Tai-ch0802

A Chrome extension that mimics the vertical tabs of the Arc browser.

4🍴 2📅 Jan 24, 2026

SKILL.md


name: commit-message-helper description: Helps write Git commit messages following the Conventional Commits specification. Use this skill when the user asks to commit changes, write commit messages, or mentions git commits.

Commit Message Helper

When writing commit messages, follow these rules:

Format

():

Types

  • feat: A new feature
  • fix: A bug fix
  • docs: Documentation only changes
  • style: Changes that do not affect the meaning of the code
  • refactor: A code change that neither fixes a bug nor adds a feature
  • perf: A code change that improves performance
  • test: Adding missing tests or correcting existing tests
  • chore: Changes to the build process or auxiliary tools

Guidelines

  1. Subject line should be no longer than 50 characters
  2. Use imperative mood ("add feature" not "added feature")
  3. Do not end the subject line with a period
  4. Separate subject from body with a blank line
  5. Use the body to explain what and why, not how
  6. Draft the commit message in Traditional Chinese (zh-TW).

Examples

Good: refactor: 模組化側邊欄邏輯以提升清晰度與可維護性

此次提交將原先龐大的 sidepanel.js 重構成多個職責單一的模組,旨在改善程式碼結構、可讀性,並簡化未來的開發流程。 核心邏輯現已拆分至 modules/ 目錄下的多個模組:

  • apiManager.js: 作為服務層,封裝了所有與 Chrome 擴充功能 API (chrome.*) 的互動。這將 API 呼叫集中管理,使其更易於維護和模擬測試。
  • stateManager.js: 管理 UI 相關的狀態,例如書籤資料夾的展開狀態。這避免了污染全域作用域,並提供了清晰的狀態管理函式。
  • uiManager.js: 處理所有 DOM 操作與畫面渲染。它接收資料並負責呈現,但本身不包含任何業務邏輯。
  • dragDropManager.js: 包含所有與 SortableJS 函式庫相關的邏輯,管理分頁和書籤的拖放功能。
  • searchManager.js: 封裝了由使用者在搜尋框中輸入觸發的搜尋與過濾邏輯。

主要的 sidepanel.js 腳本現在作為一個高層級的協調者。其唯一職責是初始化所有模組,並協調它們之間的資料流與事件。

其他變更:

  • sidepanel.html 已更新,將 sidepanel.js 作為 type="module" 載入。
  • Makefile 已更新,將新的 modules/ 目錄包含在最終的打包檔案中。
  • GEMINI.md 已更新,以反映新的模組化架構。

Bad: updated stuff

Score

Total Score

65/100

Based on repository quality metrics

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

+10
説明文

100文字以上の説明がある

0/10
人気

GitHub Stars 100以上

0/15
最近の活動

1ヶ月以内に更新

+10
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

+5

Reviews

💬

Reviews coming soon