用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/UitbreidenOS/UitKit --skill commit-writer命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
Guidelines and instructions for Agent execution state rollback rules
Guidelines and instructions for Agent execution step counters limits
Guidelines and instructions for Agent execution timeout limits setups
基于 SOC 职业分类
| name | commit-writer |
| description | Write conventional commit messages from staged diff — type, scope, subject, body, breaking changes |
git commit -m "wip" and squash latergit revert generates the message automatically<type>(<scope>): <subject>
[body]
[footer]
Types:
| Type | When to use |
|---|---|
feat | New feature or capability visible to users |
fix | Bug fix |
docs | Documentation only — no code change |
style | Formatting, whitespace — no logic change |
refactor | Code restructuring with no behaviour change |
perf | Performance improvement |
test | Adding or fixing tests |
chore | Build, tooling, dependency updates |
ci | CI/CD configuration changes |
revert | Reverts a previous commit |
Rules:
BREAKING CHANGE: in the footer, or ! after the type (feat!:)Run this before invoking the skill:
git diff --staged # see what you're about to commit
Then prompt Claude:
Write a conventional commit message for these staged changes:
[paste git diff --staged output, or describe what changed]
Claude will:
If the diff contains multiple logical changes, Claude will either:
git add -pClaude outputs the commit message ready to copy-paste:
git commit -m "feat(auth): add JWT refresh token rotation
Implement sliding session windows by rotating refresh tokens on each use.
Previous tokens are invalidated immediately after rotation.
Closes #234"
Staged diff includes:
src/auth/tokens.py — new rotate_refresh_token() functiontests/test_tokens.py — tests for the new functionCHANGELOG.md — updatedExpected output:
feat(auth): add refresh token rotation
Rotate refresh tokens on each use to implement sliding session windows.
Previous tokens are invalidated immediately, reducing the window for
token theft after a session is compromised.
Closes #234