Coding
PromptBeginner5 minmarkdown
Markdown Converter
Agent skill for markdown-converter
45
실시간 재난/안전 데이터 소스들을 주기적으로 수집하여, 공통 형태의 "이벤트"로 정형화해서 Postgres에 저장하고,
Sign in to like and favorite skills
실시간 재난/안전 데이터 소스들을 주기적으로 수집하여, 공통 형태의 "이벤트"로 정형화해서 Postgres에 저장하고, HTTP API 및 SSE로 최신 이벤트 목록을 제공한다.
코딩시 아래 단계를 충실히 따릅니다.
any 사용을 금지하며 꼭 필요하다면 unknown을 사용합니다. Zod 스키마를 적극 활용합니다.forEach 대신 for 문을 사용합니다.then 대신 async/await를 사용합니다.foo as a 대신 foo().as('a')logger를 사용하여 적절한 수준의 로그를 남깁니다. (debug/info/warn/error)function 키워드로 작성합니다. (화살표 함수는 주로 콜백용)This project follows a layered architecture at both the top-level and within each module:
Top-level layers:
core: Core logic and shared dependenciesinfra: External infrastructure (e.g., database)view: HTTP API routes and middlewaremodules: Feature modules, each with its own layersModule structure:
app: Business logic such as servicesinfra: External infrastructure (e.g., DB repositories)view: HTTP API route definitionsdomain: Shared dependencies, DTOs, entities, interfaces, etc. (referenced by other modules)