standards-http
Installation
SKILL.md
standards-http
HTTP handler 说明:给一个完整请求从 HTTP Handler/Controller 到数据库的流转路径。仅后端服务适用。
前置依赖(先检查,缺失就停)
- 仅后端:读
docs/standards/tech-stack-rule.md的"选型上下文",若端 ≠ 后端,提示此 skill 只服务后端,结束。 - 必须存在:
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/CLAUDE.md(约束层约定)。 - 缺失必选项时,提示先运行对应 skill(architecture / standards-directory),结束。
Step 1 — 读 architecture 选择 + 目录结构
读 docs/standards/tech-stack-rule.md 顶部的"选型上下文",提取:端、技术栈、后端架构风格。
读 docs/standards/directory-rule.md,确认目录结构。
- 若元信息缺失,用 AskUserQuestion 补问。