AGENT SKILL

crud-resource-design

暂无简介

适用职业设计师
使用场景视觉设计
License 许可
MIT
最近更新
2026-05-26
Stars
★ 0
Forks
0

02 资源文件 1

03 SKILL.md 正文

CRUD Resource Design

Follow ../_shared/skill-contract.md.

Purpose

Design a clean resource shape for create, read, update, and delete operations.

Use when

  • planning a standard backend resource

Do not use when

  • the task is event-driven or stream-driven

Inputs required

  • resource name
  • operations
  • field rules

Outputs expected

  • resource contract
  • operation map
  • lifecycle notes

Workflow

  1. Define the resource.
  2. Define the operations.
  3. Define field ownership.
  4. Define delete semantics.
  5. Verify that the resource stays stable.

Validation checklist

  • [ ] Operations are explicit
  • [ ] Delete semantics are stated
  • [ ] Ownership is clear

References

  • ../../prompts/generate_api_contract.md
  • ../../examples/profile-update-contract.md

04 同仓库更多 Skills