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