code-reviewer
Code review automation for TypeScript, JavaScript, Python, Go, Swift, Kotlin. Analyzes PRs for complexity and risk, checks code quality for SOLID violations and code smells, generates review reports. Use when reviewing pull requests, analyzing code quality, identifying issues, generating review checklists.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/alirezarezvani/cs-code-reviewerWhat This Skill Does
The code-reviewer skill is a powerful automated static analysis and quality assessment tool designed for modern development workflows. It integrates into your repository to provide a systematic evaluation of pull requests and source code. By leveraging three specialized sub-tools—the PR Analyzer, Code Quality Checker, and Review Report Generator—it identifies potential vulnerabilities like hardcoded secrets, SQL injection risks, and debugging artifacts, while simultaneously ensuring adherence to SOLID principles and code health metrics. It is designed to support TypeScript, JavaScript, Python, Go, Swift, and Kotlin, providing teams with objective feedback before a human reviewer even begins their pass.
Installation
To integrate the code-reviewer into your environment, use the OpenClaw management command in your terminal:
clawhub install openclaw/skills/skills/alirezarezvani/cs-code-reviewer
Ensure that you have the necessary permissions to access the target repository, as the skill requires file-read access to perform a comprehensive static analysis of your source code.
Use Cases
- Automated PR Gatekeeping: Automatically run the PR Analyzer on new pull requests to catch high-risk issues like secrets or insecure patterns before merging.
- Technical Debt Management: Periodically use the Code Quality Checker to identify long functions, God classes, and deep nesting across your codebase.
- Review Standardization: Use the Review Report Generator to produce consistent, markdown-formatted reports that provide a clear verdict (Approve vs. Request Changes) based on a 0-100 score, ensuring all PRs meet project standards.
- Onboarding Support: Help junior developers learn best practices by providing instant feedback on their code submissions regarding complexity and architectural smells.
Example Prompts
- "@code-reviewer analyze the current branch and give me a summary of any high-risk code quality issues that need immediate attention."
- "@code-reviewer run a full quality check on /src/components and generate a markdown report for my current pull request."
- "@code-reviewer identify all TODOs and complex functions in the user-authentication service, and prioritize them by complexity score."
Tips & Limitations
- Pre-computed Analyses: You can chain the tools by saving JSON outputs and passing them to the report generator to speed up workflows for large repositories.
- Threshold Tuning: While the tool has default thresholds (e.g., 50 lines for functions), remember that code health is context-dependent. Use the tool as a decision-support aid, not a final arbiter.
- Security: Always verify the report output. While the tool is excellent at catching common vulnerabilities, it is not a replacement for comprehensive security penetration testing or human architectural review.
- Limitations: The tool performs static analysis. It cannot evaluate runtime behavior, logic errors that require business domain knowledge, or complex state management issues that are not captured in the syntax structure.
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-alirezarezvani-cs-code-reviewer": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: file-read
Related Skills
intl-expansion
International market expansion strategy. Market selection, entry modes, localization, regulatory compliance, and go-to-market by region. Use when expanding to new countries, evaluating international markets, planning localization, or building regional teams.
marketing-strategy-pmm
Product marketing skill for positioning, GTM strategy, competitive intelligence, and product launches. Use when the user asks about product positioning, go-to-market planning, competitive analysis, target audience definition, ICP definition, market research, launch plans, or sales enablement. Covers April Dunford positioning, ICP definition, competitive battlecards, launch playbooks, and international market entry. Produces deliverables including positioning statements, battlecard documents, launch plans, and go-to-market strategies.
paid-ads
When the user wants help with paid advertising campaigns on Google Ads, Meta (Facebook/Instagram), LinkedIn, Twitter/X, or other ad platforms. Also use when the user mentions 'PPC,' 'paid media,' 'ad copy,' 'ad creative,' 'ROAS,' 'CPA,' 'ad campaign,' 'retargeting,' or 'audience targeting.' This skill covers campaign strategy, ad creation, audience targeting, and optimization.
qms-audit-expert
ISO 13485 internal audit expertise for medical device QMS. Covers audit planning, execution, nonconformity classification, and CAPA verification. Use for internal audit planning, audit execution, finding classification, external audit preparation, or audit program management.
code-reviewer
Code review automation for TypeScript, JavaScript, Python, Go, Swift, Kotlin. Analyzes PRs for complexity and risk, checks code quality for SOLID violations and code smells, generates review reports. Use when reviewing pull requests, analyzing code quality, identifying issues, generating review checklists.