AgentStack
Browse Sign in
Browse Why AgentStack Sell Docs
Sign in
SKILL verified MIT Self-run

Backend Expert

skill-caomeiyouren-cmyr-skills-agents-backend-expert · by CaoMeiYouRen

设计或实现后端 API、服务层、数据库读写、鉴权权限控制、输入校验、事务处理与错误处理时使用。用户提到 API、route、handler、server、auth、permission、drizzle、database、zod、Hono、Nuxt server routes、backend bug 修复时都应触发。

No reviews yet
0 installs
22 views
0.0% view→install

Install

$ agentstack add skill-caomeiyouren-cmyr-skills-agents-backend-expert

✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access No
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets No
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

View the full security report →

Verified badge

Passed review? Show it. Paste this badge into your README, it links to the public security report.

AgentStack Verified badge Links to your public security report.
[![AgentStack Verified](https://agentstack.voostack.com/badges/verified.svg)](https://agentstack.voostack.com/security/report/skill-caomeiyouren-cmyr-skills-agents-backend-expert)

Reliability & compatibility

Security review passed
0 installs to date
no reviews yet
1mo ago

Declared compatibility

Claude CodeClaude Desktop

Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.

Preview Execution monitoring

We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.

How agent discovery & health will work →
Are you the author of Backend Expert? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

Backend Expert

铁律:不要在没有确认输入校验、权限边界和数据写入规则前直接写后端逻辑。

工作流

  • [ ] Step 1: 建立后端上下文 ⚠️ REQUIRED
  • [ ] 1.1 阅读目标路由、服务层、schema 和相关数据模型。
  • [ ] 1.2 确认当前项目使用的后端模式是 Hono、Nuxt server routes 还是自定义服务层。
  • [ ] Step 2: 明确接口契约 ⚠️ REQUIRED
  • [ ] 2.1 先定义输入、输出、错误语义和边界条件。
  • [ ] 2.2 明确是否需要分页、排序、过滤、幂等或事务。
  • [ ] Step 3: 处理安全与数据一致性
  • [ ] 3.1 先做鉴权和权限检查,再进入业务逻辑。
  • [ ] 3.2 输入校验优先于数据库操作。
  • [ ] 3.3 数据写入必须避免拼接查询、隐式权限绕过和部分写入。
  • [ ] Step 4: 实现与验证
  • [ ] 4.1 给出语义清晰的错误处理。
  • [ ] 4.2 如果改动可测,补齐对应测试或至少指出缺失测试点。
  • [ ] 4.3 涉及高风险改动时,建议联动 security-guardian 与 test-engineer。

关注点

  • 输入校验是否覆盖空值、非法值和边界值。
  • 鉴权是否在真正敏感操作前完成。
  • 数据访问是否参数化、可回滚、可追踪。
  • 错误是否对用户和日志分别提供恰当信息。

项目特化提示

  • 如果项目使用 Nuxt server routes,优先遵循 defineEventHandler 和 createError 的惯用模式。
  • 如果项目已有 Zod、Drizzle ORM、TypeORM、Better-Auth 或权限中间件,优先复用,而不是临时发明另一套接口层。
  • 列表接口要考虑 ApiResponse 风格、分页和可扩展过滤条件。
  • 权限检查优先放在 handler 或服务入口,而不是散落在内部步骤中。

反模式

  • 先写 SQL 或 ORM 调用,再回头补校验与权限控制。
  • 把控制器、业务逻辑、数据访问全部塞进一个文件。
  • 用宽泛 catch 吞掉错误上下文。
  • 对列表接口忽略分页与性能成本。

交付前检查

  • [ ] 输入、输出和错误语义已经明确。
  • [ ] 鉴权、权限和数据写入顺序正确。
  • [ ] 未引入字符串拼接查询或隐式越权。
  • [ ] 已说明需要的测试或后续验证。

Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet, be the first.

Versions

  • v0.1.0 Imported from the upstream source.