yuyonghao-code-refactorAnalyze code quality issues, detect code smells, and automatically apply refactoring suggestions with preview, apply, and rollback support.
Install via ClawdBot CLI:
clawdbot install yuyonghao-123/yuyonghao-code-refactorGrade Limited — based on market validation, documentation quality, package completeness, maintenance status, and authenticity signals.
Potentially destructive shell commands in tool definitions
exec(Audited Apr 17, 2026 · audit v1.0
Generated May 9, 2026
A company inherits a large, monolithic JavaScript codebase with many code smells like long functions and deep nesting. Using this skill, developers can analyze the code, identify issues, and systematically apply refactors such as extracting functions and simplifying conditions to improve maintainability.
During code review, a team wants to automatically detect common issues like magic numbers, duplicate code, and complex expressions. The skill can analyze pull request diffs and provide actionable recommendations, reducing manual review effort.
New team members need to understand and improve unfamiliar code. The skill's analysis highlights problematic areas, and the dry-run feature allows safe experimentation before applying changes, accelerating onboarding.
A CI/CD pipeline includes a step to analyze code quality metrics like cognitive complexity. When thresholds are exceeded, the skill can automatically refactor and run tests to ensure no regression, then commit the changes.
A team plans a sprint focused on reducing technical debt. Using the skill, they can quickly scan the entire codebase, prioritize issues by severity, and apply safe refactorings with rollback capability to track progress.
Offer the skill as a cloud service integrated with GitHub or GitLab, charging per repository per month. Include advanced features like custom rule configurations and priority support.
License the skill to enterprises for deployment within their own infrastructure, ensuring data privacy. Provide annual licensing with maintenance and updates.
Offer basic code analysis and dry-run refactoring for free. Charge for premium features like automated change application, test validation, and custom configurations.
💬 Integration Tip
Integrate via CLI or API into your existing CI/CD pipeline for automated analysis, or use the Node.js API directly in your development workflow.
Scored May 9, 2026
Control desktop applications on Windows — launch, close, focus, resize, move windows, simulate keyboard/mouse input, manage processes, control VSCode, read clipboard, and capture screen info. Use when the user wants to interact with any running program, switch windows, type text, press shortcuts, open files in VSCode, manage running processes, or get system display information.
Conduct rigorous, adversarial code reviews with zero tolerance for mediocrity. Use when users ask to "critically review" my code or a PR, "critique my code", "find issues in my code", or "what's wrong with this code". Identifies security holes, lazy patterns, edge case failures, and bad practices across Python, R, JavaScript/TypeScript, SQL, and front-end code. Scrutinizes error handling, type safety, performance, accessibility, and code quality. Provides structured feedback with severity tiers (Blocking, Required, Suggestions) and specific, actionable recommendations.
Pragmatic coding standards for writing clean, maintainable code — naming, functions, structure, anti-patterns, and pre-edit safety checks. Use when writing new code, refactoring existing code, reviewing code quality, or establishing coding standards.
Claude Code integration for OpenClaw. This skill provides interfaces to: - Query Claude Code documentation from https://code.claude.com/docs - Manage subagents and coding tasks - Execute AI-assisted coding workflows - Access best practices and common workflows Use this skill when users want to: - Get help with coding tasks - Query Claude Code documentation - Manage AI-assisted development workflows - Execute complex programming tasks
Plan, draft, version, and refine written content with enforced versioning and quality audits.
Use when writing tests, creating test strategies, or building automation frameworks. Invoke for unit tests, integration tests, E2E, coverage analysis, performance testing, security testing.