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 lh17708357536-gif/flutter-cn-overseas-app-skills --skill nestjs-backend-conventionsgit clone --depth 1 https://github.com/lh17708357536-gif/flutter-cn-overseas-app-skillsWrote 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/lh17708357536-gif/flutter-cn-overseas-app-skills/nestjs-backend-conventions)<a href="https://agentmods.dev/skills/lh17708357536-gif/flutter-cn-overseas-app-skills/nestjs-backend-conventions"><img src="https://agentmods.dev/badge/skills/lh17708357536-gif/flutter-cn-overseas-app-skills/nestjs-backend-conventions/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/lh17708357536-gif/flutter-cn-overseas-app-skills/nestjs-backend-conventions"><img src="https://agentmods.dev/badge/skills/lh17708357536-gif/flutter-cn-overseas-app-skills/nestjs-backend-conventions.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.00106 | $0.05955 |
| Opus 5 | $0.00053 | $0.02978 |
| Sonnet 5 | $0.00021 | $0.01191 |
| Haiku 4.5 | $0.00011 | $0.00596 |
Grade A, and why
nestjs-backend-conventions scanned grade A with 1 finding 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 12d 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.
Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
| **Wave1** | 后端 API 独立可用 + curl 验证 | curl 通过 | How it starts
The opening of the file, as written. The whole thing — 582 lines — stays where its author put it; the contents beside it link to each section on GitHub.
NestJS 后端开发规范 Skill
适用于 Flutter + NestJS + Prisma + MySQL 全栈项目的后端层。所有
<PLACEHOLDER>替换为项目实际值。
占位符约定:本 skill 用
<TENANT_ID>表示业务租户字段名(id 列),<tenant>表示其 Prisma model 小写(如<tenant>model 实际可能是hotel/store/org),<Tenant>表示 Pascal case 类型。新项目按业务命名替换 — 例如酒店 SaaS 用hotelId/hotel/Hotel,门店 SaaS 用storeId/store/Store,通用多租户用tenantId/tenant/Tenant。
1. 分层架构
server/
├── prisma/
│ ├── schema.prisma # 数据库 schema(唯一真相源)
│ └── migrations/ # 生产用 migration(开发用 db push 即可)
├── src/
│ ├── modules/ # 业务模块(每个模块一个文件夹)
│ │ └── <feature>/
│ │ ├── <feature>.module.ts
│ │ ├── <feature>.controller.ts
│ │ ├── <feature>.service.ts
│ │ ├── dto/
│ │ │ └── <feature>.dto.ts
│ │ └── interfaces/
│ ├── common/ # 跨模块基础设施
│ │ ├── prisma/ # PrismaModule(全局)
│ │ ├── redis/ # RedisModule(全局,ioredis)
│ │ ├── queue/ # BullMQ QueueModule(全局)
│ │ ├── decorators/ # @CurrentUser、@RequirePermission
│ │ ├── guards/ # JwtAuthGuard、PermissionGuard
│ │ ├── interceptors/ # 日志 / 限流
│ │ ├── filters/ # HTTP 异常过滤器
│ │ ├── services/ # UploadService、CryptoService 等
│ │ ├── constants/ # 全局常量(语言列表、tier 限额、credit 默认值)
│ │ └── utils/ # 工具函数(normalizeBusinessLanguageCode 等)
│ ├── h5/ # 对客 H5 渲染(Handlebars 模板)
│ ├── websocket/ # WebSocket Gateway
│ └── main.ts # bootstrap
└── .env # 环境配置(不进 git)
2. 命名规范
- 文件:
kebab-case.ts(如complaint-analytics.service.ts) - 类:
PascalCase(如ComplaintAnalyticsService) - DTO 类:
<Action><Resource>Dto(如CreateComplaintDto) - 注释:中文(如团队偏好)
- Service 方法:动词开头,camelCase(
generateAnalyticsReport/consumeReserved)
3. Module / Controller / Service 模板
// <feature>.module.ts
@Module({
imports: [/* PrismaModule、RedisModule 全局,无需重复 import */],
controllers: [<Feature>Controller],
providers: [<Feature>Service],
exports: [<Feature>Service], // 仅当其他模块需要才 export
})
export class <Feature>Module {}
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.
- 12d ago First seen · 582 lines · 106 tokens per session scan A 84011e9a5a7d
nestjs-backend-conventions is a skill published in the GitHub repository lh17708357536-gif/flutter-cn-overseas-app-skills (20 stars, last pushed 2mo ago), licensed MIT. It adds 106 tokens to every session and 5,955 once invoked, about $0.0005 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other skills, from other repositories
using-redis-token-buckets
Use when adding a bucket-like rate limit backed by Redis: a per-caller budget with burst capacity and continuous refill, a refund path for requests that did no work, or a limit whose Retry-After must be a real wait rather than a window edge. posthog/tokenbucket.py provides an atomic Lua token bucket (consume, refund…
spring-boot-cache
Provides patterns for implementing Spring Boot caching: configures Redis/Caffeine/EhCache providers with TTL and eviction policies, applies @Cacheable/@CacheEvict/@CachePut annotations, validates cache hit/miss behavior, and exposes metrics via Actuator. Use when adding caching to Spring Boot services, configuring…
using-redis-token-buckets
Use when adding a bucket-like rate limit backed by Redis: a per-caller budget with burst capacity and continuous refill, a refund path for requests that did no work, or a limit whose Retry-After must be a real wait rather than a window edge. posthog/tokenbucket.py provides an atomic Lua token bucket (consume, refund…
spring-data-redis
Use when implementing caching, session storage, rate limiting, or any Redis integration. Covers cache-aside pattern, key naming, TTL strategy, and serialization config.
background-job-orchestrator
Expert in background job processing with Bull/BullMQ (Redis), Celery, and cloud queues. Implements retries, scheduling, priority queues, and worker management. Use for async task processing, email campaigns, report generation, batch operations. Activate on "background job", "async task", "queue", "worker", "BullMQ"…
nw-sd-patterns
Core distributed systems patterns - load balancing, caching, sharding, consistent hashing, message queues, rate limiting, CDN, Bloom filters, ID generation, replication, conflict resolution, CAP theorem.