一键导入
git-workflow-guard
Use when creating branches or commits in this repository and you must enforce MailBot git-flow, commit format, and agent co-author footer rules.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Use when creating branches or commits in this repository and you must enforce MailBot git-flow, commit format, and agent co-author footer rules.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Use when changes may affect MailBot GitHub Actions, packaging, dependency setup, or release artifacts.
Use when implementing or reviewing MailBot Python changes that must follow project-specific architecture, callback, and logging conventions.
Use when MailBot behavior/config/UX changes and both English and Chinese documentation must remain synchronized.
Use when major changes or blockers must be recorded and the .opencode progress index plus related governance docs need synchronization.
| name | git-workflow-guard |
| description | Use when creating branches or commits in this repository and you must enforce MailBot git-flow, commit format, and agent co-author footer rules. |
Provide one project-specific governance source for commit quality, branch strategy, and required agent co-author metadata.
main, develop, feature/*, release/*, and hotfix/*.type(scope): subject.type: feat|fix|docs|style|refactor|test|chore|build|ci|perf|revert.subject starts with lowercase, uses imperative mood, avoids trailing period, and should stay concise (recommended <= 72 chars).BREAKING CHANGE: ... in body or footer.Examples:
feat(mail): add retry policy for smtp timeoutUpdate codefix: bug.main, develop.feature/<name>.release/<version>.hotfix/<name-or-version>.main; create feature/* from develop.Examples:
feature/email-parser-refactor, release/1.4.0, hotfix/smtp-crashbugfix/x, dev2, direct feature development on mainAgent-generated commits must include a matching footer from the fixed mapping below:
codex -> Co-authored-by: Codex <codex@openai.com>copilot -> Co-authored-by: GitHub Copilot <copilot@github.com>opencode -> Co-authored-by: opencode-agent[bot] <opencode-agent[bot]@users.noreply.github.com>Extension rule:
agent -> Co-authored-by mapping in this skill.Co-authored-by footer.pass or fail).Fix template:
type(scope): subjectfeature/<name> or release/<version> or hotfix/<name-or-version>Co-authored-by: <Agent Name> <agent@email>