Skip to content
Development
Skill

/eisland-dev-git-commit

Analyze the current git status, review all staged and unstaged changes, and create a commit with a proper English commit message following conventional commit format. Use this skill whenever the user asks to "commit", "提交", "git commit", "analyze and commit", "check git status

From plugin
eisland
3629 skills8 commands

Claude Code

$ npx -y skills add JNTMTMTM/eIsland --skill eisland-dev-git-commit --agent claude-code

SKILL.md

eisland-dev-git-commit.SKILL.md
name: eisland-dev-git-commit
author: JNTMTMTM
description: >
  Analyze the current git status, review all staged and unstaged changes, and create a commit
  with a proper English commit message following conventional commit format. Use this skill
  whenever the user asks to "commit", "提交", "git commit", "analyze and commit",
  "check git status and commit", or wants to save their current changes to git.

Git Status Analysis and Commit

Analyze the current git working tree, understand what changed and why, then create a well-formatted commit with an English message.

When to use

  • The user asks to commit their current changes
  • The user wants to analyze what's changed and create a commit
  • The user says "提交", "commit", "git commit", or similar
  • The user wants to review and save their work to git

Process

Step 1: Check git status

Run these commands to understand the current state:

git status
git diff --stat
git diff --cached --stat

This tells you:

  • Which files are modified, added, or deleted
  • Which files are staged vs unstaged
  • The scope of changes

Step 2: Analyze the changes

For each changed file, read the diff to understand what was actually changed:

git diff <file>        # for unstaged changes
git diff --cached <file>  # for staged changes

Categorize changes by type: | Type | Prefix | When to use | |------|--------|-------------| | **feat** | `feat` | New feature or user-facing functionality | | **fix** | `fix` | Bug fix | | **refactor** | `refactor` | Code restructuring without behavior change | | **style** | `style` | Formatting, whitespace, semicolons (no logic change) | | **docs** | `docs` | Documentation only | | **test** | `test` | Adding or updating tests | | **chore** | `chore` | Build config, dependencies, tooling | | **i18n** | `i18n` | Internationalization changes | | **perf** | `perf` | Performance improvement |

Step 3: Determine the scope

Look at which directories/modules were affected:

  • `src/renderer/components/` → component name as scope
  • `src/main/` → main process scope
  • `i18n/` → i18n scope
  • `docs/` → docs scope

If changes span multiple unrelated areas, consider making separate commits.

Step 4: Stage changes

If files are not yet staged, stage them:

git add <files>

Or if the user wants to commit everything:

git add -A

Step 5: Create the commit message

Use conventional commit format:

<type>(<scope>): <subject>

<body (optional)>

**Rules:**

  • Subject line: imperative mood, lowercase, no period at end, max 72 chars
  • Body (if needed): explain *why* not *what* (the diff shows what)
  • Use English for all commit messages
  • Reference issue numbers if applicable (e.g., `Closes #123`)

**Examples:**

feat(clipboard): add keyboard shortcuts for history navigation

fix(island): resolve drag position offset on high-DPI screens

refactor(stt): extract hooks from SttContent into separate files

docs(readme): update installation instructions for Windows

i18n(en-US): add missing translation keys for settings page

Step 6: Commit

Create the commit:

git commit -m "<commit message>"

For multi-line messages:

git commit -m "<subject>" -m "<body>"

Step 7: Verify

Confirm the commit was created:

git log -1 --oneline

Output

Return to the user:

  • The commit hash (short form)
  • The commit message
  • A brief summary of what was committed (file count, change types)

Edge cases

  • **No changes**: If `git status` shows nothing to commit, tell the user
  • **Merge conflicts**: If conflicts exist, inform the user and don't commit
  • **User specifies message**: If the user provides a specific commit message, use it (but still suggest improvements if it doesn't follow conventions)
  • **Multiple logical changes**: Suggest splitting into separate commits if changes are unrelated
  • **Untracked files**: Ask the user if they want to include new files

Important rules

  • **Always use English** for commit messages, regardless of the user's language
  • **Follow conventional commits** format strictly
  • **Never commit without reviewing** the actual diff content
  • **Match the project's existing style** — check recent commits with `git log --oneline -10` for reference
Read more
@jntmtmtm
Ships witheisland

eIsland - A sleek, Apple Dynamic Island inspired floating widget for Windows, built with Electron and Tauri.

Stars on GitHub

Momentum

stars in total
362
Star history of JNTMTMTM/eIsland on GitHub, a chart by star-history.com

Other skills on eisland.

eisland-dev-add-empty-state

eisland-dev-add-empty-…

为 eIsland 灵动岛添加一个新的空白状态机(IslandState)。当用户要求创建新状态、新页面、 新界面(如登录页、设置子页面、独立面板)时使用此 skill。即使用户只说"加个新状态"或 "创建一个 XX 页面",也应触发。此 skill…

@jntmtmtm@jntmtmtmInstall Skill
eisland-dev-add-guide-step

eisland-dev-add-guide-…

创建 eIsland 引导配置窗口的新步骤页面。当用户要求在引导界面(Guide)中新增配置步骤、引导页面、引导分页时使用此 skill。 触发关键词:guide 步骤、引导页面、引导分页、Guide step、新建引导页、添加引导配置。 适用于…

@jntmtmtm@jntmtmtmInstall Skill
eisland-dev-add-maxexpand-tab

eisland-dev-add-maxexp…

为 eIsland 灵动岛的 MaxExpand(全展开)模式添加一个新的 Tab 页面。当用户要求创建新的 MaxExpand 页面、添加全展开界面组件(如计算器、时钟、天气面板、便签、日历等)时使用此 skill。 即使用户只说"新建一个…

@jntmtmtm@jntmtmtmInstall Skill
eisland-dev-add-svg-icon

eisland-dev-add-svg-ic…

Add a new SVG icon to the project's icon enum system with matching test assertions. Use this skill whenever the user asks to "add…

@jntmtmtm@jntmtmtmInstall Skill

More skills from other plugins.

brainstorming
Auto-invoked

brainstorming

You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…

@obra@obraInstall Skill
ask-matt

ask-matt

Ask which skill or flow fits your situation. A router over the skills in this repo.

skills4w309k
@mattpocock@mattpocockInstall Skill
accessibility
Auto-invoked

accessibility

Design, implement, and audit accessible UI to WCAG 2.2 Level AA across Web, iOS, and Android — semantic ARIA roles and labels,…

ecc4w293k
@affaan-m@affaan-mInstall Skill
compiler-commit

compiler-commit

Use when you want to verify compiler changes and commit with the correct convention. Runs tests, lint, and format, then commits…

react2w252k
@facebook@facebookInstall Skill

Questions about eisland-dev-git-commit.

Which coding agents can use eisland-dev-git-commit?
eisland-dev-git-commit installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.