en un clic
git-commit
智能分析工作区变更,自动生成符合 Conventional Commits 规范的精炼提交信息并执行提交。
Installer avec Codex ou Claude Copiez ce prompt, collez-le dans Codex, Claude ou un autre assistant, puis laissez-le vérifier la page du skill et l'installer pour vous.
Menu
智能分析工作区变更,自动生成符合 Conventional Commits 规范的精炼提交信息并执行提交。
Installer avec Codex ou Claude Copiez ce prompt, collez-le dans Codex, Claude ou un autre assistant, puis laissez-le vérifier la page du skill et l'installer pour vous.
Basé sur la classification professionnelle SOC
Use when designing, reviewing, or refactoring code architecture and engineering structure, especially when logic is leaking into the wrong layer, UI components contain business rules, orchestration services do data parsing, one bug hints at a reusable abstraction, or a feature needs clear boundaries between data source, transformation, state management, extension points, and rendering. Use for separation of concerns, layered design, parser/adapter/pipeline decisions, reusable contracts, and preventing narrow fixes from becoming hardcoded architecture.
Review staged, unstaged, and untracked local code changes in the current project. Use when the user asks to review uncommitted changes, check the working tree, inspect local diffs, or perform a pre-commit code review.
Generate or update Ninebot iOS VApp native methods and services. Use when adding a Swift VApp API, creating a VApp-backed pod under ios/Modules, exposing native methods through NBVAppManager/NBUnifiedAPIRegistry, wiring registrations in RootVCService+vapp.swift, or converting RN/callnative methods to the VApp service pattern.
Git commit workflow with conventional format and comprehensive summaries
Harlan 的通用架构设计哲学 — 指导 AI 在任何架构任务中遵循 Harlan 的设计偏好、决策风格和输出格式。适用于系统设计、重构、模块拆分、API 设计等所有架构级别的任务。
Harlan 的全栈架构设计 Skill — 融合通用架构哲学、iOS/RN 跨平台分层模式、SDK 设计偏好三位一体。当 Harlan 涉及任何架构级别的任务时必须参考本 Skill,包括但不限于:设计新模块/SDK/Bridge/服务层、评审或重构架构方案、规划 CocoaPods 库结构、设计原生与 JS 通信机制、模块解耦与职责拆分、协议/接口规范设计、目录结构规划、技术选型与方案对比、迁移方案制定、技术债清理。即使 Harlan 没有明确说「按我的风格」,只要涉及「怎么设计」「怎么重构」「怎么拆」「怎么迁移」,本 Skill 自动适用。
| name | git-commit |
| description | 智能分析工作区变更,自动生成符合 Conventional Commits 规范的精炼提交信息并执行提交。 |
| disable-model-invocation | true |
| allowed-tools | Bash(git *), Read, Write |
| argument-hint | [可选:自定义提交信息] |
自动化执行代码暂存与智能提交。
状态检查与暂存
git add -A 暂存所有变更(若有特定需求,允许用户先手动 git add 部分文件,此步骤则只补充暂存)。变更智能分析
git diff --cached --stat 分析变更规模与受影响的模块。feat: 新增功能/文件fix: 修复 Bug/异常修改refactor: 代码重构(不影响功能)docs: 文档、README 修改style: 样式、格式化、非业务逻辑调整test: 增加或修改测试用例chore: 构建流程、依赖、配置变更(如 .gitignore, package.json)生成提交信息(Commit Message)
<type>(<scope>): <description>scope(可选):填写受影响的模块或核心文件(如 api, ui, config)。description:使用英文祈使句,小写开头,末尾无句号,核心描述控制在 50 字以内。updated code,要指出具体变更。feat(auth): add jwt login verification执行提交
$ARGUMENTS,优先使用用户输入的信息。git commit -m "<message>"。后置确认
/commit —— 自动分析所有变更并智能提交。/commit "fix(api): fix user profile memory leak" —— 使用自定义的规范信息直接提交。