architect/data-api-design SKILL.md skillA
architect/data-api-design from echovic/boss-skill is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add echovic/boss-skill/architect/data-api-design@v1.0.0Pins v1.0.0 in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- echovic/boss-skill
- Path
skill/skills/architect/data-api-design/SKILL.md- Versions recorded
- 3
- Latest version
- v1.0.0, committed Oct 27, 2026
- First version recorded
- May 15, 2026
- Size
- 12,818 bytes
- Repository stars
- 546
- License
- MIT
数据模型和API设计方法论,包含ERD设计、数据字典、RESTful API规范.
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
# 数据模型与API设计方法论
## 适用场景
在系统架构确定后,需要设计:
- 数据库表结构和关系
- 数据字典和约束
- API接口规范
- 请求/响应格式
## 数据模型设计
### 1. 实体识别
从PRD中识别核心实体(名词):
**示例**:
- 用户系统:User(用户)、Role(角色)、Permission(权限)
- 博客系统:User(用户)、Post(文章)、Comment(评论)、Tag(标签)
- 电商系统:User(用户)、Product(商品)、Order(订单)、OrderItem(订单项)
### 2. 关系识别
确定实体之间的关系:
| 关系类型 | 说明 | 示例 |
| ---------------- | -------------- | -------------- |
| **一对一 (1:1)** | 一个A对应一个B | User - Profile |
| **一对多 (1:N)** | 一个A对应多个B | User - Post |
| **多对多 (M:N)** | 多个A对应多个B | Post - Tag |
**关系表示**:
- `||--o{`: 一对多
- `||--||`: 一对一
- `}o--o{`: 多对多
### 3. 实体关系图 (ERD)
使用 Mermaid 绘制 ERD:
```mermaid
erDiagram
User ||--o{ Post : creates
User ||--o{ Comment : writes
Post ||--o{ Comment : has
Post }o--o{ Tag : has
User {
uuid id PK
string email UK
string name
string passwordHash
enum role
datetime createdAt
datetime updatedAt
}
Post {
uuid id PK
uuid authorId FK
string title
text content
enum status
datetime publishedAt
datetime createdAt
datetime updatedAt
}
Comment {
…Read the whole file at its exact version.
How to install
mdr add echovic/boss-skill/architect/data-api-design@sha256:88a40a1ff1d03b99The line at the top of this page pins the label v1.0.0, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
[](https://markdownregistry.com/a/art_6tviankf27o524oa)
0 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 3 versions of this file, between May 15, 2026 and Oct 27, 2026, about one every 82 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| v1.0.0 latest | 2026-10-27 | 69265c4 | 12,818 B | A | view · diff |
| v1.0.0 | 2026-09-29 | fbac35d | 10,413 B | A | view · diff |
| v1.0.0 | 2026-05-15 | c2aa1d9 | 10,386 B | A | view |
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (12818 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
- pass: No script tag
Source
echovic/boss-skill · 546 stars · license MIT · pushed 2026-11-08 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_6tviankf27o524oa GET https://markdownregistry.com/api/v1/resolve?ref=echovic/boss-skill/architect/data-api-design GET https://markdownregistry.com/api/v1/blob/88a40a1ff1d03b99166e2ee1c14d347f221b077171fe2e5e1b3aa97755113df2
Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.