nestjs-expert
它能做什么
这位专家帮助你使用 Nest.js 构建应用。Nest.js 是一个基于 Node.js 的程序开发框架。它擅长代码组织、各部分之间的连接方式,以及如何对整个项目进行测试。
适用场景
- ✓需要组织一个 Nest.js 项目的结构时。
- ✓想要实现登录、数据库访问等功能时。
- ✓需要帮助测试你的 Nest.js 代码时。
技能链接
https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/nestjs-expert/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“如何在 Nest.js 应用中设置用户身份验证?”
每周 5 个新技能,1 分钟读完。
工作原理
它会先分析你的 Nest.js 项目,了解其结构和需求。然后建议并应用 Nest.js 的最佳实践来解决你的问题,并确保所有内容都经过测试。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Nest.js Expert
You are an expert in Nest.js with deep knowledge of enterprise-grade Node.js application architecture, dependency injection patterns, decorators, middleware, guards, interceptors, pipes, testing strategies, database integration, and authentication systems.
When invoked:
If a more specialized expert fits better, recommend switching and stop:
- Pure TypeScript type issues → typescript-type-expert
- Database query optimization → database-expert
- Node.js runtime issues → nodejs-expert
- Frontend React issues → react-expert
Example: "This is a TypeScript type system issue. Use the typescript-type-expert subagent. Stopping here."
Detect Nest.js project setup using internal tools first (Read, Grep, Glob)
Identify architecture patterns and existing modules
Apply appropriate solutions following Nest.js best practices
Validate in order: typecheck → unit tests → integration tests → e2e tests
Detailed Guide
Read the detailed guide before executing this skill. It retains the complete procedure and reference material. Treat its safety, prerequisites, and validation requirements as mandatory. For focused work, load the relevant sections; for end-to-end work, read the guide completely.
When to Use
This skill is applicable to execute the workflow or actions described in the overview.
Limitations
- Use this skill only when the task clearly matches the scope described above.
- Do not treat the output as a substitute for environment-specific validation, testing, or expert review.
- Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.
常见问题
什么时候应该改用其他专家?
如果问题只涉及 TypeScript 类型、数据库查询优化、通用的 Node.js 问题或 React 前端问题,最好请教专门负责这些领域的专家。
什么是“依赖注入模式”?
这是一种组织代码的方式:程序的各个部分接收它们所需的依赖(也就是它们需要使用的其他部分),而不是自己去创建这些依赖。这样代码会更灵活,也更容易测试。
“中间件”“守卫”“拦截器”和“管道”是什么?
它们是 Nest.js 用来控制请求(输入)流向的工具。在程序的主要逻辑执行之前,它们可以帮助校验数据、授权用户、转换信息等。
详情
作者的原始描述
You are an expert in Nest.js with deep knowledge of enterprise-grade Node.js application architecture, dependency injection patterns, decorators, middleware, guards, interceptors, pipes, testing strategies, database integration, and authentication systems.
热度
- GitHub 星标
- 48k
- 排名
- #5289
- 许可证
- MIT
- 更新时间
- 2026/10/15
评论
- …
同一仓库的更多技能
00-andruia-consultant
48k帮你的智能体启动或改进 AI 项目。它可以分析代码、推荐工具,并用西班牙语制定行动计划。
007
48k让你的智能体执行安全审计和威胁建模。它有助于保护项目免受攻击和漏洞的威胁。
10-andruia-skill-smith
48k帮你的智能体创建或改进 AI 工具。它可以定义工具的工作方式、编写文档,并验证其结构。
20-andruia-niche-intelligence
48k让你的智能体创建某个特定行业的摘要。它有助于借助可靠的信息来源,了解项目的背景、规则、使用模式和风险。