
React Refactor
作者 pproencacf93c57cac89无许可证215 个星标收录于 2026年10月8日更新于 2026年10月8日仓库7周前更新
Architectural refactoring guide for React applications covering component architecture, state architecture, hook patterns, component decomposition, coupling and cohesion, data flow, and refactoring safety. Use when refactoring React codebases, reviewing PRs for architectural issues, decomposing oversized components, or improving module boundaries. Does NOT cover React 19 API usage (see react skill) or performance optimization (see react-optimise skill).
仅公开文件列表。将技能安装到工作区后即可查看文件内容。
| 路径 | 大小 | 类型 |
|---|---|---|
| AGENTS.md | 8.6 KB | text/markdown |
| assets/templates/_template.md | 631 B | text/markdown |
| metadata.json | 777 B | application/json |
| README.md | 4.3 KB | text/markdown |
| references/arch-composition-over-props.md | 2.8 KB | text/markdown |
| references/arch-compound-components.md | 3.1 KB | text/markdown |
| references/arch-container-presentational.md | 3 KB | text/markdown |
| references/arch-feature-colocation.md | 2 KB | text/markdown |
| references/arch-headless-pattern.md | 3.5 KB | text/markdown |
| references/arch-interface-segregation.md | 2.9 KB | text/markdown |
| references/arch-push-client-low.md | 3.2 KB | text/markdown |
| references/arch-render-props-to-hooks.md | 1.9 KB | text/markdown |
| references/couple-barrel-free-features.md | 2.6 KB | text/markdown |
| references/couple-break-circular-deps.md | 2.4 KB | text/markdown |
| references/couple-dependency-injection.md | 2.3 KB | text/markdown |
| references/couple-stable-imports.md | 2.5 KB | text/markdown |
| references/data-context-module-pattern.md | 3.2 KB | text/markdown |
| references/data-granular-error-boundaries.md | 2.6 KB | text/markdown |
| references/data-server-first-fetch.md | 2.9 KB | text/markdown |
| references/data-tanstack-query-client.md | 2.7 KB | text/markdown |
| references/decomp-complete-extraction.md | 2.8 KB | text/markdown |
| references/decomp-extract-by-change-reason.md | 3.5 KB | text/markdown |
| references/decomp-extract-pure-functions.md | 3.3 KB | text/markdown |
| references/decomp-inline-premature.md | 3.1 KB | text/markdown |
| references/decomp-scroll-test.md | 3.9 KB | text/markdown |
| references/decomp-separate-view-logic.md | 3.7 KB | text/markdown |
| references/hook-avoid-object-deps.md | 2.3 KB | text/markdown |
| references/hook-composition-over-nesting.md | 2.6 KB | text/markdown |
| references/hook-dependency-stability.md | 2.7 KB | text/markdown |
| references/hook-extract-when-nameable.md | 2.7 KB | text/markdown |
| references/hook-naming-conventions.md | 2.5 KB | text/markdown |
| references/hook-single-responsibility.md | 3.3 KB | text/markdown |
| references/safety-characterization-tests.md | 2.5 KB | text/markdown |
| references/safety-extract-pure-testability.md | 3 KB | text/markdown |
| references/safety-integration-over-unit.md | 3.1 KB | text/markdown |
| references/safety-snapshot-free.md | 2.4 KB | text/markdown |
| references/safety-test-behavior.md | 2.4 KB | text/markdown |
| references/_sections.md | 1.9 KB | text/markdown |
| references/state-colocate-with-consumers.md | 2.1 KB | text/markdown |
| references/state-context-for-static.md | 2.9 KB | text/markdown |
| references/state-derive-dont-sync.md | 2.2 KB | text/markdown |
| references/state-lift-only-when-shared.md | 2 KB | text/markdown |
| references/state-machines-for-workflows.md | 3.6 KB | text/markdown |
| references/state-reducer-for-complex.md | 3.1 KB | text/markdown |
| references/state-url-as-state.md | 3.6 KB | text/markdown |
| SKILL.md | 9.2 KB | text/markdown |
来源与署名
来源:pproenca/dot-skills位于skills/.experimental/react-refactor提交cf93c57
许可证: 无许可证
内容归原作者所有。SourceWeft 从公开仓库中收录这些内容。
更多来自 pproenca/dot-skills 的技能

Typescript Refactor
pproenca
用于重构和现代化 TypeScript 与 React/TSX 代码的指南,涵盖九大类共 47 条规则。

Tailwind Ui Refactor
pproenca
包含 52 条规则的 Tailwind CSS 界面重构指南,涵盖层级、间距、排版、色彩、层次与细节。

Shell
pproenca
一份包含 49 条 shell 脚本最佳实践的参考指南,用于编写安全、可移植且易维护的 bash 与 sh 脚本。

Expo React Native Performance
pproenca
针对 Expo React Native 应用的性能优化指南,涵盖启动、列表、重渲染、动画、资源、内存与异步。

Framer Motion
pproenca
用于优化 React 应用中 Framer Motion 动画性能的指南。

Emilkowal Animations
pproenca
网页动画最佳实践参考指南,涵盖缓动、时长、变换、手势、无障碍与 Tailwind v4。
更多Software Development技能

Playground
anthropics
构建自包含的交互式 HTML 演练场,包含控件、实时预览和可复制的提示词输出。

M5 Onboard
anthropics
通过 USB 检测 M5Stack ESP32 开发板,刷写 UIFlow 2.0 固件并安装 MicroPython 应用包。

Cardputer Buddy
anthropics
指导迭代 Cardputer-Adv 的 MicroPython 应用包:添加应用、通过 USB 串口推送文件、查看日志并运行 REPL 命令。

Web Design Guidelines
vercel-labs
依据从远程来源获取的 Web Interface Guidelines 审查 UI 代码,并以 file:line 形式报告问题。

Vercel React Native Skills
vercel-labs
React Native 与 Expo 最佳实践规则,涵盖列表性能、动画、导航、UI 模式、状态与 monorepo 配置。

Vercel React Best Practices
vercel-labs
Vercel 的 React 与 Next.js 性能指南,以 70 条规则的形式用于编写、审查和重构代码。