智能分组提交代码。按功能/模块划分未提交的代码,分批次有条理地 commit。当用户提到"提交"、"commit"、"分组提交"时使用。

No licenceAuto-check passedDocuments & Office

Install Smart Commit

skills CLI
$ npx skills add VueFilesPreview/vue-files-preview --skill smart-commit -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install VueFilesPreview/vue-files-preview smart-commit --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/VueFilesPreview/vue-files-preview.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/smart-commit .claude/skills/smart-commit && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
smart-commit
GitHub stars
143
Token cost
~1k tokens
SKILL.md length
226 words
Files
1
Skills in repo
2
Repo updated
First seen
Licence
None found

At a glance

智能分组提交代码。按功能/模块划分未提交的代码,分批次有条理地 commit。当用户提到"提交"、"commit"、"分组提交"时使用。

  • Works in 5 steps: 保存当前状态 → 分析失败原因 → 修复问题 → …
  • Documents & Office work in your project
  • SKILL.md covers 核心约束, 执行流程, Commit Message 规范 and 错误处理:提交前检查失败, plus 3 more sections
  • Calls git and pnpm

What it does

Smart Commit is an agent skill from VueFilesPreview/vue-files-preview. 智能分组提交代码。按功能/模块划分未提交的代码,分批次有条理地 commit。当用户提到"提交"、"commit"、"分组提交"时使用。

Its SKILL.md is about 1k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Documents & Office. It works with Vue.js and Vite. The repository describes itself as: A tool for previewing files such as doc, excel, pdf, image, markdown, txt, audio, and video and so on.

When your agent uses it

  • Documents & Office work in your project

Example prompts

  • “commit”
  • “/smart-commit”

Workflow steps

5 steps, taken from the step headings in SKILL.md.

  1. 保存当前状态
  2. 分析失败原因
  3. 修复问题
  4. 恢复并重新提交
  5. 如果修复失败

What it can do on your machine

Read from SKILL.md and the folder at commit a541057. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • git
    • pnpm

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use git and pnpm, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Smart Commit loads about 1k tokens when it runs. Until then it costs about 20 tokens; SKILL.md has 226 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~20
When it runs · the whole SKILL.md, loaded when a task matches
~1k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

Without a licence we can't republish the file, so here is its outline and opening line. It has 226 words (~1,012 tokens).

name
smart-commit

Read the full SKILL.md on GitHub

Files

Just SKILL.md in .claude/skills/smart-commit of VueFilesPreview/vue-files-preview.

Open the folder on GitHubat commit a541057

Compare with similar skills

Smart Commit next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Smart Commit compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Smart Commit this skillVueFilesPreview/vue-files-preview143—~1kAutomated safety check: PassNone
Lint Commit PRTresjs/tres3.8k—~1.1kAutomated safety check: PassMIT
Create SkillHyk260/PureChat5461 repos~823Automated safety check: PassMIT
Vuetify Skilldlogue/vite-vuetify-ts-starter1811 repos~1.9kAutomated safety check: PassMIT
Domscribepatchorbit/domscribe193—~3.3kAutomated safety check: NotesMIT
Branch SyncChenyCHENYU/Robot_Admin1k—~883Automated safety check: PassMIT

Similar skills

  • Lint Commit PR

    Tresjs/tres

    Lint local changes, auto-fix, conventional commit, and optionally create PR

    3.8k GitHub stars~1.1k tokensUpdated today
    DevelopmentAuto-check passed
  • Create Skill

    Hyk260/PureChat

    Create a new skill in the current repository. An agent skill from Hyk260/PureChat.

    546 GitHub starsUsed in 1 repo~823 tokens
    DevelopmentAuto-check passed
  • Vuetify Skilld

    logue/vite-vuetify-ts-starter

    Vue Material Component Framework. An agent skill from logue/vite-vuetify-ts-starter.

    181 GitHub starsUsed in 1 repo~1.9k tokens
    Frontend & DesignAuto-check passed
  • Domscribe

    patchorbit/domscribe

    Work with Domscribe — the pixel-to-code bridge. An agent skill from patchorbit/domscribe.

    193 GitHub stars~3.3k tokensUpdated 1 mo ago
    Agent WorkflowsAuto-check: notes
  • Branch Sync

    ChenyCHENYU/Robot_Admin

    A skill your agent uses when: upgrading dependencies, adding common features, or when the user explicitly requests branch sync check.

    1k GitHub stars~883 tokensUpdated today
    DevelopmentAuto-check passed
  • Markstream Vue2 Vite

    Simon-He95/markstream-vue

    Integrate markstream-vue2 into a Vue 2 plus Vite app. An agent skill from Simon-He95/markstream-vue.

    3k GitHub starsUsed in 1 repo~706 tokens
    DevelopmentAuto-check passed

More from VueFilesPreview/vue-files-preview

  • Support

    VueFilesPreview/vue-files-preview

    为 vue-files-preview 添加新文件类型预览支持。当用户提到"添加支持"、"新文件类型"、"support"时使用。

    143 GitHub stars~2k tokensUpdated 16 days ago
    Auto-check passed

Works with

Questions about Smart Commit

What does Smart Commit do?

智能分组提交代码。按功能/模块划分未提交的代码,分批次有条理地 commit。当用户提到"提交"、"commit"、"分组提交"时使用。. Smart Commit is an agent skill from VueFilesPreview/vue-files-preview.

When should I use Smart Commit?

Smart Commit fits situations like: documents & Office work in your project.

How do I install Smart Commit in Claude Code?

Run `npx skills add VueFilesPreview/vue-files-preview --skill smart-commit -a claude-code`. Or copy the skill folder (.claude/skills/smart-commit in VueFilesPreview/vue-files-preview) into .claude/skills/smart-commit in your project. Claude Code loads it when a task matches its description.

How do I install Smart Commit in Codex?

Run `npx skills add VueFilesPreview/vue-files-preview --skill smart-commit -a codex`. Or copy the skill folder (.claude/skills/smart-commit in VueFilesPreview/vue-files-preview) into .agents/skills/smart-commit in your project. Codex loads it when a task matches its description.

Can I use Smart Commit in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add VueFilesPreview/vue-files-preview --skill smart-commit -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/smart-commit, .gemini/skills/smart-commit, .github/skills/smart-commit and .opencode/skills/smart-commit in your project.

What does Smart Commit need to run?

Going by SKILL.md and its folder, Smart Commit needs the command-line tools its instructions call (git and pnpm).

Does Smart Commit access the network?

SKILL.md contains no URLs. Its commands use git, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Smart Commit safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Smart Commit use?

No licence was found for Smart Commit or its repository. Without one, default copyright applies: ask the author before reusing or redistributing it.

How many tokens does Smart Commit use?

About 1k tokens (SKILL.md is roughly 4k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Smart Commit?

Skills that share tags, products or a category with Smart Commit: Lint Commit PR (Tresjs/tres, 3.8k stars), Create Skill (Hyk260/PureChat, 546 stars), Vuetify Skilld (logue/vite-vuetify-ts-starter, 181 stars) and Domscribe (patchorbit/domscribe, 193 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Smart Commit?

VueFilesPreview (a GitHub organization) maintains it in VueFilesPreview/vue-files-preview, which has 143 GitHub stars. The repository holds 2 skills in this directory. The repository was last updated on September 21, 2026.

Source: VueFilesPreview/vue-files-preview on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.