AGENT SKILL
create-react-component
暂无简介
使用场景前端开发
- License 许可
- MIT
- 所属仓库
- JuManoel/Avesia
- 最近更新
- 2026-06-29
- Stars
- ★ 0
- Forks
- 1
02 资源文件 2
- 参考文档README.md11.3 KB
- 参考文档references/distractor-writing-guide.md12.9 KB
03 SKILL.md 正文
name: create-react-component description: Generate a new React component following project architecture and strict TypeScript rules.
Instructions:
1 determine component responsibility
2 create file in appropriate directory
3 create functional component
4 define Props interface
5 import labels when needed
6 ensure no magic literals
7 ensure file passes lint and typecheck
Component template
import { FC } from "react"
interface Props {}
export const ComponentName: FC<Props> = () => {
return <div />
}