← 返回 Skills 市场
77
总下载
0
收藏
1
当前安装
1
版本数
在 OpenClaw 中安装
/install git-commit-validator
功能描述
Validates git commit messages against conventional commits format. Triggers: commit lint, conventional commits, commit format.
使用说明 (SKILL.md)
Commit Linter
Overview
Validates commit messages and enforces conventional commits format.
Conventional Commit Format
type(scope): description
Types: feat, fix, docs, style, refactor, perf, test, chore
Valid Examples
feat(auth): add password reset fix(api): handle null response docs(readme): update install
Rules
- Subject line max 72 characters
- Use imperative mood ("add" not "added")
- No period at end of subject
- Separate subject from body with blank line
Validate
git log --oneline -20
安全使用建议
This skill appears low-risk but functionally incomplete: it promises automated commit-message validation but only gives rules and a command to view recent commits. If you expect an automated linter, don't rely on this skill as-is — prefer established tools (commitlint, husky, or built-in CI checks) or ask the author for a version that runs a linter and returns structured results. Before installing, consider: run it in a test repo to see exactly what commands it executes (it will run git commands locally), verify the slug/name mismatch with the author, and avoid granting any extra credentials since none are needed. If you want, request a clarified SKILL.md that either (a) invokes an actual linter (and documents required binaries) or (b) is explicitly described as a human-help/informational skill rather than an automated validator.
功能分析
Type: OpenClaw Skill
Name: git-commit-validator
Version: 1.0.0
The skill is a straightforward commit message validator that provides guidelines for conventional commits. The only command included is a standard 'git log' call in SKILL.md to view recent history, and there are no indicators of malicious intent, data exfiltration, or suspicious execution.
能力评估
Purpose & Capability
The name/description promise automated validation of commit messages against Conventional Commits, but the SKILL.md only contains guidance (rules/examples) and a single command (git log --oneline -20). There is no validation algorithm, linter invocation, or steps to return structured validation results. Also the manifest header inside SKILL.md uses a different slug/name (skylv-commit-linter) than the registry entry (git-commit-validator), which is inconsistent.
Instruction Scope
The runtime instruction set is minimal and safe: it only suggests running git log to view recent commits. It does not instruct reading unrelated files, accessing environment variables, or sending data externally. However it is vague and leaves the agent discretion to 'validate' without specifying how — that open-endedness could lead an agent to perform extra repo or system inspection if not constrained.
Install Mechanism
No install spec and no code files are present. Instruction-only skills are lower risk because nothing is written to disk or downloaded during install.
Credentials
No environment variables, credentials, or config paths are requested. The skill's stated purpose does not require additional secrets, and none are requested.
Persistence & Privilege
The skill does not request always:true, does not modify other skills or system settings, and does not persist credentials. Default autonomous invocation is allowed (platform default) but not combined with other concerning privileges.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install git-commit-validator - 安装完成后,直接呼叫该 Skill 的名称或使用
/git-commit-validator触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release of skylv-commit-linter.
- Validates git commit messages against the conventional commits specification.
- Enforces rules such as subject line length, imperative mood, and format.
- Provides triggers for commit linting and automation workflows.
元数据
常见问题
Git Commit Validator 是什么?
Validates git commit messages against conventional commits format. Triggers: commit lint, conventional commits, commit format. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 77 次。
如何安装 Git Commit Validator?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install git-commit-validator」即可一键安装,无需额外配置。
Git Commit Validator 是免费的吗?
是的,Git Commit Validator 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Git Commit Validator 支持哪些平台?
Git Commit Validator 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Git Commit Validator?
由 SKY-lv(@sky-lv)开发并维护,当前版本 v1.0.0。
推荐 Skills