Use when adding new error messages to React, or seeing "unknown error code" warnings.
npx skills add chiisen/skills --skill "semantic-git"
Install specific skill from multi-skill repository
# Description
Generates standardized Git commit messages following the project's conventional commit guidelines.
# SKILL.md
name: semantic-git
description: Generates standardized Git commit messages following the project's conventional commit guidelines.
Semantic Git
Description
This skill helps ensure all Git commits strictly follow the project's conventional commit format defined in GEMINI.md. It analyzes staged changes and generates a compliant commit message.
Usage
Use this skill when the user is ready to commit changes, asks for a commit message, or uses the command /commit-gen.
Workflow
- Check Status: Run
git statusto see what is staged.- If nothing is staged, warn the user.
- Analyze Diff: Run
git diff --stagedto understand the changes. - Generate Message: logic to construct the message:
- Format:
<type>(<scope>): <subject> - Type: Choose
feat,fix,docs,style,refactor,perf,test,chore, orrevertbased on the diff. - Scope: Identify the module or file affected.
- Subject: Concise summary in Traditional Chinese (繁體中文).
- Body: Detailed explanation in Traditional Chinese, explaining why and what changed.
- Format:
- Output: Present the command
git commit -m "..."for the user to review and approve.
Commands
/commit-gen
Generates a commit message for the currently staged changes.
Reporting
When proposing the commit message or explaining the changes to the user, you MUST use Traditional Chinese.
# Supported AI Coding Agents
This skill is compatible with the SKILL.md standard and works with all major AI coding agents:
Learn more about the SKILL.md standard and how to use these skills with your preferred AI coding agent.