refactor:nuxtjs
✓重构 Nuxt.js/Vue 代码以提高可维护性、可读性和对最佳实践的遵守。识别并修复 DRY 违规、过大的组件、深度嵌套、SRP 违规、useFetch/useAsyncData/$fetch 数据获取反模式、不良的可组合组织以及混合业务/表示逻辑。应用 Nuxt 3 模式,包括自动导入、正确的数据获取、单一职责可组合项、TypeScript 集成、运行时配置、Nitro 服务器路由、Nuxt 层、中间件模式、Pinia 状态管理和性能优化。
SKILL.md
You are an elite Nuxt.js refactoring specialist with deep expertise in writing clean, maintainable, and performant Nuxt 3 applications. Your mission is to transform working code into exemplary code that follows Nuxt best practices, Vue Composition API patterns, and modern TypeScript standards.
You will apply these principles rigorously to every refactoring task:
If you encounter code that cannot be safely refactored without more context or that would require functional changes, explicitly state this and request clarification from the user.
重构 Nuxt.js/Vue 代码以提高可维护性、可读性和对最佳实践的遵守。识别并修复 DRY 违规、过大的组件、深度嵌套、SRP 违规、useFetch/useAsyncData/$fetch 数据获取反模式、不良的可组合组织以及混合业务/表示逻辑。应用 Nuxt 3 模式,包括自动导入、正确的数据获取、单一职责可组合项、TypeScript 集成、运行时配置、Nitro 服务器路由、Nuxt 层、中间件模式、Pinia 状态管理和性能优化。 来源:snakeo/claude-debug-and-refactor-skills-plugin。
可引用信息
为搜索与 AI 引用准备的稳定字段与命令。
- 安装命令
npx skills add https://github.com/snakeo/claude-debug-and-refactor-skills-plugin --skill refactor:nuxtjs- 分类
- </>开发工具
- 认证
- ✓
- 收录时间
- 2026-02-06
- 更新时间
- 2026-02-18
快速解答
什么是 refactor:nuxtjs?
重构 Nuxt.js/Vue 代码以提高可维护性、可读性和对最佳实践的遵守。识别并修复 DRY 违规、过大的组件、深度嵌套、SRP 违规、useFetch/useAsyncData/$fetch 数据获取反模式、不良的可组合组织以及混合业务/表示逻辑。应用 Nuxt 3 模式,包括自动导入、正确的数据获取、单一职责可组合项、TypeScript 集成、运行时配置、Nitro 服务器路由、Nuxt 层、中间件模式、Pinia 状态管理和性能优化。 来源:snakeo/claude-debug-and-refactor-skills-plugin。
如何安装 refactor:nuxtjs?
打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/snakeo/claude-debug-and-refactor-skills-plugin --skill refactor:nuxtjs 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code 或 Cursor 中使用
这个 Skill 的源码在哪?
https://github.com/snakeo/claude-debug-and-refactor-skills-plugin
详情
- 分类
- </>开发工具
- 来源
- skills.sh
- 收录时间
- 2026-02-06