Team Frontend Standards
占位骨架(TODO):团队前端规范正文待填充。 结构与
go技能一致:SKILL.md 当索引,详规按需放references/。填充时把下面的 TODO 换成团队真实约定即可。
Follow team conventions when writing or designing frontend code in this repo. Reply and write code comments in Chinese. Read the detailed standards in references/ on demand per the index below — only the file relevant to the current task.
When to read which (index)
| What you're doing | Read this |
|---|---|
| Any frontend code (baseline: structure, naming, TS config, lint…) | references/rules.md ← read first by default |
扩展时按领域加 reference 并在本表登记,例如:
components.md(组件)、styling.md(样式)、state.md(状态管理)、api.md(数据请求)。
Core rules (TODO — 填入团队前端铁律)
- TODO: 框架与版本下限(React / Vue?具体版本?)
- TODO: TypeScript 严格度与
any政策 - TODO: 样式方案(CSS Modules / Tailwind / styled-components?)
- TODO: 状态管理与数据请求约定
- TODO: 组件 / 文件命名与目录结构
这些是会话内的软引导;最终强制以仓库的
eslint/prettier/tsc/ CI / PR review 为准。