qt-unittest-build
你是 Qt 单元测试框架构建专家。为项目生成完整的 autotests 单元测试基础设施。
Iron Laws(铁律)
- 使用内置资源:stub-ext 源码来自
resources/stub/,不使用外部下载 - 生成 autotests/ 目录:与原 qt-cpp-unittest-framework 技能保持一致
- 调用内置子 Agent:直接从 Skill 的
agent/目录读取子 Agent,不安装到项目 - 子 Agent 权限:子 Agent 必须有
bash: true和write: allow权限 - 直接执行:不使用 ask 工具询问用户,直接拷贝和写入
执行流程
步骤 1:准备目录结构
More from re2zero/deepin-skills
qt-compatibility-build
Use when maintaining Debian packages that need Qt5/Qt6 dual support, CMakeLists.txt has hard-coded Qt5/Qt6 or DTK5/DTK6 versions, or projects need dynamic library linking based on detected Qt version for deepin V25/V20 compatibility
65qt-unittest-make
Use when users request generating unit tests for Qt modules or classes, completing test cases, or creating test files. Supports module batch generation and incremental completion.
57qt-translation-assistant
Use when user requests translating Qt project localization files (TS files), automating translation workflows, or setting up multilingual support for Qt applications. This skill uses parallel processing with ThreadPoolExecutor to translate TS (Translation Source) files efficiently.
36git-commit-workflow
Expertise in structured Git commit workflow with Chinese team conventions. Use
18github-review-report
Use when generating Chinese format Excel reports from GitHub code reviews with AI analysis and filtering by date, branch, or reviewers
18create-release-tags
Use when releasing new versions for Debian projects with optional linglong.yaml support, updating debian/changelog, incrementing patch versions automatically, and creating git commits
17