/claude-code-starter:commitfrom claude-code-starter
Guides through a safe git commit workflow: runs lint checks, scans staged files for secrets (API keys, tokens, private keys), shows a diff summary, and generates a conventional commit message.
Ships in claude-code-starter. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
按以下步骤执行提交,每一步都要完成才能进入下一步。
运行 git status 查看当前状态。如果没有任何更改,告诉用户「没有需要提交的更改」并结束。
读取 CLAUDE.md 中的 lint 命令。如果配置了 lint 命令(不是「暂无」),运行它。
检查所有 staged 文件,扫描以下内容:
.env 文件或包含 API_KEY、SECRET、PASSWORD、TOKEN 赋值的行如果发现敏感内容:
如果没有发现问题:继续下一步。
展示 git diff --staged 的摘要(改了哪些文件、大致改了什么)。不需要展示完整 diff,给出简洁的中文摘要即可。
根据更改内容,生成一个符合规范的 commit message:
type: 简短描述展示生成的 message,询问用户:
提交信息:
xxx确认提交吗?可以直接说「好」,或者告诉我你想改成什么。
用户确认后,执行 git commit。展示提交结果。
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
Generated from the plugin's indexed repository (lightpointventures/claude-code-starter) — no native marketplace selected
npx claudepluginhub p/lighthouse-strategy-claude-code-starter37 skills in this plugin
/blogOther plugins' skills for the same job