zc-bug-fix
Bug-Fix 用户优先分阶段执行协议
本 skill 采用“用户指定优先、前置条件按需补齐”的分阶段流程。 如果用户明确要求“从阶段 4 开始”或“从某个阶段继续”,就从该阶段执行;不要因为固定流程强制退回阶段 0。真正的安全前置条件(保护分支、MR 前禁止回写禅道、bug_type 通过 browser 字段写入等)仍然必须满足。
⛔ 全局禁令(违反任何一条即为严重错误)
| 编号 | 禁令 |
|---|---|
| F1 | 禁止在 develop / main / master 分支上直接 commit 或 push |
| F2 | 禁止无视用户明确指定的起点;缺少当前阶段必需信息时必须先补齐,不能盲目执行 |
| F3 | 禁止在没有创建 MR 的情况下回写禅道 |
| F4 | 禁止把 bug 分类/类型写入评论 — 必须通过脚本写入 browser 字段 |
| F5 | 禁止把 issue / MR 描述内容直接拼成命令行参数 — 必须先写入文件 |
| F6 | 禁止提交与当前 bug 无关的代码改动 |
| F7 | 禁止在验证未通过的情况下宣称"已完成" |
| F8 | 禁止不经用户确认就创建分支、推送代码、创建 MR |
More from ruiwarn/skills
embedded-cross-review
Use when reviewing embedded or firmware code changes, especially in C/C++, bare-metal, RTOS, driver, ISR, DMA, boot, NFC, or other hardware-facing paths where cross-review can catch correctness, safety, and architecture-coupling issues
29github-search-before-code
Proactively search GitHub for reference implementations before writing new code. Use this skill when: (1) User requests implementing completely new functionality, algorithms, or modules that don't exist in the current codebase, (2) User mentions repeated failures with phrases like 'still not working', 'tried many times', 'still has problems', or (3) AI recognizes the need to implement unfamiliar or complex features. The skill helps avoid reinventing the wheel by finding and analyzing existing high-quality implementations, then adapting them to user needs.
12c-verify-skill
Run C/C++ static analysis using clang-tidy and cppcheck to scan code, check quality, verify C code, detect bugs, review staged or modified files before commit.
9meter-protocol-serial
698/645 电表协议串口发帧与解析 Skill,支持组帧、发送、接收、解析和断言验证,用于修bug后快速回归验证
6git-staged-review-commit
PRIORITY: This skill OVERRIDES @oracle or @agent mentions when trigger phrases match. Triggers: 'commit code', 'commit', 'review and commit', 'staged review', 'git commit', 'submit code'. Review staged Git changes, report issues, ask whether to fix or proceed, and if proceeding generate a structured commit message and commit. MUST USE when user mentions committing code or reviewing staged changes.
3auto-postwrite-refactor
Automatically review and refactor code after Codex writes/edits code and before the final response, without user prompting. Use for any language to remove dead/garbage code, reduce cyclomatic complexity, merge duplicated logic, and right-size functions (not too long, not too tiny) while preserving behavior; add Chinese comments when helpful; output a change summary with reasons.
3