# Send NestJS to your agent
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
## Fast path
- 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.
## Suggested prompts
### New install

```text
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.
```
### Upgrade existing

```text
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.
```
## Machine-readable fields
```json
{
  "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": {
    "downloadUrl": "/downloads/nestjs",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=nestjs",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "includedAssets": [
      "SKILL.md"
    ],
    "downloadMode": "redirect",
    "sourceHealth": {
      "source": "tencent",
      "slug": "nestjs",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-05-06T01:45:54.818Z",
      "expiresAt": "2026-05-13T01:45:54.818Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=nestjs",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=nestjs",
        "contentDisposition": "attachment; filename=\"nestjs-1.0.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null,
        "slug": "nestjs"
      },
      "scope": "item",
      "summary": "Item download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this item.",
      "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."
      ]
    }
  },
  "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"
  }
}
```
## Documentation

### Dependency Injection

Provider not available — must be in providers array AND exports if used by other modules
Circular dependency crashes — use forwardRef(() => Module) in both modules
Default scope is singleton — same instance across requests, careful with state
Request-scoped provider — @Injectable({ scope: Scope.REQUEST }), propagates to dependents

### Module Organization

Import module, not provider directly — imports: [UserModule] not providers: [UserService]
exports makes providers available to importers — without it, provider stays private
Global modules need @Global() decorator — only for truly shared (config, logger)
forRoot() vs forRootAsync() — async for when config depends on other providers

### Validation

ValidationPipe needs class-validator decorators — plain classes won't validate
Enable transform: true for auto-transformation — string "1" to number 1
whitelist: true strips unknown properties — forbidNonWhitelisted: true to error instead
Nested objects need @ValidateNested() AND @Type(() => NestedDto) — both required

### Execution Order

Middleware → Guards → Interceptors (pre) → Pipes → Handler → Interceptors (post) → Filters
Guards can't access transformed body — run before pipes
Global pipes run before route pipes — but after guards
Exception filters catch errors from entire chain — including guards and pipes

### Exception Handling

throw new HttpException() not return — must throw for filter to catch
Custom exceptions extend HttpException — or implement ExceptionFilter
Unhandled exceptions become 500 — wrap external calls in try/catch
Built-in exceptions: BadRequestException, NotFoundException, etc. — use these, not generic HttpException

### Testing

createTestingModule doesn't auto-mock — provide mocks explicitly in providers
Override with .overrideProvider(X).useValue(mock) — before .compile()
E2E tests need app.init() — and app.close() in afterAll
Request-scoped providers complicate unit tests — consider making them singleton when possible

### Common Mistakes

@Body() without DTO returns plain object — no validation, no transformation
@Param('id') is always string — use ParseIntPipe for number: @Param('id', ParseIntPipe)
Guards returning false gives 403 — throw specific exception for better error messages
Async providers need factory — useFactory: async () => await createConnection()
Forgetting await on async service methods — returns Promise, not value
## Trust
- Source: tencent
- Verification: Indexed source record
- Publisher: ivangdavila
- Version: 1.0.0
## Source health
- Status: healthy
- Item download looks usable.
- Yavira can redirect you to the upstream package for this item.
- Health scope: item
- Reason: direct_download_ok
- Checked at: 2026-05-06T01:45:54.818Z
- Expires at: 2026-05-13T01:45:54.818Z
- Recommended action: Download for OpenClaw
## Links
- [Detail page](https://openagent3.xyz/skills/nestjs)
- [Send to Agent page](https://openagent3.xyz/skills/nestjs/agent)
- [JSON manifest](https://openagent3.xyz/skills/nestjs/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/nestjs/agent.md)
- [Download page](https://openagent3.xyz/downloads/nestjs)