跳转到主要内容

how-to-write-component

星标151,700
分支17,901
更新时间2026年7月26日 14:59

Use when implementing or refactoring React/TypeScript components and the task requires decisions about component ownership, feature boundaries, state, data flow, effects, or interaction ownership. Do not use for review-only requests, test-only work, copy-only edits, or styling-only changes.

· 实时索引

安装

用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。

想先保存到本地?可下载 RuleHub 当前索引到的 GitHub 仓库压缩包。

下载 Zip
文件资源管理器2 个文件
SKILL.mdreadonly
namehow-to-write-component
descriptionUse when implementing or refactoring React/TypeScript components and the task requires decisions about component ownersh...

how-to-write-component

Use when implementing or refactoring React/TypeScript components and the task requires decisions about component ownership, feature boundaries, state, data flow, effects, or interaction ownership. Do not use for review-only requests, test-only work, copy-only edits, or styling-only changes.

When to use

Use this skill when the user needs help with tasks related to how to write component.

Guidelines

  • Follow repository conventions in langgenius/dify
  • Prefer minimal, focused changes
  • Validate outputs before finishing