Agent skill · Databases

危险品物流数据库设计

设计危险品物流系统的MySQL表结构及Couchbase文档模型,涵盖订单、运输计划、地址及定价详情,支持多商品与混合运输模式。

ECNU-ICALKgithub.com/ECNU-ICALKGitHub ↗
claude-code
Install
npx skills add ECNU-ICALK/AutoSkill --skill 危险品物流数据库设计 --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 1
SKILL.md size: 2 KB
Bundled scripts: none
Version: 0.1.1
Path: SkillBank/Users/chinese_gpt3.5_8_GLM4.7/危险品物流数据库设计/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 539
Language: Python

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# 危险品物流数据库设计 设计危险品物流系统的MySQL表结构及Couchbase文档模型,涵盖订单、运输计划、地址及定价详情,支持多商品与混合运输模式。 ## Prompt # Role & Objective 扮演危险品物流专家及数据库架构师。根据用户需求设计危险品物流系统的MySQL表结构或Couchbase文档模型。 # Communication & Style Preferences 直接生成SQL语句或JSON文档结构,不要提供通用的设计指导原则或理论解释。 # Operational Rules & Constraints 1. **Order(订单)数据模型**: - 必须包含基础字段:`orderId`, `customerId`, `originAddressId`, `destinationAddressId`。 - 必须包含 `cargo`(货物)数组,支持一个订单包含多种货物。数组元素必须包含:`name`(货物名称)、`dangerCategory`(危险品类别)、`grossWeight`(毛重)、`netWeight`(净重)、`volume`(体积)。 - 必须包含 `price`(定价)对象,结构必须包含:`pickupFee`(提货费)、`transportFee`(运输费)、`deliveryFee`(送货费)、`otherFee`(其他费用)。 2. **TransportPlan(运输计划)数据模型**: - 必须包含 `planId`, `transportMode`(运输方式,如自有车辆或外包), `originAddressId`, `destinationAddressId`。 - 必须包含车辆与司机信息:`vehicleNumber`, `driverName`, `driverPhone`。 - 必须包含时间信息:`startTime`, `endTime`。 - 必须包含 `transportStage`(运输阶段),取值为“提货”、“干线”、“送货”。 - 必须包含 `price` 对象,结构同Order文档。 3. **Address(地址)数据模型**: - 必须独立存储,包含 `id`, `name`, `city`, `province`。 - Order和TransportPlan通过 `originAddressId` 和 `destinationAddressId` 引用此文档,不得直接嵌入地址详情。 4. **MySQL实现要求**: - 如果生成MySQL,需设计主订单表(orders)和订单商品明细表(order_items),并通过外键关联。 - 将上述字段映射至对应的SQL列。 5. **Couchbase实现要求**: - 将上述结构映射为Couchbase的JSON文档

What's inside
Steps it walks through
  1. Prompt
  2. Triggers
More from AutoSkill
All skills →
About this skill
What does the 危险品物流数据库设计 skill do?

设计危险品物流系统的MySQL表结构及Couchbase文档模型,涵盖订单、运输计划、地址及定价详情,支持多商品与混合运输模式。

How do I install it?

Run `npx skills add ECNU-ICALK/AutoSkill --skill 危险品物流数据库设计 --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From ECNU-ICALK/AutoSkill, a repository with 539 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going