Agent skill · Documentation

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.

FlameskyDexivegithub.com/FlameskyDexiveGitHub ↗
claude-codeMIT
Install
npx skills add FlameskyDexive/Legends-Of-Heroes --skill et-git --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 5
SKILL.md size: 1 KB
Bundled scripts: none
Path: Packages/cn.etetet.harness/skills/et-git/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 908
Language: C#

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# et-git - ET Git 入口 > 红线:禁止直接使用 `git pull`。远端同步必须使用 `git pull --rebase`,或先 `git fetch` 再 `git rebase`。若与远端冲突,只能用 `rebase` 处理,禁止 `merge`。 ## 何时使用 - 准备提交本次改动 - 检查 `git status`、`git diff`、`git diff --staged` - 筛除日志、临时文件、自动生成文件和无关改动 - 编写中文 `commit message` - 拆分提交、整理暂存区、审查提交范围、与远端同步 ## 不要加载 - 只是改代码、跑测试、导出配置,还没进入交付阶段 - 只是查看项目背景或架构规范 ## 默认动作 1. 先看 `git status --short` 与 `git diff --stat`,确认影响范围。 2. 只保留本次任务相关改动,排除 `Logs/`、临时文件、无关自动生成文件和无关文件。 3. 如果本次任务需要提交 `.meta`、导出结果或生成代码,则保留对应文件,并说明原因。 4. 准备提交前,再看 `git diff` 与 `git diff --staged`,确认没有混入无关改动。 5. 提交信息统一使用中文,优先写成“动作 + 对象 + 影响范围/原因”。 6. 风险操作(拆分提交、回滚、`cherry-pick`、`rebase`)先说明影响再执行。 ## 优先入口 - `git status --short` - `git diff --stat` - `git diff` - `git diff --staged` - `git pull --rebase` - `git fetch` - `git rebase` ## 按需补读 - `references/et-git-workflow.md`:提交前检查、变更筛选、中文提交信息、rebase 规范与风险操作

What's inside
Steps it walks through
  1. 何时使用
  2. 不要加载
  3. 默认动作
  4. 优先入口
  5. 按需补读
Ships with 4 files
  • SKILL.md.meta
  • references.meta
  • references/et-git-workflow.md
  • references/et-git-workflow.md.meta
More from Legends-Of-Heroes
All skills →
About this skill
What does the et-git skill do?

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.

How do I install it?

Run `npx skills add FlameskyDexive/Legends-Of-Heroes --skill et-git --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From FlameskyDexive/Legends-Of-Heroes, a repository with 908 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going