Readme for developers
Skill ComeOnOliver/skillshub/skills/aiskillstore/marketplace/doyajin174/readme-for-developers
๐ง The right skill, one API call. AI agent skills registry with token-efficient skill resolution. 5,000+ skills from 500+ top repos.
npx -y skills add ComeOnOliver/skillshub --skill readme-for-developersAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
What its author says it does
Copied from the file, not written here
Write developer-oriented README as onboarding documentation. Use when creating/updating README, setting up new projects, or when new developers need to understand the codebase quickly. README = Entry point + Architecture overview + Working agreement.
The file declares its own license as MIT. That is the authorโs claim about this one file, and it is not the same thing as the license GitHub reports for the repository, which is listed with the other numbers below.
SKILL.md
7.1 KB, as published. Nobody here has run it
README for Developers
๊ฐ๋ฐ์๋ฅผ ์ํ README๋ ๋ง์ผํ ๋ฌธ์๊ฐ ์๋๋ผ **'์ธ๊ณ์ธ์์'**์ ๋๋ค. ์ด ๋ฌธ์ ํ๋๋ง ๋ณด๊ณ ๋ ์ ๊ท ๊ฐ๋ฐ์๊ฐ ๋ก์ปฌ ์๋ฒ๋ฅผ ๋์ฐ๊ณ , ์ฝ๋ ํ๋ฆ์ ๋จธ๋ฆฟ์์ ๊ทธ๋ฆด ์ ์์ด์ผ ํฉ๋๋ค.
Core Principle
"README = ์ง๋, ๋ํ ์ผ์ docs/๋ก ๋งํฌ"
์ ๋ณด๋ฅผ ํ ํ์ผ์ ๋ค ๋ฃ์ง ๋ง๊ณ , README๊ฐ ์ ์ฒด ์ง๋๋ฅผ ์ ๊ณตํ๊ณ ์ธ๋ถ๋ ๋งํฌ๋ก ๋ด๋ ค๊ฐ๊ฒ ํ๋ค.
README ํ์ง ์ฒดํฌ๋ฆฌ์คํธ
README๋ง ์ฝ๊ณ ์ ๊ฐ๋ฐ์๊ฐ ์๋ ์ง๋ฌธ์ ๋ตํ ์ ์์ผ๋ฉด ํฉ๊ฒฉ:
- ์ด ์์คํ ์ ๋ชฉํ/๋น๋ชฉํ๋?
- ๋ฐ์ดํฐ๋ ์ด๋์ ์ ์ฅ๋๊ณ , ํต์ฌ ์๋ณ์๋?
- ํต์ฌ ํ๋ก์ฐ 2~3๊ฐ๋ ์ด๋ป๊ฒ ๋์ํ๋๊ฐ?
- ์ํธ๋ฆฌํฌ์ธํธ ํ์ผ 3๊ฐ๋ ์ด๋์ธ๊ฐ?
- ์์ฃผ ํฐ์ง๋ ๋ฒ๊ทธ์ ๊ด์ธก ์ง์ ์?
- CI๋ ๋ฌด์์ ์ด๋ค ์์๋ก ๊ฐ์ ํ๋๊ฐ?
- ๋ฐฐํฌ/๋กค๋ฐฑ์ ์ด๋ป๊ฒ ํ๋๊ฐ?
- ๋ก์ปฌ ์คํ 3๋จ๊ณ๋?
ํ์ ์น์ ๊ตฌ์กฐ
0) New Engineer Fast Path (30๋ถ ์ฝ์ค)
## 0) New Engineer Fast Path
- โ
1) ์์คํ
ํ ์ฅ ์์ฝ โ '1) System at a glance'
- โ
2) ๋ก์ปฌ ์คํ โ '4) Local Dev'
- โ
3) ํต์ฌ ํ๋ก์ฐ 2๊ฐ โ '2) Core Flows'
- โ
4) ๋๋ฒ๊น
ํฌ์ธํธ โ '8) Debugging'
- โ
5) ์ฒซ ์์
๊ฐ์ด๋ โ '10) Working Agreement'
1) System at a glance
## 1) System at a glance
### What / Why
- **๋ชฉํ**:
- **๋น๋ชฉํ** (์ ํ๋ ๊ฒ):
- **์ฌ์ฉ์/๊ณ ๊ฐ**:
- **์ฑ๊ณต์งํ**:
### Architecture
(Mermaid ๋ค์ด์ด๊ทธ๋จ ๋๋ ์ด๋ฏธ์ง)
### Design Principles (3~5๊ฐ)
- SSOT ์ฐ์
- ์์ ๊ธฐ๋ณธ๊ฐ
- ์ ์ง์ ๋ก๋
- ๊ฒฐ์ ๊ธฐ๋ก (ADR)
2) Core Flows (ํต์ฌ ๋์ 2~3๊ฐ)
## 2) Core Flows
### Flow A: <์: Preview Render>
- **์
๋ ฅ**:
- **์ฒ๋ฆฌ ๋จ๊ณ**:
- **์ถ๋ ฅ**:
- **์ฃผ์ ์ฝ๋ ์์น**:
- **์์ฃผ ํฐ์ง๋ ์ง์ **:
### Flow B: <์: Video Export>
(๋์ผ ํฌ๋งท)
3) Repo Map (ํด๋ ๊ตฌ์กฐ)
## 3) Repo Map
\`\`\`
/app # Next.js App Router
/src # ์์ค ์ฝ๋
/components # ๊ณต์ฉ UI ์ปดํฌ๋ํธ
/features # ๊ธฐ๋ฅ๋ณ ๋ชจ๋
/lib # ์ ํธ๋ฆฌํฐ
/scripts # ๋น๋/๋ฐฐํฌ ์คํฌ๋ฆฝํธ
/docs # ์์ธ ๋ฌธ์
\`\`\`
- **์ํธ๋ฆฌํฌ์ธํธ**: `app/page.tsx`
- **์ํ/๋๋ฉ์ธ ํต์ฌ**: `src/features/`
- **ํ์ดํ๋ผ์ธ**: `src/lib/pipeline/`
4) Local Dev (๋ก์ปฌ ๊ฐ๋ฐ)
## 4) Local Dev
### Prerequisites
- Node.js: v20+
- Package manager: pnpm
- OS ์ด์: (์์ผ๋ฉด ๋ช
์)
### Setup
\`\`\`bash
# 1. ์์กด์ฑ ์ค์น
pnpm install
# 2. ํ๊ฒฝ๋ณ์
cp .env.example .env.local
# ํ์ํ ๊ฐ ์ฑ์ฐ๊ธฐ
# 3. ์คํ
pnpm dev
\`\`\`
### Common Commands
| ๋ช
๋ น์ด | ์ค๋ช
|
|--------|------|
| `pnpm dev` | ๊ฐ๋ฐ ์๋ฒ |
| `pnpm test` | ํ
์คํธ |
| `pnpm build` | ๋น๋ |
| `pnpm lint` | ๋ฆฐํธ |
5) Configuration & Secrets
## 5) Configuration & Secrets
| ๋ณ์๋ช
| ์ฉ๋ | ์์ | ํ์ | ๋
ธ์ถ๊ธ์ง |
|--------|------|------|------|----------|
| `DATABASE_URL` | DB ์ฐ๊ฒฐ | `postgresql://...` | โ
| โ
|
| `NEXT_PUBLIC_API_URL` | API ์ฃผ์ | `https://api.example.com` | โ
| โ |
### ์ํฌ๋ฆฟ ๊ด๋ฆฌ
- **๋ก์ปฌ**: `.env.local` (gitignore)
- **CI**: GitHub Secrets
- **ํ๋ก๋์
**: Vercel/AWS Secrets Manager
6) Data Model / Storage
## 6) Data Model
### ํต์ฌ ํ
์ด๋ธ
| ํ
์ด๋ธ | ์ค๋ช
| ํต์ฌ ํ๋ |
|--------|------|----------|
| users | ์ฌ์ฉ์ | id, email, created_at |
| projects | ํ๋ก์ ํธ | id, user_id, name |
### Storage
- S3: `s3://bucket/projects/{project_id}/`
- ์
๋ก๋ ๊ท์น: ...
### Migration
\`\`\`bash
pnpm db:migrate
\`\`\`
7) CI/CD & Release
## 7) CI/CD
### Pipeline
1. `validate` - ๋ฆฐํธ, ํ์
์ฒดํฌ
2. `test` - ์ ๋/ํตํฉ ํ
์คํธ
3. `build` - ํ๋ก๋์
๋น๋
4. `deploy` - ๋ฐฐํฌ
### ๋ฐฐํฌ ํธ๋ฆฌ๊ฑฐ
- `main` โ Production
- `develop` โ Staging
- PR โ Preview
### ๋กค๋ฐฑ
\`\`\`bash
vercel rollback
\`\`\`
8) Debugging & Observability
## 8) Debugging
### ๋ก๊ทธ ๋ณด๋ ๋ฒ
- **๋ก์ปฌ**: ์ฝ์ + React DevTools
- **์๋ฒ**: Vercel Logs / CloudWatch
### ์์ฃผ ๋ณด๋ ๋์๋ณด๋
- [Vercel Analytics](๋งํฌ)
- [Sentry](๋งํฌ)
### ํธ๋ฌ๋ธ์ํ
TOP 5
| ์ฆ์ | ์์ธ | ํด๊ฒฐ |
|------|------|------|
| DB ์ฐ๊ฒฐ ์คํจ | Docker ๋ฏธ์คํ | `docker-compose up -d` |
| ๋น๋ ์คํจ | ํ์
์๋ฌ | `pnpm tsc --noEmit` |
9) Security
## 9) Security
### ๊ถํ ๋ชจ๋ธ
- ์ธ์ฆ: NextAuth.js
- ๊ถํ: Role-based (admin, user)
### allowed-tools (์คํฌ ์์คํ
)
- ์คํฌ๋ณ ๋๊ตฌ ์ ํ ์ ์ฑ
### ์ทจ์ฝ์ ์ ๊ณ
โ [SECURITY.md](./SECURITY.md)
10) Working Agreement
## 10) Working Agreement
### ๋ธ๋์น ์ ๋ต
- `main` - ํ๋ก๋์
- `develop` - ๊ฐ๋ฐ ํตํฉ
- `feature/*` - ๊ธฐ๋ฅ ๊ฐ๋ฐ
- `hotfix/*` - ๊ธด๊ธ ์์
### PR ๊ท์น
- ์ต์ 1๋ช
๋ฆฌ๋ทฐ์ด ์น์ธ
- CI ํต๊ณผ ํ์
- PR ํ
ํ๋ฆฟ ์ฌ์ฉ
### ์ฝ๋ ์คํ์ผ
- ESLint + Prettier
- ํ์ผ๋น 200์ค ๊ถ์ฅ, 300์ค ์ ํ
### ADR (๊ฒฐ์ ๊ธฐ๋ก)
โ `/docs/adr/`
11) Docs Index
## 11) Docs Index
- [ARCHITECTURE.md](./docs/ARCHITECTURE.md)
- [RUNBOOK.md](./docs/RUNBOOK.md)
- [ADRs](./docs/adr/)
- [API ๋ฌธ์](./docs/api/)
- [Skills](./docs/skills/)
Mermaid ์ํคํ ์ฒ ์์
\`\`\`mermaid
graph LR
Browser[Browser] --> NextJS[Next.js App]
NextJS --> API[API Routes]
API --> DB[(PostgreSQL)]
API --> S3[(S3 Storage)]
API --> External[External APIs]
Worker[Background Worker] --> DB
Worker --> S3
\`\`\`
Anti-patterns
โ ๋ง์ผํ
๋ฌธ๊ตฌ๋ง ์์
"ํ์ ์ ์ธ AI ๊ธฐ๋ฐ ์๋ฃจ์
..."
โ ๊ฐ๋ฐ์์๊ฒ ๋ฌด์๋ฏธ
โ ์คํ ๋ฐฉ๋ฒ ์์
"์ค์น ํ ์คํํ์ธ์"
โ ๋ณต์ฌ-๋ถ์ฌ๋ฃ๊ธฐ ๊ฐ๋ฅํด์ผ ํจ
โ ๊ตฌ์กฐ ์ค๋ช
์์
ํด๋๋ง ๋์ด
โ ๊ฐ ํด๋ ์ญํ ์ค๋ช
ํ์
โ ํ๊ฒฝ๋ณ์ ์ค๋ช
์์
.env.example๋ง ์กด์ฌ
โ ๊ฐ ๋ณ์ ์๋ฏธ/์์ ํ์
โ ํ ํ์ผ์ ๋ชจ๋ ๊ฒ
README๊ฐ 1000์ค+
โ docs/๋ก ๋ถ๋ฆฌํ๊ณ ๋งํฌ
Workflow
1. ํ๋ก์ ํธ ๋ถ์
# ํด๋ ๊ตฌ์กฐ ํ์ธ
find . -maxdepth 2 -type d | grep -v node_modules | grep -v .git
# package.json ํ์ธ
cat package.json | head -30
# ํ๊ฒฝ๋ณ์ ํ์ธ
cat .env.example
2. README ์ด์ ์์ฑ
์ 11๊ฐ ์น์ ๊ตฌ์กฐ์ ๋ง์ถฐ ์์ฑ
3. ์ฒดํฌ๋ฆฌ์คํธ ๊ฒ์ฆ
์ ๊ท ๊ฐ๋ฐ์ ๊ด์ ์์ 8๊ฐ ์ง๋ฌธ์ ๋ตํ ์ ์๋์ง ํ์ธ