首页/ AI 技能 / @skilllib/skill-2014279427327209475
Skill站外收录 @skilllib/skill-2014279427327209475

reviewing_code

提供一套系统化的代码审查方法,涵盖需求理解、变更范围验证、风格一致性检查、测试覆盖确认、本地行为验证、文档同步更新等环节,强调具体可操作的改进建议与明确的决策依据。

0.0 (0) 542 次安装 原作者 编程导航
收录于 2026-01-22
商业与营销 AI 技能

Skills.MD

# Reviewing Code Effectively - Start by understanding the motivation for the change: read the linked issue, PR description, and any relevant design discussion. - Use `git diff` to examine the scope of changes and verify that only necessary files and lines were modified. - Check for consistency with NiMARE’s style and patterns: - PEP8 compliance and clear, numpydoc-style docstrings for public APIs. - Use of the scikit-learn–like estimator pattern where appropriate. - Confirm that new or modified functionality is covered by targeted tests, and that tests are focused and efficient. - When appropriate, run the relevant tests locally (not the entire test suite) to validate critical behavior or bugfixes. - Ensure documentation and examples are updated when APIs or behavior change (e.g., `docs/dev_guide.rst`, `docs/api.rst`, or relevant method docs). - Offer specific, constructive feedback that suggests concrete improvements or clarifications, and be explicit about what is blocking versus optional.

评论 0

还没有评论,来抢沙发。