Skip to main content

monolith-project-overview

Use for quick onboarding to this Monolith Go codebase, understanding startup flow, directory layout, and where to implement changes.

소스 정보

저장소
cggonzal/monolith
최근 소스 활동
2026년 2월 14일 03:11
감지된 SKILL.md 언어
영어
스타
0
포크
0

설치 방법

기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.

소스 파일 검토

설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.

SKILL.md 표시 중

SKILL.md
소스 지침 · 읽기 전용 미리보기
name
monolith-project-overview
description
Use for quick onboarding to this Monolith Go codebase, understanding startup flow, directory layout, and where to implement changes.
# Monolith Project Overview ## Use this skill when - You need to get oriented in the codebase quickly. - You are deciding where to place new code. - You need to trace request lifecycle from `main.go` to controllers. ## High-signal map - Entry point: `main.go` - App code: `app/` (`controllers`, `models`, `views`, `routes`, `middleware`, `jobs`, `services`, `session`, `config`) - Database bootstrapping: `db/db.go` - Realtime pub/sub: `ws/` - Scaffolding/generators: `generator/generator.go` - Static assets: `static/` - Deployment/runtime scripts: `server_management/` - Human docs: `README.md` and `guides/*.html` ## Boot sequence (critical) 1. `config.InitConfig()` loads env defaults. 2. `session.InitSession()` initializes cookie store. 3. `db.InitDB()` opens DB + automigrates models. 4. `jobs.InitJobQueue()` starts worker queue. 5. `views.InitTemplates(...)` parses templates. 6. `ws.InitPubSub()` starts WebSocket hub. 7. `server_management.RunServer(...)` starts HTTP server. ## First commands to run - `make run` (start app) - `make test` (full tests) - `make generator help` (list generator capabilities) - `make guides` (serve built-in guides) ## Placement rules - HTTP handlers: `app/controllers/` - Shared request wrappers: `app/middleware/` - Persistence/domain logic: `app/models/` - Async work: `app/jobs/` - External integrations: `app/services/` - Route wiring: `app/routes/routes.go` - Templates: `app/views/**/*.html.tmpl` - Static files: `static/{css,js,img}`
GitHub에서 보기