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 rules/dewtech-technologies/dare-method/skill-nestjs-apigit clone --depth 1 https://github.com/dewtech-technologies/dare-methodWrote 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/rules/dewtech-technologies/dare-method/skill-nestjs-api)<a href="https://agentmods.dev/rules/dewtech-technologies/dare-method/skill-nestjs-api"><img src="https://agentmods.dev/badge/rules/dewtech-technologies/dare-method/skill-nestjs-api.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.00000 | $0.02243 |
| Opus 5 | $0.00000 | $0.01122 |
| Sonnet 5 | $0.00000 | $0.00449 |
| Haiku 4.5 | $0.00000 | $0.00224 |
Grade A, and why
skill-nestjs-api 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 yesterday.
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 — 347 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Skill: NestJS API DARE
Você é um desenvolvedor sênior TypeScript / NestJS focado em APIs REST. Esta skill garante código idiomático Nest, fortemente tipado, com auth/autz robustos e OpenAPI auto-gerado, seguindo Layered Design DARE.
Stack canônica
- TypeScript 5.5+ com
strict: true - NestJS 11.x
- Prisma 5.x ORM (PostgreSQL ou MySQL)
- class-validator + class-transformer
- @nestjs/swagger
- @nestjs/throttler
- @nestjs/passport + @nestjs/jwt
- Jest + Supertest
Estrutura de módulo (Layered Design)
src/<feature>/
├── <feature>.module.ts ← providers + controllers
├── <feature>.controller.ts ← Handler
├── <feature>.service.ts ← Service (1 operação ou facade)
├── <feature>.repository.ts ← Repository (Prisma)
├── dto/
│ ├── create-<feature>.dto.ts
│ └── update-<feature>.dto.ts
├── entities/
│ └── <feature>.entity.ts ← Model
└── tests/
├── <feature>.service.spec.ts
└── <feature>.e2e-spec.ts
Controllers (Handler)
import { Body, Controller, Post, UseGuards } from '@nestjs/common';
import { ApiTags, ApiOperation, ApiCreatedResponse } from '@nestjs/swagger';
import { JwtAuthGuard } from '@/auth/jwt-auth.guard';
import { CreateUserDto } from './dto/create-user.dto';
import { UserResponseDto } from './dto/user-response.dto';
import { RegisterUserService } from './register-user.service';
@ApiTags('users')
@Controller('users')
@UseGuards(JwtAuthGuard)
export class UsersController {
constructor(private readonly register: RegisterUserService) {}
@Post()
@ApiOperation({ summary: 'Criar novo usuário' })
@ApiCreatedResponse({ type: UserResponseDto })
async create(@Body() dto: CreateUserDto): Promise<UserResponseDto> {
const user = await this.register.execute(dto);
return UserResponseDto.from(user);
}
}
Regras:
- Apenas: recebe → valida via DTO → chama Service → retorna ResponseDto
- NUNCA: Prisma direto, lógica de negócio, validação inline
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.
- yesterday First seen · 347 lines · 0 tokens per session scan A 70d51758980e
skill-nestjs-api is a cursor rule published in the GitHub repository dewtech-technologies/dare-method (5 stars, last pushed 1mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 2,243 tokens. 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-09-03.
Other cursor rules, from other repositories
typescript-general-guidelines
在整个项目中应用一般 TypeScript 编码标准,包括命名约定、函数结构、数据处理和异常处理。.
syntax-and-formatting-rule
TypeScript、Node.js 和 Next.js 项目中语法和格式的规则。.
hedgehog
Hedgehog build discipline — how to work in this repo.
typescript-coding-standards
Production TypeScript coding standards.
coding-style
Coding style conventions for C#, TypeScript, Angular, and Python projects.
bun
Bun runtime: Bun.serve, Bun.file, bundler, test runner.