standards-directory
Installation
SKILL.md
standards-directory
目录结构设计:读 architecture 的选型 → 按端与架构风格选模板 → 构造目录设计 prompt → 输出目录树到 docs/standards/。
前置依赖(先检查,缺失就停)
- 必须存在:
docs/standards/tech-stack-rule.md(architecture 产出,含端与技术栈)、docs/product/business-flow.md。 - 建议存在:
docs/specs/data/(DB 设计文件)、docs/specs/API或docs/specs/grpc(已定义接口)、docs/standards/CLAUDE.md(约束层约定)。 - 缺失必选项时,提示先运行对应 skill(architecture / product-business),结束。
Step 1 — 读 architecture 已记录的选择
读 docs/standards/tech-stack-rule.md 顶部的"选型上下文"元信息,提取:端、技术栈、后端架构风格(仅后端)。
- 若该元信息缺失(旧文件或未记录),用 AskUserQuestion 补问端与(如后端)架构风格。