skills/area/SKILL.md
TwinMind area engine — manages Areas of ongoing responsibility (long-term focus domains with no end date). Use this skill when the user talks about a persistent life/work domain they want to track, like '健康管理', '職涯發展', '財務規劃', or when they want to group projects and cards under a theme. Triggers: '建立領域', 'create area', '新增 area', '停用 area', 'deactivate', '重新啟用', 'reactivate', '關聯到 area', 'link to area', '列出 areas', 'list areas', '關注領域', or any mention of ongoing responsibilities, life domains, or thematic grouping of projects. Important: Areas are different from Projects (which have end dates) and from card domains (which are metadata tags). An Area is a conscious commitment to track a life domain.
npx skillsauth add VolderLu/TwinMind areaInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Areas 代表持續關注的領域——沒有明確結束日期的長期責任或興趣(如「健康管理」「職涯發展」)。它們和 Projects 的區別在於:Project 完成後會歸檔,Area 則持續存在。Areas 提供跨專案的主題視角,幫助使用者看到不同專案和卡片之間的主題關聯。
每個 Area 存為 vault/PARA/Areas/<area-name>.md。
一致性驗證由 PostToolUse hooks 自動處理。狀態變更操作完成後透過 Bash tool 執行 node .claude/twinmind/bin/tm-post-op.mjs --layer action 觸發 post-op pipeline。唯讀查詢不需要。
透過 Bash tool 執行:
node .claude/twinmind/bin/tm-post-op.mjs --layer action --event '{"event_type":"<AREA_CREATED|AREA_DEACTIVATED|AREA_REACTIVATED|AREA_UPDATED|AREA_LINKED|AREA_UNLINKED>","event_context":{"area_name":"<name>","area_slug":"<slug>"}}'
腳本同步執行,執行完成後再回應使用者。
Frontmatter 必填欄位:name(人類可讀名稱)、description(一句話描述)、status(active/inactive)、created、updated、related_projects(陣列)、related_cards(陣列)。
Body 包含描述和兩個關聯區塊:## Related Projects(wikilinks)和 ## Related Cards(wikilinks)。
生成 kebab-case 英文檔名,檢查衝突。建立 .md 檔案,更新 PARA/Areas/_index.md 加 wikilink,更新 vault-index.json 的 areas 新增條目(status: active,空 related 陣列)。執行 post-op(Bash tool,node .claude/twinmind/bin/tm-post-op.mjs --layer action --event '...')。
Area 不刪除——只切換 status。停用的 Area 不出現在 Dashboard 的 active 區塊中,但檔案保留,隨時可重新啟用。這比刪除安全,因為 Area 的關聯資料(projects、cards)仍有參考價值。
停用:status → inactive。重新啟用:status → active。兩者都更新 index 和 updated 日期。執行 post-op(Bash tool,node .claude/twinmind/bin/tm-post-op.mjs --layer action --event '...')。
Areas 的價值在於連結——把分散的 Projects 和 Cards 收攏在同一個主題下。
關聯 Project:將 project 名加入 related_projects,在 ## Related Projects 追加 wikilink([[PARA/Projects/<name>/goal|<title>]]),更新 index。
關聯 Card:將 card ID 加入 related_cards,在 ## Related Cards 追加 wikilink([[Cards/<slug>|<title>]]),更新 index。
取消關聯為逆操作。重複關聯時回報「已關聯」。每次操作都執行 post-op(Bash tool,node .claude/twinmind/bin/tm-post-op.mjs --layer action --event '...')。
修改 description 等 metadata,更新 updated 日期和 index。執行 post-op(Bash tool,node .claude/twinmind/bin/tm-post-op.mjs --layer action --event '...')。
從 vault-index.json 讀取,按 active/inactive 分組顯示 name、projects 數、cards 數。查看詳情時讀取 area 檔案顯示完整資訊。唯讀操作,不需 post-op。空態:「目前沒有關注領域」。
testing
TwinMind task engine — manages standalone tasks (life chores, errands, quick todos). Use this skill when the user mentions a simple, concrete thing they need to do that doesn't belong to any project or action. Classic triggers: short imperative sentences like '買牛奶', '繳電費', '回覆 email', '預約牙醫', or explicit task operations like '加個待辦', 'add task', 'task done', '完成 task', '刪除 task', 'delete task', '列出 tasks', 'list tasks', '待辦清單'. The distinguishing feature of a standalone task is that it's too small for an Action and not tied to any project. If the user mentions a project name, route to twinmind:project. If it's a multi-step endeavor, consider twinmind:action instead.
tools
Initialize a new TwinMind vault in the current directory. Creates TwinMind.md configuration and vault directory structure from templates. Use when starting a fresh knowledge vault or setting up TwinMind in a new project.
development
Classifies user knowledge-base input into one of 9 intent categories (capture, inbox, query, project, action, task, area, review, connect) using signal words, priority rules, compound intent handling, and fuzzy fallback matching. Invoke BEFORE dispatching to any twinmind:* skill when the user provides knowledge-base input. Do NOT skip this step — the session startup skeleton only has a summary table; this skill has the complete rules needed for accurate classification.
development
TwinMind review and maintenance engine. Use for vault health checks, seed card review, index verification/rebuild, MOC management, and vault status summaries. Triggers on: 'vault status', '知識庫狀況', 'health report', '健康報告', 'verify index', '檢查索引', 'rebuild index', '重建索引', 'review seeds', '有哪些 seed', 'update MOC', or any request about knowledge base maintenance and overview.