dw-technical-design · git:20260523.e3316fc · 2026-05-23 · sha256 0fc85106a90da3e2
dw-technical-design git:20260523.e3316fcA
Immutable. This exact content never changes and is served at /api/v1/blob/0fc85106a90da3e2.
No tool to install first
claude plugin marketplace add https://markdownregistry.com/mp/a/art_xhjsvb54v3siea6y/0fc85106a90da3e281f79e48a232dbf2246654778d2f3983f87adbe18abac538.json
Then /plugin install dw-technical-design@markdownregistry-xhjsvb54v3siea6y in Claude Code. It installs this exact version, the one graded A here, pinned to the commit it was graded at, and leaves it there.
--- name: dw-technical-design description: 数仓技术设计流程,适用于 OneData 建模、表名粒度设计、分区主键设计和字段类型约束沉淀。直接调用命令:/dw-technical-design。 --- # Step 2: 技术设计 ## 执行流程 1. 基于 OneData 规范进行建模设计 2. 确定表名、分区、主键 3. 明确字段类型和特殊约束 ## OneData 命名规范 - 表名格式: `[层级]_[域]_[主题]_[粒度]_[周期]` - 例: `dws_trade_order_di` (汇总层_交易域_订单主题_明细_日增量) - 分区字段: `partition_dt string (格式 yyyyMMdd)` ## 输出格式 ```markdown ## 技术设计决策 ### 基本信息 - 表名: [按 OneData 规范命名] - 层级: [ODS/DWD/DWS/ADS] - 主键: [字段组合] - 粒度: [数据粒度说明] - 周期: [全量/增量] ### 字段设计 | 字段名 | 类型 | 说明 | 数据来源 | |--------|------|------|---------| | ... | ... | ... | ... | ### 特殊约束 - [约束 1] - [约束 2] ### 上游依赖 | 来源表 | 关联方式 | 说明 | |--------|---------|------| | ... | ... | ... | ``` ## 规则 - 输出不超过 60 行 - 表名必须符合 OneData 命名规范 - 禁止修改的表必须在约束中标注 - 技术设计决策写入 CLAUDE.md