commit
Create well-formatted git commits following GitLens conventions
- License 许可
- MIT
- 最近更新
- 2026-11-12
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- commit
- description
- Create well-formatted git commits following GitLens conventions
03 SKILL.md 正文
/commit - Create Git Commit
Create a well-formatted git commit following GitLens conventions.
Usage
/commit [message]
Commit Message Format
- Third-person singular present tense: Adds, Fixes, Improves, Updates, Removes, Refactors
- First line under 72 characters
- Reference issues with
#123syntax
Examples:
Adds support for custom autolinks for Jira - fixes #1234
Fixes graph not rendering when switching repositories
Improves performance of commit signature detection
Refactors git provider initialization
Workflow
- Check status:
git status(never use-uall) - Review changes:
git diff --cachedandgit diff - Stage files — specific files, not
git add -A - Generate message if none provided — analyze changes, determine type, draft message, confirm with user
- Commit using HEREDOC format with Co-Authored-By trailer
- Verify:
git statusandgit log -1
Pre-commit Hook Failures
- Do NOT use
--amend(the failed commit never happened — amend would modify the previous commit) - Fix the reported issues
- Re-stage fixed files
- Create a NEW commit
Safety
- Never use
--forceor--no-verify - Never amend unless explicitly requested
- Verify no sensitive files are staged (.env, credentials)
04 同仓库更多 Skills
winui-app
Bootstrap, develop, and design modern WinUI 3 desktop applications with C# and the Windows App SDK using official Microsoft guidance, WinUI Gallery patterns, Windows App SDK samples, and CommunityToolkit components. Use when creating a brand new app, preparing a machine for WinUI, reviewing, refactoring, planning, troubleshooting, environment-checking, or setting up WinUI 3 XAML, controls, navigation, windowing, theming, accessibility, responsiveness, performance, deployment, or related Windows app design and development work.
vercel-deploy
Deploy applications and websites to Vercel. Use when the user requests deployment actions like "deploy my app", "deploy and give me the link", "push this live", or "create a preview deployment".
security-best-practices
Perform language and framework specific security best-practice reviews and suggest improvements. Trigger only when the user explicitly requests security best practices guidance, a security review/report, or secure-by-default coding help. Trigger only for supported languages (python, javascript/typescript, go). Do not trigger for general code review, debugging, or non-security tasks.
playwright
Use when the task requires automating a real browser from the terminal (navigation, form filling, snapshots, screenshots, data extraction, UI-flow debugging) via `playwright-cli` or the bundled wrapper script.
openai-docs
Use when the user asks how to build with OpenAI products or APIs and needs up-to-date official documentation with citations, help choosing the latest model for a use case, or model upgrade and prompt-upgrade guidance; prioritize OpenAI docs MCP tools, use bundled references only as helper context, and restrict any fallback browsing to official OpenAI domains.
netlify-deploy
Deploy web projects to Netlify using the Netlify CLI (`npx netlify`). Use when the user asks to deploy, host, publish, or link a site/repo on Netlify, including preview and production deploys.