CtrlK
BlogDocsLog inGet started
Tessl Logo

et-git

ET git workflow for preparing commits and reviewing changes. Use when checking git status or diff, filtering unrelated files, staging task-scoped changes, writing Chinese commit messages, or synchronizing with remotes using rebase instead of merge.

72

Quality

89%

Does it follow best practices?

Run evals on this skill

Adds up to 20 points to the overall score

View guide

SecuritybySnyk

Passed

No findings from the security scan

SKILL.md
Quality
Evals
Security

et-git - ET Git 入口

红线:禁止直接使用 git pull。远端同步必须使用 git pull --rebase,或先 git fetchgit rebase。若与远端冲突,只能用 rebase 处理,禁止 merge

何时使用

  • 准备提交本次改动
  • 检查 git statusgit diffgit diff --staged
  • 筛除日志、临时文件、自动生成文件和无关改动
  • 编写中文 commit message
  • 拆分提交、整理暂存区、审查提交范围、与远端同步

不要加载

  • 只是改代码、跑测试、导出配置,还没进入交付阶段
  • 只是查看项目背景或架构规范

默认动作

  1. 先看 git status --shortgit diff --stat,确认影响范围。
  2. 只保留本次任务相关改动,排除 Logs/、临时文件、无关自动生成文件和无关文件。
  3. 如果本次任务需要提交 .meta、导出结果或生成代码,则保留对应文件,并说明原因。
  4. 准备提交前,再看 git diffgit diff --staged,确认没有混入无关改动。
  5. 提交信息统一使用中文,优先写成“动作 + 对象 + 影响范围/原因”。
  6. 风险操作(拆分提交、回滚、cherry-pickrebase)先说明影响再执行。

优先入口

  • git status --short
  • git diff --stat
  • git diff
  • git diff --staged
  • git pull --rebase
  • git fetch
  • git rebase

按需补读

  • references/et-git-workflow.md:提交前检查、变更筛选、中文提交信息、rebase 规范与风险操作
Repository
egametang/ET
Last updated
First committed

Is this your skill?

If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.