From claude-code-starter
Automates safe git commits: runs CLAUDE.md lint checks, scans staged files for secrets like API keys and .env, summarizes changes with git diff, generates conventional Chinese commit messages (feat/fix/etc.), and executes git commit after confirmation.
npx claudepluginhub lighthouse-strategy/claude-code-starterThis skill uses the workspace's default tool permissions.
按以下步骤执行提交,每一步都要完成才能进入下一步。
Searches, retrieves, and installs Agent Skills from prompts.chat registry using MCP tools like search_skills and get_skill. Activates for finding skills, browsing catalogs, or extending Claude.
Searches prompts.chat for AI prompt templates by keyword or category, retrieves by ID with variable handling, and improves prompts via AI. Use for discovering or enhancing prompts.
Guides agent creation for Claude Code plugins with file templates, frontmatter specs (name, description, model), triggering examples, system prompts, and best practices.
按以下步骤执行提交,每一步都要完成才能进入下一步。
运行 git status 查看当前状态。如果没有任何更改,告诉用户「没有需要提交的更改」并结束。
读取 CLAUDE.md 中的 lint 命令。如果配置了 lint 命令(不是「暂无」),运行它。
检查所有 staged 文件,扫描以下内容:
.env 文件或包含 API_KEY、SECRET、PASSWORD、TOKEN 赋值的行如果发现敏感内容:
如果没有发现问题:继续下一步。
展示 git diff --staged 的摘要(改了哪些文件、大致改了什么)。不需要展示完整 diff,给出简洁的中文摘要即可。
根据更改内容,生成一个符合规范的 commit message:
type: 简短描述展示生成的 message,询问用户:
提交信息:
xxx确认提交吗?可以直接说「好」,或者告诉我你想改成什么。
用户确认后,执行 git commit。展示提交结果。