asan
Free以 AddressSanitizer(ENABLE_TEST_SANITIZE=ON)构建并运行 vlink-test 单元测试,复现 CI 的 ASan 门禁。用户要求"跑 asan"、"内存检测测试"、 排查 ci-test 的 sanitize 失败时使用。
The English summary is being prepared. Showing the original description.
提交前强制执行 VLink 的 format 与 check skill,再分析当前工作树的全部 staged、unstaged 与 untracked 改动,按模块、功能和依赖关系拆分为可独立 评审的 Conventional Commits,生成简洁且覆盖重要行为的英文 commit message 并逐组提交。
用户要求“提交当前改动”、“按功能拆 commit”、 “自动写 commit msg”或“整理提交历史”时使用。
The English summary is being prepared. Showing the original description.
Run score Not tested
See how to installReview the instructions the agent will receive before you install.
只创建本地 commit,不 push、不创建 PR、不改写已有历史。先读仓库根
AGENTS.md、.agents/CI-AND-PR.md 与 doc/15-contributing.md
§15.9/§15.11。
创建任何 commit、调整暂存区或制定最终分组前,必须完整加载并依次执行
.agents/skills/format/SKILL.md 与 .agents/skills/check/SKILL.md:
git status --short 和完整 diff,根据用户请求确认本次授权
覆盖的文件及其中既有改动是否允许格式化。存在归属不明、其他 Agent
改动或未授权 WIP 时停止询问;/commit 不自动授权格式化这些文件。/format 检查依赖与平台并执行 tools/format.sh;macOS 使用
该 skill 规定的 Homebrew GNU sed 路径。缺少工具且需要安装依赖时先
征得用户确认;不允许跳过格式化后继续提交。tools/format.sh 会在格式化阶段全部成功后,因检测到
tracked diff 打印 Files have changed. 并返回 1;这是预期的差异
状态,不能误判为格式化失败。未完成全部阶段、工具报错或出现其他
非零退出时停止,不得提交。/check 检查 cpplint 依赖并执行 tools/check.sh。任何告警
或非零退出都必须停止提交;不得追加过滤、使用 NOLINT 消音或绕过
检查。只有用户另行要求修复时才修改对应源码。git diff --check,然后才允许进入改动盘点与
分组。最终报告必须列出实际工具版本、命令和结果;不得把缺失、跳过
或失败写成通过。只要 /format 或 /check 未执行、无法执行或未通过,本 skill 就不得
创建任何 commit。
git status --short、staged/unstaged diff、文件状态和
untracked 文件内容。忽略 ignored 文件,不提交构建产物、缓存、密钥、
token 或与任务无关的个人配置。.agents/REPO-REFERENCE.md 判断模块职责,并从实际 diff 识别
功能目的;不得只按顶层目录或扩展名机械分组。每个 commit 只表达一个可独立说明、独立评审的逻辑变化:
开始提交前先形成有序分组清单,列出每组目的、type/scope 和文件/hunk。 用户已明确要求自动提交时直接执行;只有改动意图无法从代码判断、发现 疑似敏感信息或无法无损分组时才停止询问。
遵循 type(scope): subject。type、scope、subject 与必要的 body
全部使用英文;代码标识、路径、API 名和错误信息保持原文,与
doc/15-contributing.md §15.11 一致。
feat、fix、refactor、perf、docs、test、build、
ci、chore、style、revert 中选择。base、extension、proxy、
module-dds、cli-bag、cmake、agents;不可拆分的跨 scope
改动可省略 scope 或使用 *,但可拆分时不得用 * 掩盖混合提交。update、adjust、misc fixes、cleanup 等
空泛表述。BREAKING CHANGE:、Closes:、
Refs: footer,不推测编号。示例:
ci: standardize GitHub Actions script style
fix(packup): prevent empty config from leaking local scope
docs(agents): add module-aware commit skill
对每一组依次执行:
git status、目标文件和相关 diff;出现不在分组清单
内的新变化时停止并重新分析,不得覆盖、回退或顺手纳入其他 Agent 的
工作。只暂存该组的明确路径或 hunk,禁止无检查地使用 git add -A、
git add . 或通配整个仓库。git diff --cached 和 --stat,确认没有混入下一组、
ignored/生成垃圾或敏感信息;运行 git diff --cached --check。git commit 前再次确认工作树和 index 未发生并发变化。staged diff
非空且单独成立时再用最终 message 提交。--no-verify。检查 hook 产生的变化,
修正分组或报告阻塞后再提交。git show --stat --oneline HEAD 核对结果,再处理下一组。不得
amend、rebase、squash 或 reset 已创建的 commit,除非用户明确要求。本 skill 只额外授权上述强制 /format 与 /check;不要自行执行
cmake、ninja、clang-tidy 或测试二进制,也不要在 commit message
中声称未执行的验证已通过。
输出按顺序排列的 commit hash、subject 和每组核心范围;同时报告剩余
未提交改动及原因,并单列 /format、/check 的实际结果。最后确认未
push、未创建 PR、未改写历史。
No reviews yet. Tell others what you thought.
No login needed. Share how it worked for you, ask a question, or note where it did not run.
No comments yet. Be the first to write one.
以 AddressSanitizer(ENABLE_TEST_SANITIZE=ON)构建并运行 vlink-test 单元测试,复现 CI 的 ASan 门禁。用户要求"跑 asan"、"内存检测测试"、 排查 ci-test 的 sanitize 失败时使用。
The English summary is being prepared. Showing the original description.
构建并运行 vlink-bench 性能基准(showcase/quick/full 预设),生成 HTML/JSON 报告。用户要求"跑 bench"、"性能测试"、对比后端吞吐/延迟、 验证性能回归时使用。
The English summary is being prepared. Showing the original description.
运行 tools/check.sh 对整个仓库执行 cpplint 静态检查(120 列,项目定制 过滤集)。用户要求"跑 check"、"cpplint 检查"、排查 CI lint 门禁失败 时使用。
The English summary is being prepared. Showing the original description.
用 gh CLI 触发/查看 GitHub CI/CD:手动 dispatch 工作流 (release/coverage/docker)、查看运行状态与失败日志、重跑失败 job. 用户要求"触发 CI"、"看流水线"、"重跑失败的 job"时使用;创建 dev 到 master 的 PR 使用 /pr,正式发版使用 /release.
The English summary is being prepared. Showing the original description.
对指定文件或全仓库运行 clang-tidy(WarningsAsErrors='*')。用户要求 "跑 clang-tidy"、"tidy 检查某文件"、排查 CI tidy 门禁失败时使用。
The English summary is being prepared. Showing the original description.
以 ENABLE_TEST_COVERAGE=ON 构建、运行测试并生成 lcov 代码覆盖率报告, 复现 CI 的 coverage 流水线。用户要求"跑覆盖率"、"生成 coverage 报告"、查某模块覆盖情况时使用。
The English summary is being prepared. Showing the original description.