project-card-canvas

Solid

Generate and refresh the VISUAL views of a research-project card chain as Obsidian JSON Canvas files: the timeline canvas (git-graph style — log cards as a commit column, the entry card as the HEAD pointer riding beside the newest distilled log with the 📎 backlog stacking above it, colored by origin machine by default) and the context mind map (three decomposition modes: logs = per-log-card subtrees hung on the 前情提要 citation graph; chain = the chain body's H2/H3 sections; story = the research NARRATIVE as a staged, multi-row DAG — the agent reads the chain and authors a story graph JSON of ideas→experiments→results→pivots with causal edges, the script renders it deterministically). Use when the user asks to 畫/更新/刷新 project canvas、心智圖、脈絡圖、敘事圖、研究故事圖、 mind map、story graph、timeline 圖, or after project-card-log / project-card-merge runs (refresh the views). Mac-only (heptabase CLI + local vault; backend=both).

AI & Automation 3 stars 0 forks Updated today MIT

Install

View on GitHub

Quality Score: 79/100

Stars 20%
20
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
80
License 10%
100
Description 5%
100

Skill Content

# Project Card Canvas — 專案卡鏈的視覺化視圖家族 一個專案卡鏈可以生成**兩張 canvas、四種視圖**,全部是**生成式視圖** (每次重跑整張重建��節點 id 確定性——別手排;手排���用知識地圖 canvas): | 視圖 | 檔案 | 指令 | |---|---|---| | 時間線(git graph) | `<專案>.canvas` | `project_canvas.py --card <ENTRY>` | | 心智圖(沿用既有模式擴充) | `<專案>·脈絡心智圖.canvas` | `context_mindmap.py --card <ENTRY>` | | 心智圖 logs 模式(新建/切換) | 同上(共用檔) | `context_mindmap.py --card <ENTRY> --mode logs` | | 心智圖 chain 模式 | 同上(共用檔) | `context_mindmap.py --card <ENTRY> --mode chain` | | 心智圖 story 模式 | 同上(共用檔) | `context_mindmap.py --card <ENTRY> --mode story --graph <graph.json>` | 輸出資料夾=`<vault>/<projects>/Canvas/`(config `local.folders.project_canvas` 可覆蓋)。三種心智圖模式共用一個 canvas 檔(一專案一張脈絡圖);canvas 左上皆有色彩圖例節點。 **裸跑 `context_mindmap.py --card <ENTRY>`(不給 `--mode`)=就地擴充** 既有 canvas:讀 canvas 的**圖例節點文字**判斷它現在是哪個模式 (logs/chain/story——圖例每次 render 都重寫,必然反映當前模式)並用 **同模式**重生——生成式視圖的節點 id 是確定性的,重生本質上就是「加進 新內容、既有節點不動」,所以刷新永遠不會把 chain/story 卡洗回 logs。 偵測到是 story 卡時才自動接上同名 `.graph.json`(不用再手打 `--graph`); 反過來說,story 切成 chain/logs 後即使殘留舊 `.graph.json`,圖例已改、 不會被硬拉回 story。**沒有既有 canvas → logs**(首建);**明確給 `--mode X` =切換模式**(report 的 `extended` 欄:`true`=沿用擴充/ `false`=明確指定或首建)。 ## 怎麼選視圖 - **時間線**:想看「發生過什麼、哪些已蒸餾」——log 卡=commit 直欄 (由新到舊、時間往上流),entry=HEAD 指標(紫)**側貼在最新已蒸餾 (📗)log 那排**並以側向箭頭指向它——所以 HEAD 之上堆的就是還沒 蒸餾(📎)的 backlog,**蒸餾狀態由拓撲表達**(全未蒸餾=HEAD 沉到 欄底;無 log=entry 獨立一格)。顏色軸因此讓給機器來源: `--color-by origin`(預設:Mac=cyan/cluster=yellow;讀 log 卡的 `環境` 欄或回溯卡 `原段:📥 …` 行)或 `--color-by state`(📎橙/ 📗綠,與拓撲重複的舊軸);co...

Details

Author
SungFeng-Huang
Repository
SungFeng-Huang/research-cards
Created
3 weeks ago
Last Updated
today
Language
Python
License
MIT

Similar Skills

Semantically similar based on skill content — not just same category

Data & Documents Solid

project-card-log

From a project-wise session, find THIS project's Heptabase card and log progress as SELF-CONTAINED log cards — weekly reports to the project lead/mentor: each log event becomes its own card (前情提要 recap that needs no back-reading, what was done, results with explained metrics, what it means, decisions pending — no unexplained abbreviations), and the project chain only gains one human-readable timeline line (📎 date [[card]] one-sentence summary) — the chain stays a readable project timeline for handoff (to the user, to the Mac, to the paper side). Auto-resolves which card via a per-repo .heptabase-card marker, then a registry (projects.json), then search. Use when the user says 補卡 / 記實驗 / log progress / 記進度 / handoff 實驗進度 / update my Heptabase project card / 把進度寫進 Heptabase. Transport: local `heptabase` CLI when available (Mac), else the `hb` bridge (remote over SSH).

3 Updated today
SungFeng-Huang
AI & Automation Listed

flowchart

把一段流程、決策邏輯或既有程式碼/文件,轉成一張乾淨可渲染的 Mermaid 圖(預設 flowchart,必要時 sequence/state);每次都附上 mermaid.live 連結供使用者確認渲染結果。僅由使用者明確輸入 /flowchart 或明講「畫流程圖/畫成 Mermaid/把這個流程畫出來」時使用,不自動觸發。

0 Updated 5 days ago
lllloo
Data & Documents Solid

thesis-figure-skill

生成学术论文配图:LaTeX/TikZ 代码(结构化图表,直接嵌入论文)或 draw.io XML (技术路线图、汇报配图)。自动按论文领域风格设计,编译验证后交付。 Use when the user asks for: 论文配图、画架构图、画流程图、TikZ 图、draw.io 学术图、复刻论文图、tikz/latex diagram。

121 Updated 2 days ago
0xE1337