重要前提
安装AI Skills的关键前提是:必须科学上网,且开启TUN模式,这一点至关重要,直接决定安装能否顺利完成,在此郑重提醒三遍:科学上网,科学上网,科学上网。查看完整安装教程 →
commit-smart by davila7/claude-code-templates
npx skills add https://github.com/davila7/claude-code-templates --skill commit-smart通过分析您的实际变更来创建有意义的规范提交。
运行以下命令以了解当前状态:
git status
git diff --stat
git diff --cached --stat
如果没有任何内容已暂存(git diff --cached 为空):
git add <files> 暂存已批准的文件如果变更已暂存,则继续进行分析。
读取完整的暂存差异:
git diff --cached
根据变更确定提交类型:
| 信号 | 类型 |
|---|
广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
| 包含新功能的新文件 | feat |
| 新的测试文件或测试添加 | test |
| 修复不正确行为的现有逻辑变更 | fix |
| 不改变行为的结构性变更 | refactor |
| package.json、tsconfig、CI 配置变更 | chore |
| 构建/打包器配置变更 | build |
| 仅 README、文档、注释 | docs |
| 仅格式化、空格、分号 | style |
| 性能改进 | perf |
根据受影响的主要目录或模块确定范围:
src/api/ -> apisrc/components/auth/ -> authtests/ -> tests如果用户通过 $ARGUMENTS 提供了参数:
fix)-> 用作提交类型refactor api)-> 用作类型和范围格式:type(scope): 祈使句简短描述
规则:
示例:
feat(auth): add JWT refresh token rotation
Tokens were expiring mid-session for users with slow connections.
Rotating refresh tokens extends the session without compromising
security, since each refresh token can only be used once.
向用户显示建议的提交消息并请求确认。
如果确认,则运行:
git commit -m "<message>"
然后使用以下命令验证:
git log --oneline -1
显示已提交的哈希值和消息。
!:feat(api)!: change response format每周安装量
38
代码仓库
GitHub 星标数
22.6K
首次出现
2026 年 2 月 24 日
安全审计
安装于
codex38
opencode37
gemini-cli37
github-copilot37
amp37
kimi-cli37
Create meaningful conventional commits by analyzing your actual changes.
Run these commands to understand the current state:
git status
git diff --stat
git diff --cached --stat
If nothing is staged (git diff --cached is empty):
git add <files>If changes are already staged, proceed to analysis.
Read the full staged diff:
git diff --cached
Determine the commit type from the changes:
| Signal | Type |
|---|---|
| New files with new functionality | feat |
| New test files or test additions | test |
| Changes to existing logic fixing incorrect behavior | fix |
| Structural changes without behavior change | refactor |
| package.json, tsconfig, CI config changes | chore |
| Build/bundler config changes | build |
| README, docs, comments only | docs |
Determine the scope from the primary directory or module affected:
src/api/ -> apisrc/components/auth/ -> authtests/ -> testsIf the user provided arguments via $ARGUMENTS:
fix) -> use as commit typerefactor api) -> use as type and scopeFormat: type(scope): imperative short description
Rules:
Example:
feat(auth): add JWT refresh token rotation
Tokens were expiring mid-session for users with slow connections.
Rotating refresh tokens extends the session without compromising
security, since each refresh token can only be used once.
Show the user the proposed commit message and ask for confirmation.
If confirmed, run:
git commit -m "<message>"
Then verify with:
git log --oneline -1
Show the committed hash and message.
! after the scope: feat(api)!: change response formatWeekly Installs
38
Repository
GitHub Stars
22.6K
First Seen
Feb 24, 2026
Security Audits
Gen Agent Trust HubPassSocketPassSnykPass
Installed on
codex38
opencode37
gemini-cli37
github-copilot37
amp37
kimi-cli37
React 组合模式指南:Vercel 组件架构最佳实践,提升代码可维护性
125,600 周安装
新闻聚合技能 - 实时抓取Hacker News、微博热搜、GitHub等8大平台热点新闻,支持AI关键词扩展与深度内容提取
53 周安装
概念解剖方法论:ljg-learn技能详解,八步深度解析任何概念
53 周安装
Vercel开发服务器验证指南:使用agent-browser检测空白页面、水合错误与性能问题
53 周安装
MongoDB查询与索引优化指南:46条规则提升数据库性能,涵盖MongoDB 8.0新特性
Geofeed Tuner:IP地理位置数据源优化工具,RFC 8805合规与最佳实践
53 周安装
融资演示文稿视觉设计工具 - 一键生成专业Pitch Deck幻灯片,符合投资者要求
4 周安装
| Formatting, whitespace, semicolons only | style |
| Performance improvements | perf |