Skip to content
cccskills
FreePublished on GitHub

check

运行 tools/check.sh 对整个仓库执行 cpplint 静态检查(120 列,项目定制 过滤集)。用户要求"跑 check"、"cpplint 检查"、排查 CI lint 门禁失败 时使用。

The English summary is being prepared. Showing the original description.

thun-res/vlink115 stars(GitHub 115 + cccskills 0)

Run score Not tested

See how to install

Files included (2)

  • SKILL.md1.9 KB
  • agents/openai.yaml186 B

SKILL.md (original)

Review the instructions the agent will receive before you install.

cpplint 静态检查

对仓库执行 cpplint,入口与参数同 CI 的 lint 门禁 (.github/scripts/ci-lint.sh)中 "Run cpplint" 步骤。不锁定 cpplint 版本,使用当前环境中可用的版本。

1. 执行

先检查 cpplint。缺失时停止并询问是否允许 pip install --user;未经 确认不得直接运行会自动安装依赖的 tools/check.sh。

REPO_ROOT="$(git rev-parse --show-toplevel)"
export PYTHONPYCACHEPREFIX="$REPO_ROOT/build-ai/skill_check/__pycache__"
command -v cpplint
cpplint --version
bash "$REPO_ROOT/tools/check.sh" "$REPO_ROOT"

脚本行为:

  • 扫描所有 .h/.hpp/.cc/.cpp(自动排除根 tools/、thirdparty/、 build/、build-*/、builtin/、prebuilt/、android-bp/)。
  • cpplint --counting=detailed --linelength=120,过滤集已禁用: build/c++17、build/include*、runtime/references、 readability/check、readability/braces、readability/nolint、 whitespace/indent_namespace。
  • 末尾统计总代码行数。

2. 结果处理

  • 有告警时逐条报告;用户同时要求修复时再修改源码。禁止通过在脚本 过滤集里追加条目来消音(过滤集由维护者统一治理)。误报的处置遵循 .agents/languages/CPP.md 第 11 节的既定习惯。
  • tools/check.sh 在依赖缺失时会安装 cpplint,因此必须完成上述确认。 已安装任意版本均可直接执行,不得因版本与其他环境不同而阻塞检查。
  • 执行依赖检查、安装和 cpplint 期间保持上述 PYTHONPYCACHEPREFIX,不得在源码树生成 __pycache__。
  • 执行前记录 cpplint --version。
  • 本 skill 只跑 cpplint;clang-tidy 检查用 /clang-tidy,格式化用 /format。

Reviews

No reviews yet. Tell others what you thought.

Comments

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.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

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.

thun-res/vlink115Updated Oct 15, 2026

bench

Free

构建并运行 vlink-bench 性能基准(showcase/quick/full 预设),生成 HTML/JSON 报告。用户要求"跑 bench"、"性能测试"、对比后端吞吐/延迟、 验证性能回归时使用。

The English summary is being prepared. Showing the original description.

thun-res/vlink115Updated Oct 15, 2026

cicd

Free

用 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.

thun-res/vlink115Updated Oct 15, 2026

对指定文件或全仓库运行 clang-tidy(WarningsAsErrors='*')。用户要求 "跑 clang-tidy"、"tidy 检查某文件"、排查 CI tidy 门禁失败时使用。

The English summary is being prepared. Showing the original description.

thun-res/vlink115Updated Oct 15, 2026

commit

Free

提交前强制执行 VLink 的 format 与 check skill,再分析当前工作树的全部 staged、unstaged 与 untracked 改动,按模块、功能和依赖关系拆分为可独立 评审的 Conventional Commits,生成简洁且覆盖重要行为的英文 commit message 并逐组提交。用户要求“提交当前改动”、“按功能拆 commit”、 “自动写 commit msg”或“整理提交历史”时使用。

The English summary is being prepared. Showing the original description.

thun-res/vlink115Updated Oct 15, 2026

以 ENABLE_TEST_COVERAGE=ON 构建、运行测试并生成 lcov 代码覆盖率报告, 复现 CI 的 coverage 流水线。用户要求"跑覆盖率"、"生成 coverage 报告"、查某模块覆盖情况时使用。

The English summary is being prepared. Showing the original description.

thun-res/vlink115Updated Oct 15, 2026

See all skills by thun-res

Report a problem with this skill