Code Review for Requirements and Design
Paste the following prompt into your AI chat to install this skill:
Please follow https://skillhub.cn/install/skillhub.md to install @user_377751ac/wenwei-code-review.
About this skill
Problem
After implementation, code review often relies on judgment: a requirement “looks done,” and a design change “should be fine,” without item-by-item evidence. This skill is aimed at engineering review, aligning the implementation with feature docs, requirement / clarification docs, and high-level design docs to surface missing requirements, unhandled edge cases, and changes that deviate from the design.
How It Works
- Material gating: it first lists the recognized inputs; if key documents are missing, it stops the workflow, explains the impact, and asks whether to continue.
- Review baseline: extract feature items, business rules, and edge cases from requirements; extract interfaces, data flow, logic changes, and change scope from the design.
- Located code review: use code locations from the docs to inspect the implementation, checking requirement coverage and design consistency, while looking for common risks such as
null checks,edge values,exception handling,concurrency safety,hard-coded values, andresource release. - Conclusion output: return
review passedorreview not passed, categorize issues asincomplete,bug, ordesign deviation, and tie each issue to a concrete code location.
Fit and Limits
Best suited when requirements, design, and code locations are available. If inputs are only verbal descriptions, requirements are unclear, or design docs are missing, the reliability of the conclusion drops.
Use Cases
- After feature development, verify whether the code covers requirement items, business rules, and edge cases.
- After design review, check whether interfaces, data flow, and logic changes follow the approved design.
- After refactoring or cross-module changes, locate code using feature docs and identify design deviations.
- When defects appear during integration testing, classify them as incomplete, bugs, or design deviations.
Best For
- Engineers owning core modules who need to align code with requirements and design before release.
- Tech leads who need a traceable issue list and a clear pass/fail conclusion before review meetings.
- Backend or frontend engineers refactoring code who need to confirm changes do not deviate from the design.
- QA engineers who need to classify defects as incomplete, bugs, or design deviations.
Related Skills
Guides Java Spring Boot backend development across REST APIs, data access, security, microservices, testing, deployment, and troubleshooting.
A systematic code error fixing skill that follows a five-step workflow: Reproduce, Isolate, Understand, Fix, Verify, to help developers resolve code errors.
Restores Lanhu designs to target framework code using schema JSON, design tokens, and image assets.
Automatically detects engineering or competition code, analyzes bugs, vulnerabilities, algorithm complexity, and edge cases, then produces risk-level findings with before/after fixes.