一键导入
commit
Full commit workflow with mandatory CHANGELOG validation, SSH validation, and conventional commits in English. Use this skill before making any git commit.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Full commit workflow with mandatory CHANGELOG validation, SSH validation, and conventional commits in English. Use this skill before making any git commit.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Compose structured business-email drafts in English from curated templates and phrase banks from Business Email (book). Use this whenever the user asks for enquiry, informing, request, complaint, apology, order-status, or meeting-style business emails.
Normalize filenames for AWS S3 and CloudFront: lowercase, safe characters, extension normalization (.jpeg → .jpg), and .tsv audit log. Usage: /aws-naming <directory_or_file>
Apply Kabat One Markdown styling to a file by platform. Usage: /styling <hedgedoc|gitlab|github> [mit|gpl] <file>
Maintain CHANGELOG.md with correct CST dates, reverse chronological order, and Spanish Mexican language. Use this skill when updating the changelog.
Initialize a git repo with SSH, identity and remote configured. Usage: /git-init <personal|laboral> <key_name> <remote_url> <branch>
Compose and send OWA-compatible HTML email. Usage: /mail <owa|mac|graph> <delivery|generic> <subject>
| name | commit |
| description | Full commit workflow with mandatory CHANGELOG validation, SSH validation, and conventional commits in English. Use this skill before making any git commit. |
Before making any git commit in projects that follow the rules repository conventions.
Read the full CoT: Load and follow ~/rules/cot/committing.md from line 1 to end
Validate identity (first time in session only): If you already validated identity in this conversation session, skip to step 3. Otherwise: run git config --list | grep ^user\. and git remote -v, verify email/name match expected context and remote uses SSH (not HTTPS).
Validate CHANGELOG gate BEFORE staging (MANDATORY): a. Run change validation (staged or unstaged):
git --no-pager diff --quiet -- CHANGELOG.md && git --no-pager diff --cached --quiet -- CHANGELOG.md
b. Interpretation:
CHANGELOG.md has NO changes versus repo → abort /commit flow.CHANGELOG.md has changes → continue.c. If there are no changes in CHANGELOG.md, stop execution and suggest:
Run /changelogger to update CHANGELOG.md, then run /commit again.(Optional) Inspect CHANGELOG diff:
git --no-pager diff -- CHANGELOG.mdgit --no-pager diff --cached -- CHANGELOG.mdStage files: git add .
Build commit message in temporary file: create /tmp/commit-msg.txt using this detailed structure (English international):
type(scope): short summary in english
- Detail 1 in english
- Detail 2 in english that wraps to another line
aligned with the bullet text (continuation line)
- Detail 3 in english
Co-Authored-By: Oz <oz-agent@warp.dev>
Mandatory formatting rules for bullets and long lines:
- MUST start at column 1 (no leading spaces or tabs before -).update/edit CHANGELOG.md (or equivalent), because changelog maintenance is a precondition validated by /commit, not a detail to report in the body.
Reuse and adjust /tmp/commit-msg.txt until the wording is final.Commit from file: git commit -F /tmp/commit-msg.txt — message MUST be in English international, following Conventional Commits
Push: git push
Verify: git --no-pager log --oneline -1
git add/git commit if CHANGELOG gate fails (no diff in CHANGELOG.md)./changelogger before any further commit action.⚠️ LANGUAGE CHECK: All commit messages must be in English per ~/rules/cot/committing.md line 15/tmp/commit-msg.txt, then verify content is English before git commit -F.Forbidden anti-patterns:
CHANGELOG.md has no diff versus repo.CHANGELOG.md from /commit instead of using /changelogger.update/edit CHANGELOG.md (or equivalent) as a commit body detail./tmp/commit-msg.txt./commit; /commit only validates changesCHANGELOG.md has no diff, abort and invoke /changeloggergit commit -F /tmp/commit-msg.txt over git commit -m to keep detailed, reusable commit messages/tmp/commit-msg.txt, keep bullets left-aligned and wrap long lines with aligned continuation indentationCHANGELOG.md format maintenance belongs to /changelogger + ~/rules/cot/changelog.mdfeat: not docs:~/rules/cot/committing.md~/rules/rulesets/COMMITTING.md~/rules/rulesets/GIT.md