AGENT SKILL

lang-tsx

React and TSX development standards and tooling.

License 许可
MIT
最近更新
2026-08-23
Stars
★ 1
Forks
0

01 前言 Front Matter

name
lang-tsx
description
React and TSX development standards and tooling.

03 SKILL.md 正文

TSX Standards

  • Tooling: Prettier, eslint-plugin-react, typescript-eslint.
  • Components: Functional components only. No React.FC or React.FunctionComponent.
  • Props: Type your props explicitly using interface or type.
  • Hooks: Type hooks explicitly when inference is insufficient (e.g., useState<User | null>(null)).
  • Architecture: Composition over prop drilling. Collocate components with their styles and tests.

Always load clean-code alongside this skill.

04 同仓库更多 Skills