resource-modeling
Installation
SKILL.md
REST 资源建模
参考来源:Roy Fielding《Architectural Styles》、REST API Design Best Practices
适用场景
- API 设计的第一步
- 把业务对象抽象为可寻址资源
- 复杂业务对象的关系建模
- 决定资源粒度
不适用场景
- RPC 风格 API(不需要资源建模)
- GraphQL(用 schema 建模)
参考来源:Roy Fielding《Architectural Styles》、REST API Design Best Practices