From commercial-legal
Manages matter workspaces for multi-client legal practitioners: create, list, switch, close, or detach from matters to isolate client contexts and prevent cross-matter leakage.
How this skill is triggered — by the user, by Claude, or both
Slash command
/commercial-legal:matter-workspace <new | list | switch | close | none> [简称]<new | list | switch | close | none> [简称]The summary Claude sees in its skill listing — used to decide when to auto-load this skill
多客户执业者跨多个客户和事项工作。事项工作区将一个客户或委托的上下文与其他客户或委托隔离开来。本命令管理这些工作区。
多客户执业者跨多个客户和事项工作。事项工作区将一个客户或委托的上下文与其他客户或委托隔离开来。本命令管理这些工作区。
/commercial-legal:matter-workspace new <slug> — 创建新事项工作区,运行简短收案访谈,写入 matter.md/commercial-legal:matter-workspace list — 列出事项及其状态/commercial-legal:matter-workspace switch <slug> — 设置当前事项/commercial-legal:matter-workspace close <slug> — 归档事项(移至 _archived/,绝不删除)/commercial-legal:matter-workspace none — 脱离任何当前事项,纯业务领域级工作## 事项工作区 部分已填充。如果 Enabled 为 ✗,告知用户事项工作区已关闭——适用于仅服务一家公司的企业法务用户。不要报错——关闭状态是企业法务用户的预期状态。跨事项上下文 为 on,技能绝不跨事项读取文件。_archived/<slug>/ 下。多客户执业者(私人执业——个人执业、小型律所、大型律所)跨多个事项工作。一个事项的上下文不得泄露至另一个事项。
默认状态为关闭。 企业法务用户永远不会看到——他们仅以业务领域级别运行。事项工作区在冷启动时为私人执业用户开启,或通过编辑审查指引中的 ## 事项工作区 开启。
所有事项数据位于:
~/.claude/plugins/config/claude-for-legal-zh/commercial-legal/
├── CLAUDE.md # 业务领域级审查指引
└── matters/
├── <slug>/
│ ├── matter.md # 客户、对方当事人、事项类型、关键事实、覆盖规则
│ ├── history.md # 日期化的事件日志
│ ├── notes.md # 自由形式的工作笔记
│ └── outputs/ # 事项的技能输出(可选子文件夹)
└── _archived/
└── <slug>/ # 已关闭的事项——可读但非当前
new <slug>matters/<slug>/matter.md。history.md。notes.md。list列举 matters/*/matter.md。打印表格。标记当前事项为 *。
switch <slug>matters/<slug>/matter.md 存在。Active matter: 行。close <slug>history.md。_archived/。Active matter: 为 none。none设置 Active matter: 为 none。与用户确认。
当 Cross-matter context: 为 off(默认)时,在事项A中工作的技能绝不读取事项B的文件。当为 on 时,技能仅在用户明确要求时跨事项读取。
npx claudepluginhub cslawyer1985/claude-for-legal-zh --plugin commercial-legalCreates, switches, closes, lists, or exits client matter workspaces for multi-client practitioners. Use when managing isolated contexts for different clients or matters, or when other skills need to know the active matter.
Creates, lists, switches, closes, or clears legal matter workspaces to isolate client context for multi-client practitioners.
Manages matter workspaces for multi-client legal practitioners: create, list, switch, close, or detach active matters to isolate client contexts.