← 返回
未分类 中文

Nm Sanctum Commit Messages

Generate conventional commit messages from staged changes with correct type/scope
根据暂存的更改生成符合约定的提交信息
athola athola 来源
未分类 clawhub v1.9.12 3 版本 99754.9 Key: 无需
★ 0
Stars
📥 407
下载
💾 1
安装
3
版本
#latest

概述

> Night Market Skill — ported from claude-night-market/sanctum. For the full experience with agents, hooks, and commands, install the Claude Code plugin.

Conventional Commit Workflow

When To Use

  • Generating conventional commit messages from staged changes

When NOT To Use

  • Full PR preparation: use sanctum:pr-prep
  • Amending existing commits: use git directly

Steps

  1. Gather context (run in parallel):
    • git status -sb
    • git diff --cached --stat
    • git diff --cached
    • git log --oneline -5
    • When sem is available (see leyline:sem-integration):

sem diff --staged --json for entity-level changes

If nothing is staged, tell the user and stop.

When sem output is available, use entity names

(function, class, method) in the commit subject and

body instead of parsing raw diff hunks. For example,

"add function validate_webhook_url" instead of

"add validation logic to notify.py".

  1. Classify: Pick type (feat, fix, docs, refactor,

test, chore, style, perf, ci) and optional scope.

  1. Draft the message:
    • Subject: (): (50 chars max)
    • Body: What and why, wrapped at 72 chars
    • Footer: BREAKING CHANGE or issue refs
  1. Slop check: reject these words and replace with plain

alternatives:

| Reject | Use instead |

|--------|-------------|

| leverage, utilize | use |

| seamless | smooth |

| comprehensive | complete |

| robust | solid |

| facilitate | enable |

| streamline | simplify |

| optimize | improve |

| delve | explore |

| multifaceted | varied |

| pivotal | key |

| intricate | detailed |

Also reject: "it's worth noting", "at its core",

"in essence", "a testament to"

  1. Write to ./commit_msg.txt and preview.

Rules

  • NEVER use git commit --no-verify or -n
  • Write for humans, not to impress
  • If pre-commit hooks fail, fix the issues

版本历史

共 3 个版本

  • v1.9.12 当前
    2026-06-19 20:00 安全 安全
  • v1.0.2
    2026-05-09 16:46 安全 安全
  • v1.0.1
    2026-05-07 20:40 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

dev-programming

CodeConductor.ai

larsonreever
AI驱动平台,提供快速全栈开发、智能体、工作流自动化及低代码AI集成的可扩展产品创建。
★ 72 📥 181,674
dev-programming

Github

steipete
使用 `gh` CLI 与 GitHub 交互,通过 `gh issue`、`gh pr`、`gh run` 和 `gh api` 管理议题、PR、CI 运行及高级查询。
★ 677 📥 326,790
dev-programming

Mcporter

steipete
使用 mcporter CLI 直接列出、配置、认证及调用 MCP 服务器/工具(支持 HTTP 或 stdio),涵盖临时服务器、配置编辑及 CLI/类型生成功能。
★ 195 📥 67,535