{
  "schemaVersion": "1.0",
  "item": {
    "slug": "nestjs",
    "name": "NestJS",
    "source": "tencent",
    "type": "skill",
    "category": "开发工具",
    "sourceUrl": "https://clawhub.ai/ivangdavila/nestjs",
    "canonicalUrl": "https://clawhub.ai/ivangdavila/nestjs",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/nestjs",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=nestjs",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "SKILL.md"
    ],
    "primaryDoc": "SKILL.md",
    "quickSetup": [
      "Download the package from Yavira.",
      "Extract the archive and review SKILL.md first.",
      "Import or place the package into your OpenClaw setup."
    ],
    "agentAssist": {
      "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
      "steps": [
        "Download the package from Yavira.",
        "Extract it into a folder your agent can access.",
        "Paste one of the prompts below and point your agent at the extracted folder."
      ],
      "prompts": [
        {
          "label": "New install",
          "body": "I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete."
        },
        {
          "label": "Upgrade existing",
          "body": "I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run."
        }
      ]
    },
    "sourceHealth": {
      "source": "tencent",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-04-30T16:55:25.780Z",
      "expiresAt": "2026-05-07T16:55:25.780Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=network",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=network",
        "contentDisposition": "attachment; filename=\"network-1.0.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null
      },
      "scope": "source",
      "summary": "Source download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this source.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/nestjs"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    },
    "downloadPageUrl": "https://openagent3.xyz/downloads/nestjs",
    "agentPageUrl": "https://openagent3.xyz/skills/nestjs/agent",
    "manifestUrl": "https://openagent3.xyz/skills/nestjs/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/nestjs/agent.md"
  },
  "agentAssist": {
    "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
    "steps": [
      "Download the package from Yavira.",
      "Extract it into a folder your agent can access.",
      "Paste one of the prompts below and point your agent at the extracted folder."
    ],
    "prompts": [
      {
        "label": "New install",
        "body": "I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete."
      },
      {
        "label": "Upgrade existing",
        "body": "I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run."
      }
    ]
  },
  "documentation": {
    "source": "clawhub",
    "primaryDoc": "SKILL.md",
    "sections": [
      {
        "title": "Dependency Injection",
        "body": "Provider not available — must be in providers array AND exports if used by other modules\nCircular dependency crashes — use forwardRef(() => Module) in both modules\nDefault scope is singleton — same instance across requests, careful with state\nRequest-scoped provider — @Injectable({ scope: Scope.REQUEST }), propagates to dependents"
      },
      {
        "title": "Module Organization",
        "body": "Import module, not provider directly — imports: [UserModule] not providers: [UserService]\nexports makes providers available to importers — without it, provider stays private\nGlobal modules need @Global() decorator — only for truly shared (config, logger)\nforRoot() vs forRootAsync() — async for when config depends on other providers"
      },
      {
        "title": "Validation",
        "body": "ValidationPipe needs class-validator decorators — plain classes won't validate\nEnable transform: true for auto-transformation — string \"1\" to number 1\nwhitelist: true strips unknown properties — forbidNonWhitelisted: true to error instead\nNested objects need @ValidateNested() AND @Type(() => NestedDto) — both required"
      },
      {
        "title": "Execution Order",
        "body": "Middleware → Guards → Interceptors (pre) → Pipes → Handler → Interceptors (post) → Filters\nGuards can't access transformed body — run before pipes\nGlobal pipes run before route pipes — but after guards\nException filters catch errors from entire chain — including guards and pipes"
      },
      {
        "title": "Exception Handling",
        "body": "throw new HttpException() not return — must throw for filter to catch\nCustom exceptions extend HttpException — or implement ExceptionFilter\nUnhandled exceptions become 500 — wrap external calls in try/catch\nBuilt-in exceptions: BadRequestException, NotFoundException, etc. — use these, not generic HttpException"
      },
      {
        "title": "Testing",
        "body": "createTestingModule doesn't auto-mock — provide mocks explicitly in providers\nOverride with .overrideProvider(X).useValue(mock) — before .compile()\nE2E tests need app.init() — and app.close() in afterAll\nRequest-scoped providers complicate unit tests — consider making them singleton when possible"
      },
      {
        "title": "Common Mistakes",
        "body": "@Body() without DTO returns plain object — no validation, no transformation\n@Param('id') is always string — use ParseIntPipe for number: @Param('id', ParseIntPipe)\nGuards returning false gives 403 — throw specific exception for better error messages\nAsync providers need factory — useFactory: async () => await createConnection()\nForgetting await on async service methods — returns Promise, not value"
      }
    ],
    "body": "Dependency Injection\nProvider not available — must be in providers array AND exports if used by other modules\nCircular dependency crashes — use forwardRef(() => Module) in both modules\nDefault scope is singleton — same instance across requests, careful with state\nRequest-scoped provider — @Injectable({ scope: Scope.REQUEST }), propagates to dependents\nModule Organization\nImport module, not provider directly — imports: [UserModule] not providers: [UserService]\nexports makes providers available to importers — without it, provider stays private\nGlobal modules need @Global() decorator — only for truly shared (config, logger)\nforRoot() vs forRootAsync() — async for when config depends on other providers\nValidation\nValidationPipe needs class-validator decorators — plain classes won't validate\nEnable transform: true for auto-transformation — string \"1\" to number 1\nwhitelist: true strips unknown properties — forbidNonWhitelisted: true to error instead\nNested objects need @ValidateNested() AND @Type(() => NestedDto) — both required\nExecution Order\nMiddleware → Guards → Interceptors (pre) → Pipes → Handler → Interceptors (post) → Filters\nGuards can't access transformed body — run before pipes\nGlobal pipes run before route pipes — but after guards\nException filters catch errors from entire chain — including guards and pipes\nException Handling\nthrow new HttpException() not return — must throw for filter to catch\nCustom exceptions extend HttpException — or implement ExceptionFilter\nUnhandled exceptions become 500 — wrap external calls in try/catch\nBuilt-in exceptions: BadRequestException, NotFoundException, etc. — use these, not generic HttpException\nTesting\ncreateTestingModule doesn't auto-mock — provide mocks explicitly in providers\nOverride with .overrideProvider(X).useValue(mock) — before .compile()\nE2E tests need app.init() — and app.close() in afterAll\nRequest-scoped providers complicate unit tests — consider making them singleton when possible\nCommon Mistakes\n@Body() without DTO returns plain object — no validation, no transformation\n@Param('id') is always string — use ParseIntPipe for number: @Param('id', ParseIntPipe)\nGuards returning false gives 403 — throw specific exception for better error messages\nAsync providers need factory — useFactory: async () => await createConnection()\nForgetting await on async service methods — returns Promise, not value"
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/ivangdavila/nestjs",
    "publisherUrl": "https://clawhub.ai/ivangdavila/nestjs",
    "owner": "ivangdavila",
    "version": "1.0.0",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/nestjs",
    "downloadUrl": "https://openagent3.xyz/downloads/nestjs",
    "agentUrl": "https://openagent3.xyz/skills/nestjs/agent",
    "manifestUrl": "https://openagent3.xyz/skills/nestjs/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/nestjs/agent.md"
  }
}