Agent skill

Backend Expert

by CaoMeiYouRen in CaoMeiYouRen/caomei-auth

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

MITAuto-check passedDatabases

Install Backend Expert

skills CLI
$ npx skills add CaoMeiYouRen/caomei-auth --skill backend-expert -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install CaoMeiYouRen/caomei-auth backend-expert --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/CaoMeiYouRen/caomei-auth.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.github/skills/backend-expert .claude/skills/backend-expert && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
backend-expert
GitHub stars
220
Token cost
~329 tokens
SKILL.md length
86 words
Files
1
Skills in repo
14
Repo updated
First seen
Licence
MIT

At a glance

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

  • Tasks that involve Forms and validation
  • SKILL.md covers 工作流, 关注点, 项目特化提示 and 反模式, plus 1 more section
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md
  • Tasks that involve ORMs and data access

What it does

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

Its SKILL.md is about 330 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Databases, covering Forms and validation and ORMs and data access. It works with Nuxt, Hono and Zod. The repository describes itself as: 草梅 Auth 是一个基于 Nuxt 全栈框架的统一登录平台。支持 OAuth2.0 协议,集成邮箱、用户名、手机号、验证码、社交媒体等多种登录注册方式。 The licence is MIT.

When your agent uses it

  • Tasks that involve Forms and validation
  • Tasks that involve ORMs and data access

Example prompts

  • “/backend-expert”

What it can do on your machine

Read from SKILL.md and the folder at commit 7bd3bae. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Backend Expert loads about 329 tokens when it runs. Until then it costs about 43 tokens; SKILL.md has 86 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~43
When it runs · the whole SKILL.md, loaded when a task matches
~329

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from CaoMeiYouRen/caomei-auth at commit 7bd3bae, republished under its MIT licence (© CaoMeiYouRen). 86 words, ~329 tokens.

