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 narpatsinghpurohit/tstack --skill reviewing-nestjs-codegit clone --depth 1 https://github.com/narpatsinghpurohit/tstackWrote 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/narpatsinghpurohit/tstack/reviewing-nestjs-code)<a href="https://agentmods.dev/skills/narpatsinghpurohit/tstack/reviewing-nestjs-code"><img src="https://agentmods.dev/badge/skills/narpatsinghpurohit/tstack/reviewing-nestjs-code/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/narpatsinghpurohit/tstack/reviewing-nestjs-code"><img src="https://agentmods.dev/badge/skills/narpatsinghpurohit/tstack/reviewing-nestjs-code.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.00080 | $0.00681 |
| Opus 5.5 | $0.00032 | $0.00272 |
| Sonnet 5.5 | $0.00016 | $0.00136 |
| Haiku 4.5 | $0.00008 | $0.00068 |
Grade A, and why
reviewing-nestjs-code 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 3mo 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 — 81 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Reviewing NestJS Code
Severity levels
- NON-NEGOTIABLE: Blocks merge. No exceptions.
- CRITICAL: Must fix before merge.
- SUGGESTION: Should fix.
Review process
- Read all files in the module being reviewed
- Check against non-negotiable rules in rules/backend-rules.md
- Check permission coverage using the
permission-guidelinesskill - Check for common issues in references/common-issues.md
- Output findings
Non-negotiable checks
- Repository extends
BaseRepository, not raw Mongoose model usage in service - All queries scoped by
orgId(multi-tenant isolation) -
@Can(PERMISSIONS.X)on all protected endpoints - Validation via
ZodValidationPipewith schemas from the shared package, NOT class-validator - DTOs imported from the shared package, NOT defined locally
-
@CurrentUser()used to extract user,orgIdpassed to service - No
console.log— use NestJSLogger - No
process.env— useConfigService.getOrThrow() - No guard imports in feature modules (guards are global via
APP_GUARD) - Module registered in
app.module.ts
Architecture checks
- Controller: HTTP layer only, no business logic
- Service: Business logic, throws proper NestJS exceptions
- Repository: Data access only, uses
.lean()for reads - Schema:
orgIdfirst field,timestamps: true, proper indexes
Performance checks
-
.lean()used for read queries - Proper indexes for query patterns
-
Promise.all()for parallel async operations - No N+1 query patterns
Output format
## Code Review: [Module Name]
### NON-NEGOTIABLE (blocks merge)
- **[File:Line]** [Rule ID]: [Description and exact fix]
### Critical
- **[File:Line]**: [Description and fix]
### Suggestions
- **[File:Line]**: [Recommendation]
### Passed
- [Categories that passed all checks]
Rules
- rules/backend-rules.md — Non-negotiable backend rules
What ships with it
3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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.
- 3mo ago First seen · 81 lines · 80 tokens per session scan A 5ff378b77f80
reviewing-nestjs-code is a skill published in the GitHub repository narpatsinghpurohit/tstack (6 stars, last pushed 8mo ago), licensed MIT. It adds 80 tokens to every session and 681 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-31.
reviewing-nestjs-code compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| reviewing-nestjs-codenarpatsinghpurohit/tstack | Skill | 6 | 8mo ago | MIT | A | 80 | Claude Code |
| platform-apex-generateforcedotcom/sf-skills | Skill | 1.2k | 5d ago | Apache-2.0 | A | 122 | Claude Code |
| flow-next-impl-reviewgmickel/flow-next | Skill | 735 | today | MIT | A | 34 | Claude Code, Codex |
| api-contract-reviewTencentCloudBase/CloudBase-AI-Toolkit | Skill | 1.2k | today | MIT | A | 54 | Claude Code |
| principle-model-the-domaincursor/plugins | Skill | 21k | today | none | A | 27 | Claude Code |
| flow-next-resolve-prgmickel/flow-next | Skill | 735 | today | MIT | A | 36 | Claude Code, Codex |
| docs-check-kibana-oaselastic/elastic-docs-skills | Skill | 72 | today | Apache-2.0 | A | 106 | Claude Code |