| name | history-note-processor |
| description | Process Gemini chat exports into structured academic history notes following the Four-Step Deep Reading methodology (๐ข Foundation โ ๐ต Critique โ ๐ฃ Context โ ๐ด Synthesis). Use when (1) Processing Gemini chat history exports, (2) Expanding existing history notes, (3) Creating comprehensive academic notes from historical readings, (4) Structuring research notes with YAML frontmatter, Mermaid visualizations, and multi-stage analysis. |
History Note Processor
Transform Gemini chat exports and historical readings into comprehensive, academically-structured notes following established standards.
Workflow Overview
Input: Gemini chat export (zip file) containing conversation about a historical work
Output: Structured Markdown note with YAML frontmatter, Mermaid diagrams, and Four-Step Deep Reading analysis
Standard Operating Procedure
Phase 1: Extract and Analyze Source
-
Extract Gemini chat export:
unzip gemini-chat-*.zip
cat gemini-chat-*/session.json | jq -r '.messages[] | .text' > raw_content.txt
-
Identify core book/topic metadata:
- Title (Chinese + original)
- Author
- Publisher/year
- Core thesis
- Key concepts
Phase 2: Structure with YAML Frontmatter
Required frontmatter fields:
---
title: "ไธญๆไนฆๅ"
original_title: "Original Title"
author: "Author Name"
translator: "่ฏ่
ๅงๅ๏ผๅฆ้็จ๏ผ"
publisher: "Publisher Name"
year: YYYY
series: "ไธไนฆ็ณปๅ๏ผๅฆ้็จ๏ผ"
category:
- ไธปๅ็ฑป
- ๆฌกๅ็ฑป
tags:
- ๅ
ณ้ฎๆฆๅฟต1
- ๅ
ณ้ฎๆฆๅฟต2
core_thesis: "ๆ ธๅฟ่ฎบ็น็ไธๅฅ่ฏๆป็ป"
key_concepts:
- ๅ
ณ้ฎๆฆๅฟต1่ฏฆ็ปๅ็งฐ
- ๅ
ณ้ฎๆฆๅฟต2่ฏฆ็ปๅ็งฐ
methodology:
- ๆนๆณ่ฎบ1
- ๆนๆณ่ฎบ2
related_works:
- "ใ็ธๅ
ณ่ไฝ1ใ- ไฝ่
"
- "ใ็ธๅ
ณ่ไฝ2ใ- ไฝ่
"
reading_date: YYYY
status: completed
---
Phase 3: Four-Step Deep Reading Structure
Organize content into four mandatory sections:
๐ข Stage 1: Foundation (ๆๆฌ็ป่ฏปไธ่็ปๆขณ็)
- Chapter-by-chapter logical breakdown
- Core concepts extraction
- Primary source analysis
- Historical timeline (Mermaid timeline)
๐ต Stage 2: Critique (ๅญฆๆฏๅฎไฝไธๆ็ฎ็ปผ่ฟฐ)
- Historiographical positioning
- Scholarly debates (intentionalist vs structuralist, etc.)
- Methodological analysis
- Critical assessment
๐ฃ Stage 3: Context (่ๆฏๆฉๅฑไธ็ฅ่ฏ่ๅค)
- Institutional/technical archaeology
- Key figures deep dives
- Cross-cultural background
- Hidden historical details
๐ด Stage 4: Synthesis (็ปๆ็ปผๅไธ็่ฎบๅๅ)
- Logical closure
- Theoretical elevation
- Critical evaluation
- Contemporary relevance
Phase 4: Visualization Requirements
Include these Mermaid diagrams:
- Opening mindmap (ๆ ธๅฟๆ็ปดๅฏผๅพ):
mindmap
root((Book Title))
ๆนๆณ่ฎบๅๆฐ
็ๅนณ้ถๆฎต/ๅๅฒๅๆ
ๆ ธๅฟๆฆๅฟต
ๅ
ณ้ฎไบบ็ฉ
ๅฒๅญฆ่ดก็ฎ
- Timeline (ๅ
ณ้ฎๆถ้ด่ฝด):
timeline
title ไธป้ขๅ
ณ้ฎ่็น
section ็ฌฌไธ้ถๆฎต
ๆถ้ด็น1 : ไบไปถๆ่ฟฐ
ๆถ้ด็น2 : ไบไปถๆ่ฟฐ
- Flowcharts/graphs as needed for:
- Causal chains
- Power structures
- Conceptual relationships
- Historical processes
Phase 5: Search and Expansion Strategy
For each major topic/concept:
-
Verify with web search:
- Historical events: dates, participants, outcomes
- Key figures: biographical details, roles, fates
- Technical terms: precise definitions, scholarly usage
- Scholarly debates: major positions, representatives
-
Cross-reference framework:
- Check claims against established historiography
- Verify statistical data
- Confirm quotations and attributions
- Identify missing context
-
Add "Sources ๆฅๆบๆฑๆป" section:
- Academic sources
- Wikipedia/encyclopedias
- Specialized databases
- All web search results used
Phase 6: Quality Checklist
Before finalizing, verify:
Output Formatting Standards
Section markers:
- Use
## for main sections (ๅไธช้ถๆฎต)
- Use
### for subsections
- Use
#### for detailed breakdowns
Visual emphasis:
- Use
*** for horizontal rules between major sections
- Use
> **Blockquotes** for key quotations or important findings
- Use tables for structured comparisons
- Use code blocks for specific examples
Chinese academic style:
- Maintain formal academic tone
- Use traditional scholarly markers (ๅฆใๅณใ็ถใๅใ็ญ)
- Balance accessibility with rigor
File Organization
Save location: /Users/leo/Desktop/ๆฐ็ฌ่ฎฐ/ๅๅฒๅญฆ/ใไนฆๅใ-ๆ็ป.md
Naming convention: Chinese title in full-width guillemets ใใ, followed by -ๆ็ป
Reference Format
See references/template-example.md for a complete example following all standards.
Common Pitfalls to Avoid
- Incomplete YAML: Don't skip methodology or key_concepts fields
- Missing visualizations: Each stage should have at least one diagram
- Unsourced claims: Always verify dates, statistics, and major historical claims with web search
- Flat structure: Use subsections generously to create hierarchical organization
- No critical analysis: Stage 2 (๐ต Critique) must engage with scholarly debates, not just summarize