一键导入
commit-message-generator
Generates Conventional Commits-style commit messages from git diffs or change descriptions
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Generates Conventional Commits-style commit messages from git diffs or change descriptions
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Analyzes project structure, module dependencies, imports, and entry points to generate architecture diagrams in Mermaid format
Analyzes ETL and data pipeline code for optimization opportunities across Python (Pandas, PySpark), Rust (polars, datafusion), SQL, and general pipeline descriptions
Validates environment variable configurations and config files (YAML, TOML, JSON, .env) for missing required variables, type mismatches, deprecated keys, naming convention violations, secret exposure risks, and invalid value ranges
Analyzes code for performance bottlenecks including N+1 queries, O(n^2) or worse algorithms, unnecessary allocations, sync I/O in async contexts, excessive cloning, missing caching opportunities, and large payload transfers. Supports Rust, Python, TypeScript, and Go.
Analyzes, improves, and restructures LLM prompts for clarity, efficiency, and reliability
Analyzes source code for common security vulnerabilities including SQL injection, XSS, command injection, hardcoded secrets, insecure deserialization, path traversal, and SSRF
| name | commit-message-generator |
| description | Generates Conventional Commits-style commit messages from git diffs or change descriptions |
| version | 1.0.0 |
| author | go-on-team |
| tags | ["git","commit","conventional-commits","version-control","workflow"] |
| min_go_on_version | 1.0.0 |
Analyzes code changes (from git diff or natural-language description) and generates well-structured commit messages following the Conventional Commits specification. Includes scope detection, breaking change identification, and body generation.
src/api/ → api, src/db/ → db)| Parameter | Type | Description |
|---|---|---|
diff | string | Git diff output (git diff) or path-based change description |
description | string | Optional: natural-language description of the change |
style | string | Commit style: conventional, angular, simple (default: conventional) |
include_body | boolean | Optional: generate detailed body (default: true) |
breaking_change | string | Optional: description if the change is breaking |
{
"diff": "diff --git a/src/cache/lru.rs b/src/cache/lru.rs\n@@ -42,7 +42,7 @@ impl LruCache {\n self.order.pop_front()\n }\n \n- pub fn insert(&mut self, key: K, value: V) {\n+ pub fn insert(&mut self, key: K, value: V) -> Option<V> {\n if self.order.len() >= self.capacity {\n self.evict();\n }\n- self.order.push_back((key, value));\n+ let replaced = self.map.insert(key.clone(), value);\n+ self.order.push_back((key, value.clone()));\n+ replaced\n }\n }\n",
"description": "Make LruCache.insert return the previous value if the key already existed",
"style": "conventional",
"include_body": true
}
Example output:
feat(cache): make insert() return the replaced value
Changed LruCache::insert() to return Option<V> instead of unit,
providing callers with the previously stored value when a key
is overwritten. This enables callers to track evictions and
handle value replacement without an additional lookup.
Closes: #142