Chuyển đến nội dung
Skillpedia
Công việc và dự án9.9k · #12054

matter-workspace

Skill này làm gì

Skill này quản lý một không gian làm việc riêng cho mỗi khách hàng hoặc hồ sơ, để chi tiết của khách này không lẫn với khách khác. Skill dành cho luật sư làm việc với nhiều khách hàng.

Khi nào nên dùng

  • ✓Khi bạn bắt đầu làm việc cho một khách hàng hoặc giao dịch mới.
  • ✓Khi bạn cần chuyển sang một khách hàng khác trước khi rà soát hợp đồng của họ.
  • ✓Khi bạn muốn đóng một hồ sơ cũ và giữ các file của nó trong kho lưu trữ.

Liên kết skill

https://github.com/anthropics/claude-for-legal/blob/main/commercial-legal/skills/matter-workspace/SKILL.md

Sao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.

Cách dùng

Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.

Tin nhắn có sẵn để dán

Hãy dùng skill này để giúp tôi: https://github.com/anthropics/claude-for-legal/blob/main/commercial-legal/skills/matter-workspace/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

Ví dụ cách nhờ AI

“Hãy tạo một không gian làm việc mới cho khách hàng Brightline của chúng tôi và chuyển sang đó.”

5 skill mới mỗi tuần. Đọc chỉ 1 phút.

Cách hoạt động

Skill giữ một thư mục cho mỗi hồ sơ, với ghi chú và cài đặt riêng. Nó chuyển hồ sơ đang hoạt động, liệt kê các hồ sơ kèm trạng thái, và lưu trữ những hồ sơ đã đóng thay vì xóa.

Nội dung kỹ thuật (SKILL.md gốc)

Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.

/matter-workspace

Practitioners work across multiple clients and matters. A matter workspace keeps one client or engagement's context separate from every other. This command manages those workspaces.

Subcommands

  • /commercial-legal:matter-workspace new <slug> — create a new matter workspace, run a short intake, write matter.md
  • /commercial-legal:matter-workspace list — list matters with status and active flag
  • /commercial-legal:matter-workspace switch <slug> — set the active matter
  • /commercial-legal:matter-workspace close <slug> — archive a matter (move to ~/.claude/plugins/config/claude-for-legal/commercial-legal/matters/_archived/, never delete)
  • /commercial-legal:matter-workspace none — detach from any active matter, work at practice-level only

Instructions

  1. Read ~/.claude/plugins/config/claude-for-legal/commercial-legal/CLAUDE.md — confirm the ## Matter workspaces section is populated. If Enabled is ✗, tell the user: "Matter workspaces are off — you're configured as an in-house practice with one client, so the plugin works from practice-level context automatically. If you actually work across multiple clients, re-run /commercial-legal:cold-start-interview --redo and select a private-practice setting. Otherwise, you don't need /matter-workspace at all." Don't error — the disabled state is the expected one for in-house users.
  2. Use the subcommand logic below.
  3. Dispatch on the first token of $ARGUMENTS:
    • new → run the intake interview, write ~/.claude/plugins/config/claude-for-legal/commercial-legal/matters/<slug>/matter.md, seed history.md and notes.md.
    • list → enumerate ~/.claude/plugins/config/claude-for-legal/commercial-legal/matters/*/matter.md, print a table, mark the active matter.
    • switch → update the Active matter: line in the practice-level CLAUDE.md.
    • close → move ~/.claude/plugins/config/claude-for-legal/commercial-legal/matters/<slug>/ to ~/.claude/plugins/config/claude-for-legal/commercial-legal/matters/_archived/<slug>/, log the close date in history.md.
    • none → set Active matter: to none — practice-level context only.
  4. Show the user what changed and confirm before writing.

Notes

  • The skill never reads across matters unless Cross-matter context is on in the practice-level CLAUDE.md.
  • Archiving is not deletion — closed matters remain readable for retention/conflicts purposes.
  • Slugs are lowercase with hyphens. If a slug is reused across archived and active, the archived one is preserved under _archived/<slug>/.

Multi-client practitioners (private practice — solo, small firm, large firm) work across many matters. Context from one must not leak into another. This skill is the thin file-management layer that makes that true.

Default state is off. In-house users never see this — they run at practice-level only. Matter workspaces turn on at cold-start for private-practice users, or by editing ## Matter workspaces in the practice-level CLAUDE.md. If Enabled is ✗, this skill does not run; the workflow above explains the disabled state and suggests /commercial-legal:cold-start-interview --redo for users who actually need matter isolation.

Storage layout

All matter data lives under:

~/.claude/plugins/config/claude-for-legal/commercial-legal/
├── CLAUDE.md                       # practice-level practice profile
└── matters/
    ├── <slug>/
    │   ├── matter.md               # client, counterparty, matter type, key facts, overrides
    │   ├── history.md              # dated log of events, decisions, drafts, reviews
    │   ├── notes.md                # free-form working notes
    │   └── outputs/                # skill outputs for this matter (optional subfolder)
    └── _archived/
        └── <slug>/                 # closed matters — readable but not active

Slugs are lowercase with hyphens. Examples: acme-msa-2026, zenith-renewal, vendor-xyz-nda.

Active matter is in the practice CLAUDE.md

The Active matter: line under ## Matter workspaces in the practice-level CLAUDE.md is the single source of truth. Switching a matter edits that line. No separate state file.

Subcommand logic

new <slug>

  1. Confirm slug is not already present in matters/<slug>/ or matters/_archived/<slug>/. If reused, ask the user to pick a different slug.
  2. Run the intake interview:
    • Client (the party we represent, or the internal business unit if in-hous
Câu hỏi thường gặp

Tôi có cần điều này nếu chỉ làm cho một công ty không?

Thường là không. Nếu không gian làm việc theo hồ sơ bị tắt, skill nói các công cụ đã tự làm việc theo ngữ cảnh cấp thực hành.

Nó có thể xóa một hồ sơ đã đóng không?

Không. Đóng hồ sơ là chuyển nó vào thư mục lưu trữ và không bao giờ xóa.

Làm sao để quay lại công việc chung?

Bạn có thể tách khỏi bất kỳ hồ sơ nào và chỉ làm việc ở cấp thực hành.

Chi tiết

Mô tả gốc của tác giả

Manage matter workspaces — new, list, switch, close, or detach (practice-level). Use when a multi-client practitioner needs to create a matter, switch the active matter, list matters, archive a matter, or detach to practice-level context, or when another skill needs to know which matter it's working in.

repo: anthropics/claude-for-legal

Độ phổ biến

Sao GitHub
9.9k
Vị trí xếp hạng
#12054
Giấy phép
Apache-2.0
Cập nhật
29/10/2026

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự