with one click
getting-started
Use when working with geographic coordinates in apis.
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Menu
Use when working with geographic coordinates in apis.
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Use when creating or updating api specific packages in `packages/api/*`, especially for package structure, exports, module wiring, docs, and validation.
Use when implementing or reviewing HTTP integrations inside api specific packages, especially for transport choice, timeout placement, request shaping, and error handling.
Use when configuring a shared OSRM client in NestJS APIs.
Use when configuring transactional mail delivery in NestJS APIs with @wisemen/nestjs-mail.
Use when generating CSVs in APIs.
Use when scanning NestJS providers with DiscoveryService-backed utilities.
Based on SOC occupation classification
| name | getting-started |
| description | Use when working with geographic coordinates in apis. |
Use Coordinates as the shared type for geographic coordinates. Use
CoordinatesCommand in request DTOs, CoordinatesQuery for query parameters,
@CoordinatesColumn() in TypeORM entities, and CoordinatesResponse in API
responses.
import { ApiProperty } from '@nestjs/swagger'
import { Coordinates, CoordinatesColumn, CoordinatesCommand, CoordinatesQuery, CoordinatesResponse } from '@wisemen/coordinates'
export class UpdateLocationCommand {
@ApiProperty({ type: CoordinatesCommand })
coordinates: CoordinatesCommand
}
export class LocationResponse {
@ApiProperty({ type: CoordinatesResponse, nullable: true })
coordinates: CoordinatesResponse | null
}
@Entity()
export class Location {
@CoordinatesColumn({ nullable: true })
coordinates: Coordinates | null
}
const coordinates = dto.coordinates.parse()
const center = query.parse()
return {
coordinates: CoordinatesResponse.from(location.coordinates),
}