治理 Trellis spec 占位噪音与规则口径(05-29-spec-governance-cleanup)

这个提交包含在:
2026-05-29 09:56:22 +08:00
父节点 cdd56bc5df
当前提交 c192c77c7a
共修改 22 个文件,包含 306 行新增和 610 行删除
+11 -14
查看文件
@@ -1,32 +1,29 @@
# Frontend Development Guidelines
# Frontend Spec Redirect
---
## Overview
hyb-oa frontend work uses React, TypeScript, Vite and Tailwind under `client/`.
The project-specific frontend implementation rules live in
`../hyb-oa/frontend-react-vite-design.md`; product experience facts remain in
The active frontend implementation rules live in
`../hyb-oa/frontend-react-vite-design.md`. Product experience facts remain in
`docs/产品设计规则.md`. Visual and interaction design authority comes from the
installed `frontend-design` skill.
---
This directory intentionally contains no separate frontend guideline files. The
old default scaffold files were removed because placeholder specs are noise for
future agents.
## Guidelines Index
## Read
| Guide | Description | Status |
|-------|-------------|--------|
| [hyb-oa Frontend Rules](../hyb-oa/frontend-react-vite-design.md) | Current project frontend/design rules | Current |
| [Directory Structure](./directory-structure.md) | Module organization and file layout | Scaffold |
| [Component Guidelines](./component-guidelines.md) | Component patterns, props, composition | Scaffold |
| [Hook Guidelines](./hook-guidelines.md) | Custom hooks, data fetching patterns | Scaffold |
| [State Management](./state-management.md) | Local state, global state, server state | Scaffold |
| [Quality Guidelines](./quality-guidelines.md) | Code standards, forbidden patterns | Scaffold |
| [Type Safety](./type-safety.md) | Type patterns, validation | Scaffold |
---
## Language
## Rule
Project rules are Chinese-first where they are user-facing. Short English files
generated by Trellis may remain when they are tool-facing scaffolding.
Add a new frontend spec file only when a later Trellis task discovers concrete,
source-backed frontend conventions that do not belong in the project-level
frontend/design spec.