quality
Quality skill for the ikigai project
安装与使用
请根据来源仓库和你的 AI 工具说明安装此技能。先阅读技能文件和依赖要求,再添加到工作流。
查看来源 ↗使用指南技能说明
Quality
Description
Testing and quality requirements for development phase. Focus on high coverage.
Pre-Commit Requirements
Before creating commits:
-
make fmt- Format code -
make check- All tests pass -
make lint- Complexity/file size checks pass
Test Execution
By Default: Tests run in parallel, with 24 parallel tests on this machine.
-
MAKE_JOBS=24- up to 24 concurrent tests
When you need clear debug output (serialize execution):
PARALLEL=0 MAKE_JOBS=1 make check
Best practice: Test individual files during development, run full suite before commits.
Example:
make build/tests/unit/array/basic_test && ./build/tests/unit/array/basic_test
Build Modes
make BUILD={debug|release|sanitize|tsan|coverage}
-
debug- Development builds with symbols -
release- Optimized production builds -
sanitize- Address and undefined behavior sanitizers -
tsan- Thread sanitizer -
coverage- Code coverage analysis
Development Phase Focus
- Aim for high test coverage of new code
- Test the happy path and obvious error cases
- Coverage gaps will be closed in a dedicated coverage phase
- Don't let coverage metrics slow down feature development
CRITICAL: Never run multiple make commands simultaneously. Different targets use incompatible compiler flags and will corrupt the build.
使用示例
查看来源仓库中的使用示例与配置说明。
查看来源 ↗来源历史
- 收录时间
- 2026-01-20
- 索引更新时间
- 2026-01-26
- Branch
- main
收录与同步日期属于本站记录。源码修改历史请查看来源仓库。
GitHub ↗chat Comments (0)
Sign in to join the discussion and leave a comment.
No comments yet. Be the first to share your thoughts!