AGENT SKILL

backend-standards

暂无简介

License 许可
MIT
最近更新
2026-06-08
Stars
★ 0
Forks
0

03 SKILL.md 正文

backend-standards Skill

Role & Purpose

Enforces database design and query principles:

  • Strict user data isolation: all queries must filter on {userId}.
  • Use of .lean<T>() for read queries.
  • Direct use of findOne({ _id: id }) instead of legacy findById().
  • Request body parameter whitelisting to eliminate mass-assignment vulnerabilities.

04 同仓库更多 Skills