add template
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
# Legacy Notice
|
||||
|
||||
`raw/`의 기본 컨텍스트 파일은 이제 `raw/GEMINI.md`다.
|
||||
|
||||
- Gemini CLI는 `raw/GEMINI.md`를 사용한다.
|
||||
- `raw/`는 계속 읽기 전용이며, 변경 금지 규칙도 동일하다.
|
||||
@@ -0,0 +1,23 @@
|
||||
# raw/ — 불변 원본 저장소
|
||||
|
||||
## 규칙
|
||||
|
||||
- `raw/`는 읽기 전용이다. 생성·수정·이동·삭제를 하지 않는다.
|
||||
- 사용자가 직접 넣은 원본을 그대로 보존한다.
|
||||
- 요약, 해석, 구조화, 연결은 `wiki/`에서 수행한다.
|
||||
|
||||
## 하위 폴더
|
||||
|
||||
| 폴더 | 용도 |
|
||||
|---|---|
|
||||
| `articles/` | 웹 아티클, 블로그 |
|
||||
| `books/` | 책 발췌, 독서 노트 원본 |
|
||||
| `videos/` | 영상 대본, 트랜스크립트 |
|
||||
| `ideas/` | 순간 아이디어, 메모 |
|
||||
| `work/` | BIM 개발 관련 업무 기록, 암묵지 |
|
||||
|
||||
## Gemini CLI 작업 원칙
|
||||
|
||||
- `raw/`를 참조할 때도 먼저 `wiki/index.md`와 관련 `wiki/` 페이지를 확인한다.
|
||||
- `raw/` 내용을 인용할 때는 실제 원본 파일 경로를 `sources`나 본문에 남긴다.
|
||||
- 대용량 책은 **1패스(목차) → 2패스(챕터별)** 순서로 처리한다.
|
||||
@@ -0,0 +1,20 @@
|
||||
{
|
||||
"schemaVersion": "0.1.0",
|
||||
"name": "📄 Article (LLM Wiki)",
|
||||
"behavior": "create",
|
||||
"noteNameFormat": "{{date}}_{{title}}",
|
||||
"path": "raw/articles",
|
||||
"noteContentFormat": "---\ntype: article\ntitle: \"{{title}}\"\nurl: \"{{url}}\"\nauthor: \"{{author}}\"\npublished: \"{{published}}\"\nclipped: {{date}}\ntags:\n - raw\n - article\ndomain: \"{{domain}}\"\ndescription: \"{{description}}\"\nwiki_status: not-compiled\n---\n\n## 핵심 요약\n<!-- 클리핑 후 핵심 내용 한두 줄 직접 작성 -->\n\n## 하이라이트\n{{highlights}}\n\n## 본문\n{{content}}",
|
||||
"properties": [
|
||||
{ "name": "type", "value": "article", "type": "text" },
|
||||
{ "name": "title", "value": "{{title}}", "type": "text" },
|
||||
{ "name": "url", "value": "{{url}}", "type": "text" },
|
||||
{ "name": "author", "value": "{{author}}", "type": "text" },
|
||||
{ "name": "published", "value": "{{published}}", "type": "text" },
|
||||
{ "name": "clipped", "value": "{{date}}", "type": "date" },
|
||||
{ "name": "tags", "value": "raw,article", "type": "multitext" },
|
||||
{ "name": "domain", "value": "{{domain}}", "type": "text" },
|
||||
{ "name": "description", "value": "{{description}}", "type": "text" },
|
||||
{ "name": "wiki_status", "value": "not-compiled", "type": "text" }
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,21 @@
|
||||
{
|
||||
"schemaVersion": "0.1.0",
|
||||
"name": "📚 Book (LLM Wiki)",
|
||||
"behavior": "create",
|
||||
"noteNameFormat": "{{date}}_{{title}}",
|
||||
"path": "raw/books",
|
||||
"noteContentFormat": "---\ntype: book\ntitle: \"{{title}}\"\nurl: \"{{url}}\"\nauthor: \"{{author}}\"\npublisher: \"\"\nyear: \"\"\nisbn: \"\"\nclipped: {{date}}\ntags:\n - raw\n - book\ndescription: \"{{description}}\"\nwiki_status: not-compiled\n---\n\n## 왜 읽는가\n<!-- 이 책을 읽는 이유, 기대하는 것 직접 작성 -->\n\n## 핵심 주장\n<!-- 책의 핵심 thesis 한두 줄 -->\n\n## 하이라이트\n{{highlights}}\n\n## 내용\n{{content}}",
|
||||
"properties": [
|
||||
{ "name": "type", "value": "book", "type": "text" },
|
||||
{ "name": "title", "value": "{{title}}", "type": "text" },
|
||||
{ "name": "url", "value": "{{url}}", "type": "text" },
|
||||
{ "name": "author", "value": "{{author}}", "type": "text" },
|
||||
{ "name": "publisher", "value": "", "type": "text" },
|
||||
{ "name": "year", "value": "", "type": "text" },
|
||||
{ "name": "isbn", "value": "", "type": "text" },
|
||||
{ "name": "clipped", "value": "{{date}}", "type": "date" },
|
||||
{ "name": "tags", "value": "raw,book", "type": "multitext" },
|
||||
{ "name": "description", "value": "{{description}}", "type": "text" },
|
||||
{ "name": "wiki_status", "value": "not-compiled", "type": "text" }
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,19 @@
|
||||
{
|
||||
"schemaVersion": "0.1.0",
|
||||
"name": "🎙️ Podcast (LLM Wiki)",
|
||||
"behavior": "create",
|
||||
"noteNameFormat": "{{date}}_{{title}}",
|
||||
"path": "raw/videos",
|
||||
"noteContentFormat": "---\ntype: podcast\ntitle: \"{{title}}\"\nurl: \"{{url}}\"\npodcast_name: \"{{author}}\"\npublished: \"{{published}}\"\nclipped: {{date}}\ntags:\n - raw\n - podcast\ndescription: \"{{description}}\"\nwiki_status: not-compiled\n---\n\n## 핵심 포인트\n<!-- 청취 중 인상적인 내용 직접 작성 -->\n\n## 하이라이트\n{{highlights}}\n\n## 노트 / 트랜스크립트\n{{content}}",
|
||||
"properties": [
|
||||
{ "name": "type", "value": "podcast", "type": "text" },
|
||||
{ "name": "title", "value": "{{title}}", "type": "text" },
|
||||
{ "name": "url", "value": "{{url}}", "type": "text" },
|
||||
{ "name": "podcast_name", "value": "{{author}}", "type": "text" },
|
||||
{ "name": "published", "value": "{{published}}", "type": "text" },
|
||||
{ "name": "clipped", "value": "{{date}}", "type": "date" },
|
||||
{ "name": "tags", "value": "raw,podcast", "type": "multitext" },
|
||||
{ "name": "description", "value": "{{description}}", "type": "text" },
|
||||
{ "name": "wiki_status", "value": "not-compiled", "type": "text" }
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,21 @@
|
||||
{
|
||||
"schemaVersion": "0.1.0",
|
||||
"name": "🔬 Research (LLM Wiki)",
|
||||
"behavior": "create",
|
||||
"noteNameFormat": "{{date}}_{{title}}",
|
||||
"path": "raw/articles",
|
||||
"noteContentFormat": "---\ntype: research\ntitle: \"{{title}}\"\nurl: \"{{url}}\"\nauthor: \"{{author}}\"\njournal: \"\"\ndoi: \"\"\nyear: \"{{published}}\"\nclipped: {{date}}\ntags:\n - raw\n - research\ndescription: \"{{description}}\"\nwiki_status: not-compiled\n---\n\n## 연구 질문\n<!-- 이 논문/연구가 답하려는 질문 -->\n\n## 핵심 발견\n<!-- 주요 결론, 데이터, 인사이트 -->\n\n## 나의 관점\n<!-- 내 연구/사고와의 연결점 -->\n\n## 하이라이트\n{{highlights}}\n\n## 본문\n{{content}}",
|
||||
"properties": [
|
||||
{ "name": "type", "value": "research", "type": "text" },
|
||||
{ "name": "title", "value": "{{title}}", "type": "text" },
|
||||
{ "name": "url", "value": "{{url}}", "type": "text" },
|
||||
{ "name": "author", "value": "{{author}}", "type": "text" },
|
||||
{ "name": "journal", "value": "", "type": "text" },
|
||||
{ "name": "doi", "value": "", "type": "text" },
|
||||
{ "name": "year", "value": "{{published}}", "type": "text" },
|
||||
{ "name": "clipped", "value": "{{date}}", "type": "date" },
|
||||
{ "name": "tags", "value": "raw,research", "type": "multitext" },
|
||||
{ "name": "description", "value": "{{description}}", "type": "text" },
|
||||
{ "name": "wiki_status", "value": "not-compiled", "type": "text" }
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,19 @@
|
||||
{
|
||||
"schemaVersion": "0.1.0",
|
||||
"name": "🎬 YouTube (LLM Wiki)",
|
||||
"behavior": "create",
|
||||
"noteNameFormat": "{{date}}_{{title}}",
|
||||
"path": "raw/videos",
|
||||
"noteContentFormat": "---\ntype: youtube\ntitle: \"{{title}}\"\nurl: \"{{url}}\"\nchannel: \"{{author}}\"\npublished: \"{{published}}\"\nclipped: {{date}}\ntags:\n - raw\n - youtube\ndescription: \"{{description}}\"\nwiki_status: not-compiled\n---\n\n## 핵심 포인트\n<!-- 시청 중 인상적인 내용 직접 작성 -->\n\n## 하이라이트\n{{highlights}}\n\n## 트랜스크립트 / 요약\n{{content}}",
|
||||
"properties": [
|
||||
{ "name": "type", "value": "youtube", "type": "text" },
|
||||
{ "name": "title", "value": "{{title}}", "type": "text" },
|
||||
{ "name": "url", "value": "{{url}}", "type": "text" },
|
||||
{ "name": "channel", "value": "{{author}}", "type": "text" },
|
||||
{ "name": "published", "value": "{{published}}", "type": "text" },
|
||||
{ "name": "clipped", "value": "{{date}}", "type": "date" },
|
||||
{ "name": "tags", "value": "raw,youtube", "type": "multitext" },
|
||||
{ "name": "description", "value": "{{description}}", "type": "text" },
|
||||
{ "name": "wiki_status", "value": "not-compiled", "type": "text" }
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,112 @@
|
||||
# 타입별 컴파일 프롬프트
|
||||
|
||||
raw/에 수집한 파일을 wiki/로 컴파일할 때 사용하는 프롬프트 모음.
|
||||
|
||||
---
|
||||
|
||||
## 📄 Article
|
||||
|
||||
```
|
||||
raw/articles/[파일명].md 읽고 wiki에 컴파일해줘.
|
||||
|
||||
추출할 것:
|
||||
- 핵심 주장 1~3개
|
||||
- 인상적인 문장 (원문 인용)
|
||||
- 내 관심사(문서 구조화, 개념 연계, 자료 융합, AI 활용)와의 연결점
|
||||
|
||||
wiki 페이지 생성 후 index.md 등록, log.md 기록.
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
## 🎬 YouTube
|
||||
|
||||
```
|
||||
raw/videos/[파일명].md 읽고 wiki에 컴파일해줘.
|
||||
|
||||
추출할 것:
|
||||
- 영상의 핵심 주장 또는 방법론
|
||||
- 타임스탬프별 핵심 포인트 (있으면)
|
||||
- 내 관심사와의 연결점
|
||||
- 실천 가능한 인사이트
|
||||
|
||||
wiki 페이지 생성 후 index.md 등록, log.md 기록.
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
## 🎙️ Podcast
|
||||
|
||||
```
|
||||
raw/videos/[파일명].md 읽고 wiki에 컴파일해줘.
|
||||
|
||||
추출할 것:
|
||||
- 게스트/호스트의 핵심 관점
|
||||
- 기억할 만한 발언 (원문 인용)
|
||||
- 내 관심사와의 연결점
|
||||
|
||||
wiki 페이지 생성 후 index.md 등록, log.md 기록.
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
## 📚 Book
|
||||
|
||||
### 1패스 (목차 먼저)
|
||||
|
||||
```
|
||||
raw/books/[책이름]/ 폴더 구조와 각 파일의 첫 문단만 읽고
|
||||
wiki에 [책이름]_목차.md를 만들어줘.
|
||||
|
||||
포함할 것:
|
||||
- 저자, 출판연도, 핵심 thesis
|
||||
- 전체 구조표 (파일 → 챕터 제목 매핑)
|
||||
- 파트별 한 줄 요약
|
||||
- 2패스 추천 챕터 순서 (내 관심사 기준)
|
||||
|
||||
index.md 등록, log.md 기록.
|
||||
```
|
||||
|
||||
### 2패스 (챕터별)
|
||||
|
||||
```
|
||||
raw/books/[책이름]/[챕터파일].md 읽고 wiki에 컴파일해줘.
|
||||
|
||||
추출할 것:
|
||||
- 챕터 핵심 주장
|
||||
- 핵심 개념 정의 (인용 포함)
|
||||
- 내 관심사(문서 구조화, 개념 연계, 자료 융합, AI 활용)와의 연결점
|
||||
- 기존 wiki 페이지와 연결 가능한 개념
|
||||
|
||||
기존 wiki 페이지 있으면 업데이트, 없으면 새 페이지 생성.
|
||||
index.md 업데이트, log.md 기록.
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
## 🔬 Research
|
||||
|
||||
```
|
||||
raw/articles/[파일명].md 읽고 wiki에 컴파일해줘.
|
||||
|
||||
추출할 것:
|
||||
- 연구 질문과 방법론
|
||||
- 핵심 발견 및 데이터
|
||||
- 한계점
|
||||
- 내 관심사와의 연결점 및 활용 가능성
|
||||
|
||||
wiki 페이지 생성 후 index.md 등록, log.md 기록.
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
## 일괄 컴파일 (wiki_status 기준)
|
||||
|
||||
```
|
||||
raw/ 폴더에서 wiki_status가 "not-compiled"인 파일 목록 보여줘.
|
||||
```
|
||||
|
||||
```
|
||||
raw/articles/ 에서 wiki_status가 "not-compiled"인 파일들
|
||||
순서대로 하나씩 컴파일해줘. 각 파일마다 index.md와 log.md 업데이트.
|
||||
```
|
||||
Reference in New Issue
Block a user