تخطَّ إلى المحتوى
TakoAPI
العودة إلى المهارات

agent-nestjs-skills

بواسطة tuanvidev

Coding Agents & IDEs
384التنزيلات وفق ما يذكره clawskills.sh
1النجوم
0المشاهدات
لا إعجاباتسجّل الدخول للإعجاب بهذه المهارة
—لم يُقيَّم بعد
تقييمك

موجز

NestJS best practices and architecture patterns for building production-ready applications.

الوصف

ما الذي تفعله هذه المهارة

A reference guide of 40 NestJS rules organized across 10 categories, from architecture and dependency injection to security and deployment. Each rule includes code examples showing incorrect and correct patterns. Intended for use during code writing, review, and refactoring.

Rules are prioritized by impact (CRITICAL down to LOW-MEDIUM), so an agent can focus on the highest-risk issues first rather than treating all guidelines equally.

متى تستخدمها

  • Catching circular module dependencies during code review
  • Setting up JWT authentication and authorization guards
  • Refactoring a bloated service into single-responsibility units
  • Preventing N+1 query problems in database-heavy endpoints
  • Configuring rate limiting on a public API

مثال على سير العمل

الإدخال

User asks: Review my NestJS user module for architecture and security issues

الوكيل
  1. 1

    Load arch- and security- rule files from the rules/ directory

  2. 2

    Check module structure for circular dependencies and improper provider sharing

  3. 3

    Verify services follow single-responsibility and use constructor injection

  4. 4

    Confirm input validation uses class-validator and guards handle authorization

  5. 5

    Check for missing rate limiting on public endpoints

الإخراج

Annotated list of violations per rule ID with corrected code snippets

التثبيت

clawhub install tuanvidev/agent-nestjs-skills

شغّل أمر واجهة سطر الأوامر، أو الصق النص في Claude Code أو Cursor أو Codex أو أي وكيل برمجة تستخدمه.

الروابط