一键导入
git-commit-message
Analyze staged changes in this repo and propose a repo-style commit subject with the right scope, action, and version.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Analyze staged changes in this repo and propose a repo-style commit subject with the right scope, action, and version.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
Reference — how castamerego.com is built, verified, and deployed. Read this before writing any deploy-related scripts or automation so paths, commands, and the serving architecture are correct.
Scaffold a new blog post under blog/YYYY/MM/DD-slug/index.md with today's date, a slug and title in the repo's style, frontmatter, and any new tags added to blog/tags.yml.
Scaffold a new docs page under docs/<Topic>/<PageName>.md with proper frontmatter, add the doc ID to the correct category in sidebars.js, and add any new tags to docs/tags.yml.
Draft, revise, or lint blog/doc body content in Castamere's voice. Auto-detects blog vs doc from the path. Use after new-blog/new-doc has scaffolded the file, or to polish an existing draft.
Analyze git changes since the last release-page update and propose new entries for both src/pages/release/index.mdx (zh) and i18n/en/docusaurus-plugin-content-pages/release/index.mdx (en), including draft handling.
基于 SOC 职业分类
| name | git-commit-message |
| description | Analyze staged changes in this repo and propose a repo-style commit subject with the right scope, action, and version. |
| disable-model-invocation | true |
| allowed-tools | Bash Read Grep Glob |
| argument-hint | [optional focus] |
Generate a single best commit subject for the currently staged changes in this repository.
Use the project memory in ../../CLAUDE.md as the canonical style reference, then follow this workflow:
Inspect only the staged set first.
git diff --cached --name-statusgit diff --cached --statCheck for typos in all changed Markdown content.
*.md and *.mdx file involved in the current changesCheck whether corresponding i18n content exists for the changed user-facing files.
i18n/en/Infer the scope from the primary change.
blog/* -> blogdocs/* -> docssrc/pages/** or page-specific content -> pagesystemi18nsystem.Infer the action.
add when the main payload is newly introducedmodify when extending, correcting, polishing, or revising an existing unitmanage only for bulk rename/restructure/asset organization changesBuild the subject.
(with i18n) when the staged set clearly includes matching localization updatesInfer the version when the primary unit is versioned content.
git log --pretty=%s -- <relevant paths>Vx.y, continue that sequenceV0.xV1.0V1.1, V1.2, and so onReturn the answer in this format:
md/mdx files, list them next and say they should be fixed before committing