Download SKILL.mdSave it as .claude/skills/backend-expert/SKILL.md (or your agent's skills folder).
name
backend-expert
description
设计或实现后端 API、服务层、数据库读写、鉴权权限控制、输入校验、事务处理与错误处理时使用。用户提到 API、route、handler、server、auth、permission、drizzle、database、zod、Hono、Nuxt server routes、backend bug 修复时都应触发。
metadata.internal
true

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 吞掉错误上下文。
  • 对列表接口忽略分页与性能成本。

交付前检查

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

© CaoMeiYouRen, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .github/skills/backend-expert of CaoMeiYouRen/caomei-auth.

Open the folder on GitHubat commit 7bd3bae

Compare with similar skills

Backend Expert next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Backend Expert compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Backend Expert this skillCaoMeiYouRen/caomei-auth220—~329Automated safety check: PassMIT
Nestjs Drizzle Crud Generatorgiuseppe-trisciuoglio/developer-kit356—~1.3kAutomated safety check: NotesMIT
DB Schemazhe-qi/clhoria-template193—~620Automated safety check: PassMIT
Drizzle Sqlite Scaffoldpproenca/dot-skills215—~4kAutomated safety check: PassMIT
Prisma Computeaiskillstore/marketplace430—~3.8kAutomated safety check: NotesMIT
Backend Dev Guidelineslangfuse/langfuse36k—~1.9kAutomated safety check: PassCustom licence

Similar skills

  • Nestjs Drizzle Crud Generator

    giuseppe-trisciuoglio/developer-kit

    Generates complete CRUD modules for NestJS applications with Drizzle ORM.

    356 GitHub stars~1.3k tokensUpdated 29 days ago
    DatabasesAuto-check: notes
  • DB Schema

    zhe-qi/clhoria-template

    创建或修改数据库 Schema。当需要创建新表、修改表结构、定义字段、设置索引约束、或涉及 Drizzle ORM / drizzle-zod 操作时使用

    193 GitHub stars~620 tokensUpdated 2 mo ago
    DatabasesAuto-check passed
  • Drizzle Sqlite Scaffold

    pproenca/dot-skills

    Scaffolds Drizzle ORM + SQLite boilerplate — a new drizzle.config.ts, a singleton client with the right pragmas, per-table schema files with explicit primary keys/indexed foreign…

    215 GitHub stars~4k tokensUpdated 1 mo ago
    DatabasesAuto-check passed
  • Prisma Compute

    aiskillstore/marketplace

    Prisma Compute deployment and hosting guide. An agent skill from aiskillstore/marketplace.

    430 GitHub stars~3.8k tokensUpdated today
    DatabasesAuto-check: notes
  • Backend Dev Guidelines

    langfuse/langfuse

    Build or review Langfuse backend code. An agent skill from langfuse/langfuse.

    36k GitHub stars~1.9k tokensUpdated today
    Backend & APIsAuto-check passed
  • Arkenv

    yamcodes/arkenv

    Answer questions about ArkEnv and help implement environment variable validation.

    145 GitHub stars~2.5k tokensUpdated today
    DevOps & CloudAuto-check passed

More from CaoMeiYouRen/caomei-auth

All 14 skills in this repo
  • Code Reviewer

    CaoMeiYouRen/caomei-auth

    审查当前 git 变更、PR、提交范围、技能定义文件、架构调整或安全敏感代码时使用。输出结构化 Review Gate 结论(Pass/Reject)、问题分级(blocker/warning/suggest)、最低验证矩阵、证据链与复查基线。覆盖正确性、安全、架构、SOLID、可删除代码、性能、异常处理与测试风险;默认只输出 review,不直接修改代码。用户提到 review、code…

    220 GitHub stars~1.5k tokensUpdated 8 days ago
    Auto-check passed
  • Full Stack Master

    CaoMeiYouRen/caomei-auth

    需要统筹需求澄清、上下文扫描、技术方案、前后端实现、UI 验证、测试、质量审查、文档同步和提交节奏时使用。它负责编排多技能协作,而不是亲自替代所有专业技能。用户提到 end-to-end workflow、全流程开发、从需求到提交、PDTFC+、多技能编排时都应触发。

    220 GitHub stars~1k tokensUpdated 8 days ago
    Auto-check passed
  • Quality Guardian

    CaoMeiYouRen/caomei-auth

    运行并解读 lint、类型检查、测试等质量门时使用。它不只是执行命令,还要根据变更范围选择最小充分检查、分析失败原因,并给出是否允许继续提交或发布的判断。用户提到 lint、typecheck、tests、quality gate、验证改动时都应触发。

    220 GitHub stars~358 tokensUpdated 8 days ago
    Auto-check passed
  • Devops Specialist

    CaoMeiYouRen/caomei-auth

    修改 Docker、CI/CD、部署配置、环境变量、运行时参数、构建脚本和发布流程时使用。优先覆盖 Docker、Vercel、Cloudflare 与 GitHub Actions 场景。用户提到 deploy、Dockerfile、workflow、CI、CD、environment variables、build pipeline、release config 时都应触发。

    220 GitHub stars~446 tokensUpdated 8 days ago
    Auto-check: notes
  • Gh CLI

    CaoMeiYouRen/caomei-auth

    使用 GitHub CLI(gh)处理仓库、issue、pull request、workflow、project、release、codespace、gist、search、api、auth、config、alias、secret、variable、extension、ruleset 和 status 等命令行操作时使用。用户提到 gh、gh cli、GitHub CLI、gh…

    220 GitHub stars~460 tokensUpdated 8 days ago
    Auto-check passed
  • Context Analyzer

    CaoMeiYouRen/caomei-auth

    在动手规划、修改、调试或回答复杂项目问题前使用。用于快速扫描项目结构、依赖、约束文档、关键文件和调用链,输出任务相关上下文,而不是直接改代码。用户提到 analyze context、scan repo、understand project、定位实现、找规范、排查调用链时都应触发。

    220 GitHub stars~296 tokensUpdated 8 days ago
    Auto-check passed

Works with

Categories

Questions about Backend Expert

What does Backend Expert do?

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

When should I use Backend Expert?

Backend Expert fits situations like: tasks that involve Forms and validation; tasks that involve ORMs and data access.

How do I install Backend Expert in Claude Code?

Run `npx skills add CaoMeiYouRen/caomei-auth --skill backend-expert -a claude-code`. Or copy the skill folder (.github/skills/backend-expert in CaoMeiYouRen/caomei-auth) into .claude/skills/backend-expert in your project. Claude Code loads it when a task matches its description.

How do I install Backend Expert in Codex?

Run `npx skills add CaoMeiYouRen/caomei-auth --skill backend-expert -a codex`. Or copy the skill folder (.github/skills/backend-expert in CaoMeiYouRen/caomei-auth) into .agents/skills/backend-expert in your project. Codex loads it when a task matches its description.

Can I use Backend Expert in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add CaoMeiYouRen/caomei-auth --skill backend-expert -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/backend-expert, .gemini/skills/backend-expert, .github/skills/backend-expert and .opencode/skills/backend-expert in your project.

What does Backend Expert need to run?

SKILL.md names no scripts, command-line tools or credentials: Backend Expert is instructions for the agent only.

Does Backend Expert access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Backend Expert safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Backend Expert use?

Backend Expert is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Backend Expert use?

About 329 tokens (SKILL.md is roughly 1.3k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Backend Expert?

Skills that share tags, products or a category with Backend Expert: Nestjs Drizzle Crud Generator (giuseppe-trisciuoglio/developer-kit, 356 stars), DB Schema (zhe-qi/clhoria-template, 193 stars), Drizzle Sqlite Scaffold (pproenca/dot-skills, 215 stars) and Prisma Compute (aiskillstore/marketplace, 430 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Backend Expert?

CaoMeiYouRen (a GitHub user) maintains it in CaoMeiYouRen/caomei-auth, which has 220 GitHub stars. The repository holds 14 skills in this directory. The repository was last updated on October 1, 2026.

Source: CaoMeiYouRen/caomei-auth on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.