standards-tools
Installation
SKILL.md
standards-tools
工具层设计:说明工具层的组织方式(组件库包结构、业务代码如何调用)。任何端、任何架构方式都可适用。
前置依赖(先检查,缺失就停)
- 必须存在:
docs/standards/tech-stack-rule.md(含选型上下文)、docs/standards/directory-rule.md(目录结构)。 - 建议存在:
docs/product/business-flow.md、docs/specs/data/(DB 设计文件,后端)、docs/specs/API或docs/specs/grpc(示例接口)、后端另建议docs/standards/http-handler-rule.md(请求流转)。 - 缺失必选项时,提示先运行对应 skill(architecture / standards-directory),结束。
Step 1 — 读 architecture 选择 + 目录结构
读 docs/standards/tech-stack-rule.md 顶部的"选型上下文",提取:端、技术栈、后端架构风格(仅后端)。
读 docs/standards/directory-rule.md,确认目录结构。
- 若元信息缺失,用 AskUserQuestion 补问。