cache-optimizer

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

Cache Optimizer Skill

缓存优化器Skill

Purpose

用途

Automatically analyze and provide assistance for react data fetching in React 18+ applications.
针对React 18+应用中的React数据获取进行自动分析并提供协助。

When to Use

使用场景

This skill activates when:
  • Working with React components
  • Analyzing react data fetching patterns
  • Optimizing code for performance
  • Adding TypeScript types
在以下场景中激活此Skill:
  • 处理React组件时
  • 分析React数据获取模式时
  • 针对性能优化代码时
  • 添加TypeScript类型时

Best Practices

最佳实践

  • Follow React 18+ conventions
  • Use modern hooks patterns
  • Implement proper TypeScript types
  • Add comprehensive error handling
  • 遵循React 18+规范
  • 使用现代Hooks模式
  • 实现恰当的TypeScript类型
  • 添加全面的错误处理