用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/g-zenr/relay-api --skill commit命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
基于 SOC 职业分类
正在显示 SKILL.md
| name | commit |
| description | Smart commit — validate, stage, and commit with a conventional commit message |
| disable-model-invocation | true |
Create a clean, validated commit for the current changes.
Run the test and type-check commands (see project config). If either fails: STOP. Fix the issues first — never commit broken code.
git status
git diff --staged
git diff
Understand what changed, which files are affected, and which layer (core/service/api/tests).
git add . blindly.env, credentials, or secrets.gitignore covers sensitive filesUse conventional commit format:
<type>(<scope>): <short description>
<optional body explaining why, not what>
Types:
feat — New feature or endpointfix — Bug fixrefactor — Code restructuring without behavior changetest — Adding or updating testsdocs — Documentation changeschore — Config, dependencies, toolingsecurityScopes: api, core, service, auth, config, middleware, tests, docker
git commit -m "<conventional message>"
git log --oneline -1
git status
Confirm the commit was created and working tree is clean.