typescript-react-patterns
✓React 开发的 TypeScript 最佳实践。在编写类型化 React 组件、钩子、事件、引用或通用组件时使用。触发涉及 TypeScript 错误、类型定义、道具类型或类型安全 React 模式的任务。
SKILL.md
Comprehensive TypeScript patterns for React applications. Contains 35+ rules across 7 categories for building type-safe, maintainable React code.
| 1 | Component Typing | CRITICAL | comp- | | 2 | Hook Typing | CRITICAL | hook- | | 3 | Event Handling | HIGH | event- | | 4 | Ref Typing | HIGH | ref- | | 5 | Generic Components | MEDIUM | generic- | | 6 | Context & State | MEDIUM | ctx- | | 7 | Utility Types | LOW | util- |
Read individual rule files for detailed explanations and code examples:
React 开发的 TypeScript 最佳实践。在编写类型化 React 组件、钩子、事件、引用或通用组件时使用。触发涉及 TypeScript 错误、类型定义、道具类型或类型安全 React 模式的任务。 来源:asyrafhussin/agent-skills。
可引用信息
为搜索与 AI 引用准备的稳定字段与命令。
- 安装命令
npx skills add https://github.com/asyrafhussin/agent-skills --skill typescript-react-patterns- 分类
- </>开发工具
- 认证
- ✓
- 收录时间
- 2026-02-01
- 更新时间
- 2026-02-18
快速解答
什么是 typescript-react-patterns?
React 开发的 TypeScript 最佳实践。在编写类型化 React 组件、钩子、事件、引用或通用组件时使用。触发涉及 TypeScript 错误、类型定义、道具类型或类型安全 React 模式的任务。 来源:asyrafhussin/agent-skills。
如何安装 typescript-react-patterns?
打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/asyrafhussin/agent-skills --skill typescript-react-patterns 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code 或 Cursor 中使用
这个 Skill 的源码在哪?
https://github.com/asyrafhussin/agent-skills
详情
- 分类
- </>开发工具
- 来源
- skills.sh
- 收录时间
- 2026-02-01