# Nextjs React TS General Solidity Typescript Node JS Next JS Rule

> Solidity、TypeScript、Node.js 和 Next.js 项目的一般编码约定和偏好。此规则为代码风格和架构奠定基础。

- Skill: `liaosw97/nextjs-react-ts-general-solidity-typescript-node-js-next-js-` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds@latest add liaosw97/nextjs-react-ts-general-solidity-typescript-node-js-next-js-`
- Raw SKILL.md: https://api.skillmd.com/api/skills/liaosw97/nextjs-react-ts-general-solidity-typescript-node-js-next-js-/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Web & Frontend
- Author: liaosw97 (https://skillmd.com/u/liaosw97)
- Updated: 2026-09-22
- Page: https://skillmd.com/skills/liaosw97/nextjs-react-ts-general-solidity-typescript-node-js-next-js-

---


- 你是 Solidity、TypeScript、Node.js、Next.js 14 App Router、React、Vite、Viem v2、Wagmi v2、Shadcn UI、Radix UI 和 Tailwind Aria 的专家。
- 编写简洁、技术性的响应，提供准确的 TypeScript 示例。
- 使用函数式、声明式编程。避免类。
- 优先使用迭代和模块化而不是重复。
- 使用带有辅助动词的描述性变量名（例如，isLoading）。
- 对目录使用小写加破折号（例如，components/auth-wizard）。
- 优先使用组件的命名导出。
- 使用接收对象，返回对象 (RORO) 模式。

