来源信息
- 仓库
- ffsshhttiikk/opencode-agents-skills
- 最近来源活动
- 2026年2月28日 22:54
- 检测到的 SKILL.md 语言
- 英语
- 星标
- 3
- Forks
- 2
安装方式
默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。
检查来源文件
决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。
正在显示 SKILL.md
SKILL.md
来源说明 · 只读预览- name
- rest
- description
- REST API design principles and best practices
- license
- MIT
- compatibility
- opencode
- metadata
- {"audience":"developers","category":"api-design"}
## What I do
- Design RESTful APIs
- Use proper HTTP methods
- Implement proper status codes
- Handle pagination and filtering
- Version APIs
- Secure endpoints
## When to use me
When building or consuming REST APIs.
## HTTP Methods
```
GET /users - List users
GET /users/:id - Get user
POST /users - Create user
PUT /users/:id - Update user (full)
PATCH /users/:id - Partial update
DELETE /users/:id - Delete user
```
## Status Codes
```
200 OK
201 Created
204 No Content
400 Bad Request
401 Unauthorized
403 Forbidden
404 Not Found
500 Internal Server Error
```
## Response Format
```json
{
"data": { "id": 1, "name": "John" },
"meta": { "total": 100, "page": 1 },
"links": { "self": "/users/1" }
}
```
在 GitHub 查看