code-review-refactor
Skill by spring-ai-alibaba
Runs a code review on existing Nuxt 4, Vue 3 and Vuetify 3 code and proposes refactoring and reuse steps. It covers logic extraction, CSS de-duplication and JSON-driven page reuse. It is aimed at developers whose components or pages have become messy or repetitive.
Install code-review-refactor
Built from the published package, never by AI.
git clone --depth 1 https://github.com/spring-ai-alibaba/DataAgent /tmp/DataAgent && mkdir -p ~/.claude/skills && cp -r /tmp/DataAgent/data-agent-frontend-nuxt/.cursor/skills/code-review-refactor ~/.claude/skills/code-review-refactorRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/spring-ai-alibaba/DataAgent /tmp/DataAgent && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/DataAgent/data-agent-frontend-nuxt/.cursor/skills/code-review-refactor ~/.gemini/antigravity-cli/skills/code-review-refactorAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install code-review-refactor in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
This skill guides an AI assistant through reviewing existing Nuxt 4, Vue 3 and Vuetify 3 code. It checks for repeated logic, oversized components, duplicated CSS, and similar pages that could be driven by configuration. Its checklists cover logic extraction into utils, composables or services, componentization, and TypeScript narrowing for array access and streaming data.
The output follows a fixed structure: key issues ranked by severity, actionable refactoring suggestions, a JSON-driven reuse plan when duplicate pages exist, and a manual test plan. The skill sets a rule that refactors must keep existing behavior and interactions unchanged. It is intended for developers maintaining Nuxt and Vuetify projects who want a consistent review and refactor process.
Written from the project's SKILL.md and checked against it.
What it can do
- Logic extraction reviewFinds repeated processing logic and suggests where it should move: utils, composables or services.
- Componentization reviewFlags oversized or multi-purpose components and proposes child components and composables to split them.
- CSS de-duplicationFinds duplicated or near-identical CSS and suggests shared classes or shared wrapper components.
- JSON-driven page reuseProposes a minimal configuration schema so similar admin pages can share one skeleton.
- TypeScript safety guardsSuggests narrowing patterns for possibly undefined array access and unsafe streaming data.
- Structured review outputReturns critical issues, refactoring suggestions, a reuse plan and a manual regression test plan.
What you need
- An existing codebase built with Nuxt 4, Vue 3 and Vuetify 3
Try asking
- Review my Nuxt 4 and Vuetify 3 components and list the most critical issues.
- Show which repeated logic in my pages should move to utils or composables.
- Design a JSON config schema so my similar admin pages share one template.
Good to know
- Refactors must keep existing features, interfaces and interaction behavior unchanged.
- Large full rewrites are not allowed unless the user explicitly asks and accepts the high risk.
- Written for the Nuxt 4, Vue 3 and Vuetify 3 stack.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: data-agent-frontend-nuxt/.cursor/skills/code-review-refactor/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md5 KB
Alternatives to code-review-refactor
All alternatives →PaperBanana generates publication-quality academic diagrams from a paper's methodology text and figure caption. It is aimed at researchers preparing figures for venues such as NeurIPS, ICML, and ACL.
Creates a monochrome technical wireframe design system for dark diagnostic interfaces. It covers layout, typography, info labels, widgets and an exploded wireframe centerpiece. It is for designers and developers building teardown, systems dashboard or specification-style screens.
Guides an AI assistant through embedding interactive Spline.design 3D scenes in web projects. It covers vanilla, React, Next.js, Vue and iframe setups, for developers adding 3D to websites.
Code Slice Hero is a HyperFrames headline block. A tiled surface flips cell by cell to reveal a second headline behind the first, at 1920×1080 and 8 seconds.
Generates patent-office-compliant figures and converts drawings through the PatentFig AI API. Built for patent filers who need USPTO or EPO line art, CAD-ready vectors, or filing-ready TIFF, PDF, or PNG files.
Creates a framed dark technical design system for AI assistants, using border-gradient shells, asymmetrical grid panels, and mono labels. Suited to premium, instrument-like interfaces that need visible boundaries. Published by MengTo.
Compare with paperbanana, technical-wireframe-info-layout or spline-3d-integration
code-review-refactor: common questions
What stack does the code-review-refactor skill target?
The skill is written for existing Nuxt 4, Vue 3 and Vuetify 3 code. Its checks and suggestions are based on that stack.
Does the skill rewrite my whole project?
No. The source says large rewrites are not allowed unless the user explicitly asks for one and accepts the risk. Changes should be small and verifiable.
What does the skill output for a code review?
It returns the most critical issues by severity, refactoring suggestions, a JSON-driven reuse plan if duplicate pages exist, and a manual test plan.
How do I install code-review-refactor?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is code-review-refactor free?
The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.
Is code-review-refactor safe to use?
It scores 80 of 100. Grades: maintenance B, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to code-review-refactor?
Similar skills: paperbanana, technical-wireframe-info-layout, spline-3d-integration, code-slice-hero.
