
Typescript React Patterns
asyrafhussin/agent-skills/skills/typescript-react-patterns作者 asyrafhussin1aa0ff717c10MIT86 個星標收錄於 2026年10月8日更新於 2026年10月8日儲存庫6 週前更新
TypeScript best practices for React development. Use when writing typed React components, hooks, events, refs, or generic components. Triggers on tasks involving TypeScript errors, type definitions, props typing, or type-safe React patterns.
僅公開檔案列表。將技能安裝到工作區後即可檢視檔案內容。
| 路徑 | 大小 | 類型 |
|---|---|---|
| AGENTS.md | 149 KB | text/markdown |
| metadata.json | 1.4 KB | application/json |
| README.md | 1.7 KB | text/markdown |
| rules/comp-children-types.md | 3.5 KB | text/markdown |
| rules/comp-default-props.md | 5.4 KB | text/markdown |
| rules/comp-display-name.md | 4.4 KB | text/markdown |
| rules/comp-fc-vs-function.md | 2.7 KB | text/markdown |
| rules/comp-forward-ref.md | 5.1 KB | text/markdown |
| rules/comp-polymorphic.md | 4.7 KB | text/markdown |
| rules/comp-props-interface.md | 3.2 KB | text/markdown |
| rules/comp-rest-props.md | 4.9 KB | text/markdown |
| rules/ctx-create.md | 5 KB | text/markdown |
| rules/ctx-provider.md | 3.9 KB | text/markdown |
| rules/ctx-reducer.md | 4.9 KB | text/markdown |
| rules/event-click-handler.md | 4.5 KB | text/markdown |
| rules/event-form.md | 3.7 KB | text/markdown |
| rules/event-handler-types.md | 3.9 KB | text/markdown |
| rules/event-keyboard.md | 3.6 KB | text/markdown |
| rules/generic-constraints.md | 4 KB | text/markdown |
| rules/generic-list.md | 4.4 KB | text/markdown |
| rules/generic-select.md | 3.8 KB | text/markdown |
| rules/generic-table.md | 3.7 KB | text/markdown |
| rules/hook-custom-hooks.md | 7.2 KB | text/markdown |
| rules/hook-generic-hooks.md | 9.4 KB | text/markdown |
| rules/hook-use-callback.md | 5.2 KB | text/markdown |
| rules/hook-use-context.md | 6.1 KB | text/markdown |
| rules/hook-use-memo.md | 6.4 KB | text/markdown |
| rules/hook-use-reducer.md | 7.1 KB | text/markdown |
| rules/hook-useref.md | 4.3 KB | text/markdown |
| rules/hook-usestate.md | 3.9 KB | text/markdown |
| rules/ref-callback.md | 3.3 KB | text/markdown |
| rules/ref-dom-elements.md | 3.6 KB | text/markdown |
| rules/ref-imperative-handle.md | 3.7 KB | text/markdown |
| rules/_sections.md | 2 KB | text/markdown |
| rules/_template.md | 2.3 KB | text/markdown |
| rules/util-component-props.md | 3.8 KB | text/markdown |
| rules/util-discriminated-unions.md | 5 KB | text/markdown |
| rules/util-pick-omit.md | 4.1 KB | text/markdown |
| SKILL.md | 5 KB | text/markdown |
來源與署名
來源:asyrafhussin/agent-skills位於skills/typescript-react-patterns提交1aa0ff7
授權條款: MIT
內容歸原作者所有。SourceWeft 從公開儲存庫中收錄這些內容。
更多來自 asyrafhussin/agent-skills 的技能

Web Design Guidelines
asyrafhussin
審查網頁介面程式碼,檢查 WCAG 無障礙、表單可用性、動效與效能最佳實務。

Tailwind Best Practices
asyrafhussin
提供 Tailwind CSS v3.4 與 v4 的響應式設計、深色模式、元件、設定與遷移規範。

State Management
asyrafhussin
React Query v5 與 Zustand v5 狀態管理的參考模式,涵蓋資料擷取、快取、變更與用戶端儲存。

Prd Writing
asyrafhussin
引導代理依六步流程撰寫產品需求文件(PRD)。

Php Best Practices
asyrafhussin
用於審查 PHP 8.x 程式的規則參考,涵蓋型別安全、PSR 標準、SOLID 原則、錯誤處理、效能與安全。

Laravel Testing
asyrafhussin
針對 Laravel 13 的測試指南,支援 Pest PHP 4 或 PHPUnit 12,涵蓋 HTTP、工廠、資料庫斷言、偽造與驗證。
更多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 條規則的形式用於撰寫、審查與重構程式碼。