/twinmind:projectfrom twinmind
Manages project lifecycle (create, pause, resume, complete, archive) and project-scoped actions/tasks with progress logging and card linking.
Ships in twinmind. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
管理知識庫中的專案——從建立到歸檔的完整生命週期。專案是行動導向的容器,將相關卡片組織在共同目標下。與卡片(知識)不同,專案有明確的開始和結束。
一致性驗證由 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":"<PROJECT_CREATED|PAUSED|RESUMED|COMPLETED|ARCHIVED|...>","event_context":{"project_id":"<name>","project_title":"<title>"}}'
腳本同步執行,執行完成後再回應使用者。
所有生命週期操作的完整步驟程序(含狀態轉換表、檔案結構、卡片關聯、Action/Task 管理),請讀取 references/project-lifecycle.md。
建立專案:建立 PARA/Projects/<name>/ 目錄,含 goal.md(frontmatter + 目標描述)、log.md、actions.md、tasks.md。更新 PARA/Projects/_index.md 和 vault-index.json 的 projects(含 actions: []、tasks_total: 0、tasks_done: 0)。
暫停 / 恢復:驗證狀態轉換合法(見 references/project-lifecycle.md 狀態轉換表),更新 goal.md frontmatter 和 vault-index.json。
完成:驗證狀態轉換合法,更新 goal.md 加 completed: <date>。觸發反思鉤——主動詢問使用者「做完這個專案你有什麼收穫或教訓?要建卡嗎?」。使用者回答則調用 twinmind:capture 建卡(source 指向 goal.md),使用者拒絕則跳過。反思鉤是 opt-out 設計。
歸檔:移動至 PARA/Archive/<name>/(含所有檔案:goal.md、log.md、actions.md、tasks.md),從 projects 索引移除。非 completed 狀態需確認。
連結/取消連結卡片:更新卡片 frontmatter 的 related_projects 和 vault-index.json 的 card_refs。
進度紀錄:向 log.md 追加日期區塊。任何狀態皆可紀錄。
新增 Action:在 PARA/Projects/<name>/actions.md 追加 H2 區塊(含 status: active、created、description),更新 vault-index.json 的 projects[name].actions 陣列。
完成 Action:將 actions.md 中對應 H2 區塊的 status 改為 done、填入 completed 日期。觸發反思鉤——同完成專案流程。更新 vault-index.json。
列出 Actions:讀取 actions.md 顯示所有 action 的標題和狀態。
新增 Task(專案直屬):在 PARA/Projects/<name>/tasks.md 追加 - [ ] <description>。更新 vault-index.json 的 projects[name].tasks_total。
新增 Task(Action 內):在 actions.md 中對應 action 的 ### Tasks 區塊追加 checklist item。更新 vault-index.json 的 action tasks_total 和 project tasks_total。
完成 Task:將 [ ] 改為 [x],追加完成日期。更新 vault-index.json 的 tasks_done。
刪除 Task:移除 checklist 行。更新 vault-index.json 的 tasks_total。
所有查詢從 vault-index.json 的 projects 執行,不掃描檔案。
列出所有專案:依狀態分組(active → paused → completed),顯示名稱、狀態、card_refs、action 數、task 進度。空態:「目前沒有專案」。
依狀態篩選:篩選 active/paused/completed。
查看詳情:讀取 goal.md + log.md + actions.md + tasks.md,顯示標題、狀態、截止日、目標、最近 5 筆進度、關聯卡片數、action 列表、task 進度。
What SKILL.md sets; muted values are Claude Code's defaults
13 skills in this plugin
/actionTwinMind action engine — manages standalone actions that aren't tied to any project. Use this skill when the user describes something they want to do that has a clear scope but doesn't belong to a project. Triggers: '建立行動', 'create action', '新增 action', '完成 action', 'action done', '做完了', '列出 actions', 'list actions', '升格為專案', 'promote to project', or when the user describes an executable goal like '研究 X', '設定 Y', '整理 Z'. Also use when the user says an action is getting too big and needs to become a project. Important: if the user mentions a specific project name, route to twinmind:project instead — that skill handles project-scoped actions./areaTwinMind 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./captureTwinMind card engine. Use this whenever the user shares a thought, idea, knowledge, question, or source reference that should be captured as a card. Also handles card updates and deletions. Covers the full lifecycle: type classification, duplicate detection, card creation, automatic link inference to existing cards, and index updates. If the user says something that looks like knowledge worth remembering — this is the skill to use. For vague or unformed thoughts, route to twinmind:inbox instead./connectTwinMind link engine for manual connections. Use when the user explicitly asks to link or unlink two specific cards (e.g. '把 X 和 Y 連起來', 'link X to Y', 'disconnect X from Y'). Handles relationship type classification, bidirectional link writing, and index updates. Not for automatic link inference during card creation — that's handled by twinmind:capture./enrichTwinMind card enrichment engine. Use this whenever the user wants to deepen, expand, or intellectually complete an existing vault card. Triggers on: 'enrich {card}', 'enrich {card} → growing', '完善 {card}', '深化 {card}', '把 {card} 發展成 growing', '補充 {card} 的概念', 'expand {card}', '讓 {card} 更完整'. The user provides only the card name and optional focus hints — the AI autonomously identifies content gaps and generates comprehensive content across six dimensions: concept explanation, origin/story, examples, related terms (abstraction/lateral/decomposition), practical applications, and common misconceptions vs counter-intuitive insights. Always use this skill when the user wants a card to grow intellectually, not just receive new facts./inboxTwinMind inbox engine — the safety net for half-formed thoughts. Use this skill whenever the user shares something vague, unstructured, or not yet ready to become a Card, Action, Task, or Project. Classic triggers: '突然想到...', '隨手記一下', '有個想法但還不確定', 'inbox', '升格', 'promote', 'dismiss', '清理 inbox', 'triage', '待處理'. Also use this when the user's input is ambiguous — if you can't tell whether it's knowledge, a task, or an action, it belongs in the Inbox. The key question: does the user know what this should become? If not → Inbox. Important: do NOT use this for inputs that are already clear — a fact goes to twinmind:capture, '買牛奶' goes to twinmind:task, a scoped action goes to twinmind:action.npx claudepluginhub volderlu/twinmind --plugin twinmindOther plugins' skills for the same job