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 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/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<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="Reviewed on agentmods" width="80" 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.1 | $0.00085 | $0.02272 |
| Opus 5.5 | $0.00034 | $0.00909 |
| Sonnet 5.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 1mo 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.
- 1mo 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 3mo ago), licensed MIT. It adds 85 tokens to every session and 2,272 once invoked, about $0.0003 per session on Opus 5.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
adapter-express
Mount tRPC as Express middleware with createExpressMiddleware() from @trpc/server/adapters/express. Access Express req/res in createContext via CreateExpressContextOptions. Mount at a path prefix like app.use('/trpc', ...). Avoid global express.json() conflicting with tRPC body parsing for FormData.
trpc-router
Entry point for all tRPC skills. Decision tree routing by task: initTRPC.create(), t.router(), t.procedure, createTRPCClient, adapters, subscriptions, React Query, Next.js, links, middleware, validators, error handling, caching, FormData.
stripe-projects
Use after E2B sandbox/API access has been provisioned through Stripe Projects and the user needs to use the resulting E2B API key with the E2B CLI, JavaScript SDK, Python SDK, or Code Interpreter SDK.
nestjs-expert
Creates and configures NestJS modules, controllers, services, DTOs, guards, and interceptors for enterprise-grade TypeScript backend applications. Use when building NestJS REST APIs or GraphQL services, implementing dependency injection, scaffolding modular architecture, adding JWT/Passport authentication, integrating…
chat-sdk
Build multi-platform chat bots with Chat SDK (chat npm package). Use when developers want to (1) Build a Slack, Teams, Google Chat, Discord, Telegram, GitHub, Linear, or WhatsApp bot, (2) Use Chat SDK to handle mentions, direct messages, subscribed threads, reactions, slash commands, cards, modals, files, or AI…
azure-web-pubsub-ts
Build real-time messaging applications using Azure Web PubSub SDKs for JavaScript (@azure/web-pubsub, @azure/web-pubsub-client). Use when implementing WebSocket-based real-time features, pub/sub me...