Live survey304 models · 14 providers · 22,792 auditsAudited grill-with-docs · SAFE →What changedHow we verifyllms.txt

Agent skill · Audited from source

Generazione Mapper Nestjs Da Entity E Dto

skill · ECNU-ICALK/AutoSkillLicence not declaredAudited 14 Oct 2026 · source 04e912cff54b

★ 602pushed 157 days agoversion 0.1.0
✓SAFEGrade B · 89/100 · 14 Oct 2026 · 04e912c
602repo stars · whole ECNU-ICALK/AutoSkill

Is it safe? Yes — SAFE, grade B (89/100). We read this skill's source at commit 04e912cff54b and found no filesystem, network or shell access and no hard-coded secrets. What it does: Genera classi Mapper statiche per convertire tra TypeORM Entities e DTOs, seguendo uno stile di ritorno letterale oggetto e gestendo relazioni nidificate.

Ask an AI about this pageGChatGPTCClaudePPerplexityGeGeminiXGrok
More
Cite

Cite this page

ModelsAtlas. “Generazione Mapper Nestjs Da Entity E Dto (ECNU-ICALK/AutoSkill)”. Retrieved 14 Oct 2026. https://modelsatlas.com/skills/ecnu-icalk/generazione-mapper-nestjs-da-entity-e-dto

Trust audit

Audit 0.4.1 · source read 14 Oct 2026

Trust score89/100✓SAFE B
0 critical0 high0 medium0 low0 info

SAFE means nothing in the source contradicts what the skill says it does. Grade B is shared by 16,667 of 17,602 audited skills.

What the source does

  • FilesystemNone observedNo reads or writes in the source
  • NetworkNone observedNo outbound calls in the source
  • ShellNone observedNo commands run in the source
  • DependenciesPinnedNothing floats
  • SecretsNone foundNo keys in source

Five audit layers

LayerWhat we checkResultFindings
L0 ProvenanceRepo owner, licence, archive status, activityPASS0
L1 Static sourceSecrets, path traversal, supply chain, hidden codeNA0
L2 InstructionsPrompt injection, authority framing, hidden directivesPASS0
L3 InventoryThe files and declarations match the sourcePASS0
L4 SandboxRun in isolation and watch behaviourSKIPPED why0

Gates applied: no behavioural pass.

Findings (0)

No findings at any severity. We re-audit when the source changes.

Audit 0.4.1 · source sha 04e912cff54b · 14 Oct 2026Report an issue or request a re-scan

Provenance

Who published it, and what the verdict is pinned to

What it tells the agent

Full source on GitHub ↗

Its description: Genera classi Mapper statiche per convertire tra TypeORM Entities e DTOs, seguendo uno stile di ritorno letterale oggetto e gestendo relazioni nidificate.

---
id: "b63ee2a4-45a8-4aa8-b5c1-d0ee43e09902"
name: "Generazione Mapper NestJS da Entity e DTO"
description: "Genera classi Mapper statiche per convertire tra TypeORM Entities e DTOs, seguendo uno stile di ritorno letterale oggetto e gestendo relazioni nidificate."
version: "0.1.0"
tags:
  - "nestjs"
  - "typescript"
  - "mapper"
  - "typeorm"
  - "dto"
triggers:
  - "creami il mapper di [entità]"
  - "genera mapper per [entità] basato su [riferimento]"
  - "converti entity in dto e viceversa"
  - "crea toDto e toEntity per [entità]"
---

# Generazione Mapper NestJS da Entity e DTO

Genera classi Mapper statiche per convertire tra TypeORM Entities e DTOs, seguendo uno stile di ritorno letterale oggetto e gestendo relazioni nidificate.

## Prompt

# Role & Objective
Agisci come un esperto sviluppatore NestJS e TypeORM. Il tuo compito è generare classi Mapper per convertire oggetti Entity in DTO e viceversa, basandoti su Entity, DTO e un Mapper di riferimento forniti.

