plugins/jay-ai-basis-env/skills/git-commit/SKILL.md
基于当前 git 工作区变更生成并创建单个提交。用于用户要求“帮我提交代码”“根据当前 diff 生成 commit”“创建一次 git commit”“整理 staged/unstaged 变更并提交”,或明确提供 `git status`、`git diff HEAD`、当前分支和最近提交记录时。适用于需要分析改动、编写结构化 commit message,并执行 `git add` 和 `git commit` 的场景。
npx skillsauth add nangongwentian-fe/agent-skills git-commitInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
基于当前工作区的 staged、unstaged 和 untracked 变更,生成一个能够真实概括改动范围的单次 git commit,并直接执行提交。
git status、git diff HEAD、当前分支和最近提交记录;缺失时再自行补充读取。git add -A。amend、不要拆分为多个 commit、不要 push,除非用户明确要求。git statusgit diff HEADgit branch --show-currentgit log --oneline -10feat、fix、refactor、docs、chore、test、build。默认使用这个结构,并保持空行风格一致:
type: 简明概括本次改动
- 改动点 1
- 改动点 2
- 改动点 3
如果改动非常小,允许只保留 1 到 2 条要点,但不要省略标题。
git add -A,再 git commit。当环境允许一条 shell 命令完成时,优先使用非交互式方式写入多行 message,例如:
git add -A && git commit -F - <<'EOF'
feat: 示例标题
- 要点 1
- 要点 2
EOF
如果工具系统支持一条消息内发送多个顺序工具调用,也可以分别执行 git add -A 和 git commit,但不要夹带额外文本。
用户说:
$git-commit 创建一个 git commit:
## Context
- Current git status: !`git status`
- Current git diff (staged and unstaged changes): !`git diff HEAD`
- Current branch: !`git branch --show-current`
- Recent commits: !`git log --oneline -10`
期望行为:
git add -A 和 git commit。用户说:
帮我把当前改动提交掉,只要工具调用,不要解释。
期望行为:
development
网页内容获取技巧集合。当用户需要抓取网页内容、提取文章正文、获取社交媒体帖子内容、读取任意 URL 的文本或 Markdown 格式内容时使用。 无论用户是想"获取某个网页的内容"、"抓取这个链接"、"读取这篇文章"、"把这个页面转成 Markdown",还是想访问 X/Twitter、微信、知乎、Medium 等平台的内容,都应触发此 skill。 包含多种方法,覆盖不同场景:Markdown 提取、绕过付费墙、结构化数据抓取等。持续迭代更新中。
tools
更新 Claude Code CLI 到最新版本。当用户说"更新 Claude Code"、"升级 Claude Code"、"update claude code"、"claude code 太旧了"、"执行 install.sh 更新",或者想让 Claude 自我更新时,立即使用此 skill。不要等用户明确说"用 npm"——只要涉及更新 Claude Code 本身,就使用这个 skill。
tools
Post-action workflow that triggers automatically after creating a new skill or updating an existing skill. Ask the user whether to sync the skill to the jay-skills repository and publish to remote. Use whenever a SKILL.md has just been created or modified.
tools
信息可视化呈现行为准则。当模型回复中包含对比、步骤、配置、架构等结构化信息时自动激活,确保优先使用表格、代码块、列表、树形结构等可视化格式,而不是纯文字堆砌。触发词:「用表格」「画个图」「列个表」「结构化一下」「别光用文字」「可视化」「对比一下」。即使没有触发词,只要回复中包含适合可视化的结构化信息,本 skill 的规则就应生效。也适用于:「太多字了看不下去」「能不能更直观一点」「整理成表格」等场景。