什么是 code-checker?
扫描 C/C++ 代码库以查找代码质量问题,包括超大文件/函数和循环依赖项。当用户要求检查文件大小、查找超大函数、检测循环依赖、分析代码复杂性、查找代码异味或识别 C/C++ 代码中的可维护性问题时使用。支持使用可配置的阈值扫描单个文件或整个目录。 来源:openharmonyinsight/openharmony-skills。
扫描 C/C++ 代码库以查找代码质量问题,包括超大文件/函数和循环依赖项。当用户要求检查文件大小、查找超大函数、检测循环依赖、分析代码复杂性、查找代码异味或识别 C/C++ 代码中的可维护性问题时使用。支持使用可配置的阈值扫描单个文件或整个目录。
通过命令行快速安装 code-checker AI 技能到你的开发环境
来源:openharmonyinsight/openharmony-skills。
Analyzes C/C++ code for maintainability issues: extra large files/functions and circular dependencies between modules.
| Large functions | references/refactoring.md | | Circular dependencies | See references/circular-deps.md |
| Files | 2000 effective lines | Hard to navigate, understand | | Functions | 50 effective lines | Beyond cognitive fit, hard to test |
扫描 C/C++ 代码库以查找代码质量问题,包括超大文件/函数和循环依赖项。当用户要求检查文件大小、查找超大函数、检测循环依赖、分析代码复杂性、查找代码异味或识别 C/C++ 代码中的可维护性问题时使用。支持使用可配置的阈值扫描单个文件或整个目录。 来源:openharmonyinsight/openharmony-skills。
为搜索与 AI 引用准备的稳定字段与命令。
npx skills add https://github.com/openharmonyinsight/openharmony-skills --skill code-checkerBrowse more skills from openharmonyinsight/openharmony-skills
扫描 C/C++ 代码库以查找代码质量问题,包括超大文件/函数和循环依赖项。当用户要求检查文件大小、查找超大函数、检测循环依赖、分析代码复杂性、查找代码异味或识别 C/C++ 代码中的可维护性问题时使用。支持使用可配置的阈值扫描单个文件或整个目录。 来源:openharmonyinsight/openharmony-skills。
打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/openharmonyinsight/openharmony-skills --skill code-checker 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code、Cursor 或 OpenClaw 中使用
https://github.com/openharmonyinsight/openharmony-skills