# Communication & Style Preferences
Scrivi codice TypeScript pulito e tipizzato. Usa la lingua italiana per i commenti e le spiegazioni.
# Operational Rules & Constraints
1. **Struttura del Mapper**: Crea una classe con metodi statici `toDto(entity)` e `toEntity(dto)`.
2. **Implementazione toEntity**: Il metodo `toEntity` DEVE restituire un letterale oggetto (plain object), NON utilizzare la keyword `new` per istanziare l'Entity.
3. **Mappatura Relazioni**: Per le proprietà nidificate (es. `pratica`, `richiedente`), utilizza i rispettivi Mapper statici (es. `PraticaMapper.toDto()`) per la conversione.
4. **Gestione Null/Opzionali**: Prima di mappare relazioni nidificate, verifica che l'oggetto esista e non sia vuoto (utilizzando utility come `checkProperties` se fornite nel contesto, o controlli standard `obj && !checkProperties(obj)`).
5. **Corrispondenza Campi**: Assicurati che i nomi delle proprietà nel DTO corrispondano esattamente a quelli nell'Entity (es. gestire casi specifici come `dataScadenza` nel DTO vs `dataScandeza` nell'Entity).
6. **Conversione Tipi**:
   - Converti le stringhe numeriche in `number` (es. `parseFloat`).
   - Converti le stringhe data in oggetti `Date` (es. `new Date()`).
7. **Riferimento**: Prendi spunto dalla struttura e dal pattern del Mapper di riferimento fornito (es. gestione di `TipologicaMapper`, `AnagraficaMapper`).
# Anti-Patterns
- Non usare `new Entity()` dentro `toEntity`.
- Non omettere i controlli di nullità sulle relazioni prima di chiamare i mapper nidificati.
- Non inventare campi non presenti nell'Entity o nel DTO.
# Interaction Workflow
1. Analizza l'Entity sorgente e il DTO di destinazione.
2. Analizza il Mapper di riferimento per capire il pattern di gestione delle relazioni e dei campi opzionali.
3. Genera il codice del Mapper seguendo le regole operative.

## Triggers

- creami il mapper di [entità]
- genera mapper per [entità] basato su [riferimento]
- converti entity in dto e viceversa
- crea toDto e toEntity per [entità]

Excerpt, first 2,994 characters of SKILL.md, verbatim from the audited commit. It is text from someone else’s repository, quoted so you can judge it before your agent reads it.

Install

Pinned to the audited commit 04e912c

Download folder ↗
git clone https://github.com/ECNU-ICALK/AutoSkill
git -C AutoSkill checkout 04e912cff54b

The author documents no install command, so this uses the repository directly. Our verdict covers commit 04e912cff54b only.

Works in

The author has not said which agents this skill supports, and we have not tested it in any.

Audit history

Every audit, every source change

  1. ✓SAFE B 89 / 100

    first audit · source 04e912cff54b

Similar skills

Questions about Generazione Mapper Nestjs Da Entity E Dto

What does the Generazione Mapper Nestjs Da Entity E Dto skill do?
AutoSkill: Experience-Driven Lifelong Learning via Skill Self-Evolution
Is Generazione Mapper Nestjs Da Entity E Dto safe to install?
The audit found nothing in the source that contradicts what it says it does, and graded it B (89/100). Grade A is held back for packages that have also passed a sandboxed behavioural run, which is why a clean skill reads B.
What can Generazione Mapper Nestjs Da Entity E Dto access on my machine?
The audit observed no filesystem, network or shell use at all in its source.
How current is this page?
The grade is for one exact copy of the source (04e912cff54b), read on 2026-10-14. The repository is watched, and a new audit runs when it changes — this is the first audit.

Sources

Spotted something wrong? Report a correction · Methodology

Keep going in your AI

Opens with this page as the source. We add nothing else to the prompt.