一键导入
writing-commit
Use when creating local git commits in codetok from existing changes, especially when scope, staging, verification, or message clarity could drift.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Use when creating local git commits in codetok from existing changes, especially when scope, staging, verification, or message clarity could drift.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Use when the user asks to correct English prompts, broken English, typos, grammar, wording, tone, workplace English, business writing, presentation language, or asks for English practice, quizzes, or help expressing ideas clearly in English.
Use when 用户要求提取、提炼、总结某个日期或时间范围的群聊/聊天记录(EACC 投资群 / eacc-chat),生成群聊日报、核心话题分析或投资价值信息筛选。触发词:提取聊天记录、群聊提炼、群聊总结、某月某日群里聊了什么、chat digest、群聊日报、群聊干货。
评估或对比会议纪要/访谈整理/深度纪要的质量:对照原始转录核查保真度,盘点覆盖度,输出多维度打分与失真清单。适用时机:(1) 用户问"这两份纪要哪份质量更高/写得更好",(2) AI 生成的纪要发布前验收(有没有幻觉、编造、立场写错),(3) 给纪要挑毛病/做质检/打分。触发语:评估纪要质量、对比纪要、纪要靠谱吗、纪要验收、纪要打分、哪份纪要好。
对会议纪要/活动回顾/访谈整理等将对外发布的文档做敏感信息检查与脱敏,覆盖查塔姆宫规则(Chatham House Rule)合规:人名机构名及变体、职级暗示、玩笑话与人事信号、点评同行、口语化敏感词、外链击穿匿名、身份指纹拼图、第三方未公开信息、编辑残留。适用时机:(1) 纪要将对外发布/进知识库/发群前,(2) 嘉宾或机构方要求脱敏审稿,(3) 用户提到查塔姆规则/讲事不讲人/匿名化/敏感信息检查。输出违规清单+修复建议,或直接执行脱敏。
Use when designing or reviewing lifecycle status fields, finite state machines, async task/order/payment/upload/approval workflows, or when states are overlapping, action-shaped, ownerless, unsafe under retries, concurrency, timeouts, or terminal-state updates.
深度研究与验证技能:当用户提出需要多源信息搜集、逻辑推理和事实验证的复杂问题时使用。 适用场景包括但不限于:投资研究、行业分析、技术对比、政策解读、商业决策支持等需要 "先想清楚怎么查,再去查,查完还要验证"的场景。 触发关键词/短语:为什么A而不是B、分析一下、帮我研究、设计一个SOP流程来回答、 深度分析、请验证、fact check、多角度分析、请先理解问题再回答、不要立即回答。 当用户明确要求"先设计研究流程再回答"或"验证你的结论"时,务必使用此技能。 当用户的问题涉及多个实体的比较(公司、技术、政策等)且答案不是简单事实时,也应触发。
| name | writing-commit |
| description | Use when creating local git commits in codetok from existing changes, especially when scope, staging, verification, or message clarity could drift. |
Create local commits without story IDs, supplied summaries, or confirmation prompts. Derive scope and message from inspected repository evidence.
Core principle: no-input means no missing description input; it does not mean guessing, sweeping unrelated files, or skipping verification.
REQUIRED SUB-SKILL: Use secret-scan before git commit.
Use when the user asks to commit current codetok changes or write a commit message without a description. Do not amend, rebase, push, tag, or rewrite history.
Stop instead of asking for a description when there are no changes, mixed scope, failed or unavailable verification after final scope selection, a secret leak, or uninspected files.
Inventory before staging:
git status --short
git diff --cached --name-status
git diff --name-status
git ls-files --others --exclude-standard
Select one coherent scope:
git add . or git add -A; stage inspected pathspecs only.Analyze message evidence:
git diff --cached --stat
git diff --cached
git diff --stat
git diff
For untracked files, read content or listings before staging. Describe behavior or docs contract first, implementation and tests second.
Verify after the final intended scope is known:
| Scope | Required |
|---|---|
| Docs-only | inspect diff; no Go test gate unless generated docs or examples changed |
| Go code or CLI behavior | narrow relevant test first, then make test |
| Formatting-sensitive Go | make fmt before tests |
| Build/release wiring | add make build, make vet, or workflow smoke as relevant |
Earlier checks count only if run after the final selected diff with no later relevant edits; name the command in the final response. Failed checks block unless explicitly unrelated.
Use recent git log --format=%s -20 style: mostly Conventional Commit subjects, occasional [codex].
<type>: <specific result>
- <what changed and why it matters>
- <important implementation or test detail>
Avoid update docs, misc fixes, and filename-only messages. Run secret-scan, commit with a message file or quoted heredoc, then show git log -1 --stat.
git status --short; considered staged, unstaged, and untracked changes separately.git add ., no git add -A, and no uninspected untracked file.secret-scan before git commit; final response reports hash, files, verification, and intentionally uncommitted files.Red flags: adding everything, committing only staged files without checking required unstaged edits, vague docs messages, and relying on stale tests.