use-react-effect 是做什么的?
Codex 技能:正确使用 React Effect、重构和审查
Codex 技能:正确使用 React Effect、重构和审查
该技能旨在帮助开发者正确使用 React 的 useEffect、useLayoutEffect 等 Effect Hook,避免常见陷阱,如过度依赖、遗漏依赖或无限循环。它提供了一系列规则和指导,用于重构现有代码以符合最佳实践,并能够对 Effect 的使用进行代码审查。该技能支持 Codex 平台,通过分析代码中的 Effect Hook 调用,识别潜在问题并给出改进建议。核心基于 React 官方文档的 Effect 生命周期原则和严格模式下的行为。
npx skills add dream-image/use-react-effectCodex 技能:正确使用 React Effect、重构和审查
ElevenLabs text-to-speech with mac-style say UX.
Oracle CLI second-model review/debug/refactor/design with selected files, dry-run token checks, API or browser engine.
Capture and automate macOS UI with the Peekaboo CLI.
Generate multiple radically different interface designs for a module using parallel sub-agents. Use when user wants to design an API, explore interface options, compare module shapes, or mentions "design it twice".
Build a throwaway prototype to flesh out a design — a runnable terminal app for state/business-logic questions, or several radically different UI variations toggleable from one route.
Interview the user relentlessly about a plan or design until reaching shared understanding, resolving each branch of the decision tree. Use when user wants to stress-test a plan, get grilled on their design, or mentions "grill me".