Token导航 LogoToken导航TokenDH.com
开发只读github未标认证来源可访问许可证需确认审计通过

code-commit代码提交

Agent Skill

code-commit 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

436

周安装

18

GitHub Stars

8

下载量

143
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:code-commit(代码提交)
来源仓库:https://github.com/sirn/dotfiles
仓库路径:skills/code-commit
安装命令:
npx skills add https://github.com/sirn/dotfiles --skill code-commit
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/sirn/dotfiles --skill code-commit

简介

使用 Jujutsu (jj) 提交更改,优先于 Git 命令。

  • 自动分析变更逻辑分组,生成清晰提交信息。适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。
  • 支持差异分析与历史追溯,提升版本控制规范性。
  • 需确保环境中已安装 jj 工具并熟悉其基本语法。
  • code-commit 属于开发类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

Commit current changes using Jujutsu (jj).

Important

IMPORTANT: Always use jj (Jujutsu) commands. Only fall back to git if jj is not available. Refer to the jj-reference skill for command syntax and Best Practices (explicit change IDs, logical grouping, etc.).

Process

  1. Analyze changes:

- Run jj diff -s to see changed files - If the user specified specific files or paths, focus on those - Run jj log -r::@ -n 20 --no-graph -T 'description ++ "\n---\n"' for message style - Use jj diff for full diff view if needed - Analyze: Are changes logically related or distinct? Different subsystems/features? Mixed concerns (refactor + feature, fix + cleanup)? - IMPORTANT: Only describe changes visible in jj diff. You may use conversation context to explain changes that ARE present in the diff, but never mention changes that are NOT in the diff (e.g., if something was removed in a prior commit and doesn't appear in the current diff, don't say "remove...").

  1. Determine if split is needed:

- If changes are logically distinct, propose splitting - Present the plan (messages, which files in each commit) to the user for approval before executing

  1. Execute the commit:

- For a single commit: jj describe <id> -m "<message>" - For splits: use jj split -r <id> -m "<commit-message>" -- <file> for each commit; do not use interactive jj split - Keep commit messages concise: - Subject line: 50-72 characters max (Git standard) - Use imperative mood ("add feature" not "added feature") - Body: explain "what" and "why", not "how" - Try to include a short summary of the change in the commit description, including "why" if available. - After the last commit is described/split, create a new empty commit with jj new so the working copy (@) is ready for new changes. - After committing, run jj log -r @ to confirm

Output Format

When analyzing, provide:

  1. Suggested commit message following repo's existing style
  2. Should split? Yes/No with reasoning
  3. If split recommended: how to split (files/hunks per commit), message for each, jj commands

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

33.07%
按下载量换算47

Claude

32.41%
按下载量换算46

Cursor

18.05%
按下载量换算26

Gemini CLI

9.69%
按下载量换算14

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

只读

该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills