Loading...
Loading...
A comprehensive Git agent skill combining strategic workflows, strict conventional commit standards, and safe execution protocols. Acts as a senior engineer to guide users through atomic, verifiable, and standardized git operations.
npx skill4agent add chiperman/agent-skills git-commitgit add -ptypescopesubjectbodyfix(api)style(ui)feat(user): add profile page<type>(<scope>): <subject>
<body>
<footer>| Type | Semantic Meaning | SemVer |
|---|---|---|
| feat | A new feature | |
| fix | A bug fix | |
| docs | Documentation only | |
| style | Formatting (whitespace, semi-colons, etc.) | |
| refactor | Code change (no feature, no fix) | |
| perf | Performance improvement | |
| test | Adding or correcting tests | |
| build | Build system / dependencies | |
| ci | CI configuration / scripts | |
| chore | Maintainance (no src/test change) | |
| revert | Reverting a previous commit | |
src/auth/login.tsauthcomponents/Button.tsxuicomponentsREADME.mddocs-1.!BREAKING CHANGE: <description in Chinese>git branch --show-currentmainmasterdev<type>/<short-description>git checkout -b fix/login-errorfeat/dark-modegit status # What's the state?
git diff # Review unstaged changes
git diff --cached # Review staged changes (Sanity Check)git add -pgit add .npm testpytestcargo testcargo checktscnpm run lintpackage.jsonMakefileREADME.mdrmcurlwgetsh[command]git commit -m "<type>(<scope>): <subject>" -m "<body>"git pull --rebasegit push origin <current-branch>--force--hard--no-verifymainmasterdevgit diffcatnpm testmake build--no-verifyfeat(alerts): 为警报系统增加 Slack 线程回复功能
- 当警报状态更新或解决时,自动回复原始 Slack 线程
- 在消息中包含警报详情的跳转链接
- 优化了通知推送的延迟逻辑refactor: 重构用户验证逻辑
- 将三个重复的验证端点提取到共享的 Validator 类中
- 统一了各模块的错误返回码规范
- 更新了受影响的单元测试,确保逻辑一致性fix(api): 修复用户端点在高并发下的空响应问题
用户 API 在处理快速连续请求时可能会返回 null,导致前端崩溃。
通过引入并发锁并增加空值防御检查解决了该问题。feat(api)!: 移除所有 v1 版本的弃用端点
全面清理旧版 API,客户端现在必须迁移到 v2 端点以获得支持。
BREAKING CHANGE: 彻底移除 v1 路由,不再提供兼容性支持。revert: feat(api): 增加新端点
该提交回退了 abc123def456。
原因:在生产环境中引发了性能回退。