hai-review-module

Audit hai-framework module code against hai-create-module review guidelines.

3|7|Updated Jan 28, 2026
One-click install
npx skills add https://github.com/hai-series/hai-framework --skill hai-review-module
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: hai-review-module
Source: https://github.com/hai-series/hai-framework/tree/main/.github/skills/hai-review-module
Command: npx skills add https://github.com/hai-series/hai-framework --skill hai-review-module

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill provides structured, AI-guided code review guidelines to ensure hai-framework modules meet architectural, naming, typing, logging, testing, and documentation standards.

Core Features & Use Cases

  • Part 1 — 基础审查 across §§2–11 with a detailed checklist and issue tracking.
  • Part 2 — 交叉评审与模拟 using four independent reviewer roles, production-accident simulations, and a consolidated change summary.
  • 生成变更汇总并按优先级输出,确保成套修改和全面覆盖。
  • 支持与 hai-create-module 的对比与对齐,确保一致性和可追溯性。

Quick Start

Run a two-stage assessment to review a target module and generate a prioritized change report.

Frequently Asked Questions about hai-review-module

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I run an AI-assisted code review for a hai-framework module?

Run a two-stage assessment on the target module code to apply foundational checks and cross-review, generating a prioritized change plan. This audits architecture, naming, typing, logging, tests, and documentation against standard guidelines.

What is the NotInitializedKit pattern for error handling in module code?

The NotInitializedKit pattern ensures proper API error handling by avoiding throws and maintaining API consistency. Module code reviews verify this pattern is correctly implemented to prevent unhandled exceptions and ensure robust initialization.

How do I audit module code for security and privacy considerations?

Audit module code by applying standard review guidelines that check for robust privacy and security considerations. The process identifies vulnerabilities and produces a consolidated change summary to ensure conformance to security standards.

Can I use this review process to align modules with hai-create-module standards?

Yes, the review process explicitly supports comparison and alignment with hai-create-module standards. It ensures consistency and traceability by auditing code against the foundational review guidelines defined in the module creation process.

What is cross-review with four reviewer roles in module code auditing?

Cross-review uses four independent reviewer roles to simulate production accidents and audit module code from multiple perspectives. This produces a consolidated, prioritized change summary covering architecture, typing, logging, tests, and documentation.

Does the module audit generate a prioritized change plan for code quality assurance?

Yes, the audit generates a prioritized change plan that ensures comprehensive coverage and complete modifications. It outputs a detailed change summary addressing all identified issues across the module's foundational and cross-review checks.