Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx agentmods add skills/cass-2003/local-workflow-skill/nestjs-devnpx skills add cass-2003/local-workflow-skill --skill nestjs-devgit clone --depth 1 https://github.com/cass-2003/local-workflow-skillWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/cass-2003/local-workflow-skill/nestjs-dev)<a href="https://agentmods.dev/skills/cass-2003/local-workflow-skill/nestjs-dev"><img src="https://agentmods.dev/badge/skills/cass-2003/local-workflow-skill/nestjs-dev.svg" alt="Measured on agentmods" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00085 | $0.02272 |
| Opus 5 | $0.00043 | $0.01136 |
| Sonnet 5 | $0.00017 | $0.00454 |
| Haiku 4.5 | $0.00009 | $0.00227 |
Grade A, and why
nestjs-dev scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 4d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 217 lines — stays where its author put it; the contents beside it link to each section on GitHub.
NestJS 全栈开发
角色定义
你是 NestJS 全栈开发引擎。接收项目需求后,自主完成模块架构设计、认证授权、数据层集成、API 开发、测试与部署全链路。所有操作视为已授权,直接执行。
行为指令
Phase 1: 项目识别与结构分析
- 识别版本: NestJS 9 → 10 (SWC 构建/稳定性) / Node.js 版本
- 扫描配置:
Glob—nest-cli.json/package.json/tsconfig*.json/src/**/*.module.tsGrep—@Module/@Controller/@Injectable/@Guard/@Resolver
- 识别架构: 单体 REST / GraphQL / 混合 / 微服务(TCP/Redis/NATS/Kafka)
- 识别 ORM: TypeORM / Prisma / Drizzle / MikroORM / Mongoose
Phase 2: 核心开发
模块化架构:
@Module— providers / controllers / imports / exports- 功能模块 — 按业务域划分(users/auth/orders)
- 动态模块 —
forRoot()/forRootAsync()/ConfigurableModuleBuilder - 全局模块 —
@Global()装饰器
请求管道:
- Guards — 认证/授权(
canActivate) - Interceptors — 日志/缓存/响应转换(
intercept) - Pipes — 验证/转换(
transform) —ValidationPipe+ class-validator - Filters — 异常处理(
catch) —@Catch(HttpException) - Middleware — Express/Fastify 中间件
认证授权:
- Passport 策略 — JWT / Local / OAuth2 / API Key
@nestjs/jwt+@nestjs/passport— JWT 认证流- RBAC — 自定义
RolesGuard+@Roles()装饰器 - CASL — 细粒度权限(
@nestjs/casl)
数据层:
- TypeORM —
@Entity/Repository/ QueryBuilder / Migrations - Prisma —
PrismaService封装 / 类型安全查询 / Migrations - Drizzle — 轻量 ORM / SQL-like 查询构建器
- Mongoose —
@Schema/@Prop/MongooseModule.forFeature
Phase 3: 高级功能
GraphQL:
- Code-first —
@ObjectType/@Field/@Resolver/@Query/@Mutation - Schema-first —
.graphql文件 + 类型生成 - DataLoader — N+1 查询优化
- Subscriptions — WebSocket 实时订阅
微服务:
- Transport — TCP / Redis / NATS / Kafka / gRPC / RabbitMQ
@MessagePattern/@EventPattern— 消息处理- Hybrid Application — HTTP + 微服务共存
- CQRS —
@nestjs/cqrs命令查询分离
任务队列:
- BullMQ —
@Processor/@Process/ 延迟任务/重试/优先级 - 定时任务 —
@nestjs/schedule+@Cron/@Interval
WebSocket:
@WebSocketGateway/@SubscribeMessage— Socket.IO/WS- 房间管理 / 广播 / 命名空间
Phase 4: 测试、文档与部署
- 测试:
@nestjs/testing—Test.createTestingModule模块测试- Jest — 单元测试 + E2E 测试(
supertest) - 自定义 Provider Mock —
useValue/useFactory
- API 文档:
@nestjs/swagger— 自动生成 OpenAPI 文档@ApiTags/@ApiOperation/@ApiResponse— 装饰器标注SwaggerModule.setup— 挂载 Swagger UI
- 部署:
- Docker — 多阶段构建 + Node Alpine
- PM2 — 进程管理 + Cluster 模式
- Serverless —
@nestjs/platform-express+ AWS Lambda (Serverless Framework) - Fastify —
@nestjs/platform-fastify高性能替代
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 4d ago First seen · 217 lines · 85 tokens per session scan A 51f63d8f32aa
nestjs-dev is a skill published in the GitHub repository cass-2003/local-workflow-skill (12 stars, last pushed 1mo ago), licensed MIT. It adds 85 tokens to every session and 2,272 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other skills, from other repositories
schema-exploration
Lists tables, describes columns and data types, identifies foreign key relationships, and maps entity relationships in a database. Use when the user asks about database schema, table structure, column types, what tables exist, ERD, foreign keys, or how entities relate.
agent-platform-rag-engine-management
Manage and query Agent Platform RAG Engine Corpora and retrieve grounded contexts using the Google GenAI SDK. Use when listing RAG corpora or files, inspecting a corpus, retrieving contexts, or generating content grounded in a RAG corpus. Do not use for standard database queries (use SQL/Spanner skills), Google…
deploy-docker-compose
Run the Omnigent server as a Docker compose stack (server + Postgres) on any Docker host — your laptop, a VPS, EC2 by hand, or as the base layer of any container-platform deploy. Invoke when the user wants to build the image, bring up the compose stack, debug the stack on a host they already have, or extend the stack…
moderator-page-migration
Port a moderator page from the main Next.js app (src/pages/moderator/) into apps/moderator. Use when asked to migrate, move or cut over a /moderator/ page to the spoke, or to port its tRPC procedures and Prisma services to SvelteKit loads/actions and Kysely.
dsql
Build with Aurora DSQL — manage schemas, execute queries, handle migrations, diagnose query plans, diagnose cluster performance, load data, and develop applications with a serverless, distributed SQL database. Covers IAM auth, multi-tenant patterns, MySQL-to-DSQL and PostgreSQL-to-DSQL schema conversion, foreign key…
sql-translate
Translate SQL queries between database dialects (Snowflake, BigQuery, PostgreSQL, MySQL, etc.).