Перейти к содержанию
Skillpedia
Задачи и проекты9.9k · #12044

matter-workspace

Что он делает

Этот скилл управляет отдельными рабочими пространствами для каждого клиента или дела. Он нужен юристам и консультантам, которые работают с несколькими клиентами и должны держать их контекст раздельно.

Когда использовать

  • ✓Когда вы начинаете работу с новым клиентом и хотите для него отдельное рабочее пространство.
  • ✓Когда вы переключаетесь между клиентами и нужно загрузить правильный контекст.
  • ✓Когда дело завершено и вы хотите его архивировать, ничего не удаляя.

Ссылка на скилл

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

Скопируйте и вставьте её в ваш ИИ (Claude, ChatGPT или Cursor) с просьбой следовать инструкциям.

Как использовать

Самый простой способ: скопируйте сообщение и вставьте его в свой ИИ. Он прочитает скилл и выполнит инструкции.

Готовое сообщение для вставки

Используй этот скилл, чтобы помочь мне: https://github.com/anthropics/claude-for-legal/blob/main/ai-governance-legal/skills/matter-workspace/SKILL.md Прочитай файл SKILL.md по этой ссылке и следуй его инструкциям в моей задаче.
Хотите, чтобы ваш ИИ сам находил такие скиллы?Установите бесплатный MCP Skillpedia: одна строка, и перед каждой задачей он ищет среди 15 000+ скиллов.Установить за 1 минуту →

Пример запроса к вашему ИИ

“Создай новое рабочее пространство дела для нашего клиента Acme и переключись на него.”

5 новых скиллов в неделю. 1 минута чтения.

Как это работает

Скилл ведёт файл matter.md для каждого рабочего пространства и записывает, какое из них активно. Переключение меняет контекст, который используют другие скиллы, а закрытие архивирует папку вместо её удаления.

Технический текст (оригинальный SKILL.md)

Оригинальный текст автора на английском, прямо с GitHub.

/matter-workspace

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

Subcommands

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

Instructions

  1. Read ~/.claude/plugins/config/claude-for-legal/ai-governance-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 /ai-governance-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 workflow below.
  3. Dispatch on the first token of $ARGUMENTS:
    • new → run the intake interview, write ~/.claude/plugins/config/claude-for-legal/ai-governance-legal/matters/<slug>/matter.md, seed history.md and notes.md.
    • list → enumerate ~/.claude/plugins/config/claude-for-legal/ai-governance-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/ai-governance-legal/matters/<slug>/ to ~/.claude/plugins/config/claude-for-legal/ai-governance-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 /ai-governance-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/ai-governance-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 i
Частые вопросы

Нужно ли это внутренним командам?

Скилл говорит, что рабочие пространства дел по умолчанию выключены для внутренних практик, которые работают на уровне практики.

Удаляет ли закрытие дело?

Нет. Скилл переносит закрытые дела в папку архива и никогда их не удаляет.

Можно ли работать без активного дела?

Да. В скилле есть вариант none для работы только на уровне практики.

Подробности

Оригинальное описание автора

Manage matter workspaces — new, list, switch, close, or detach (practice-level). File-management logic for keeping one client or engagement's context separate from every other. Use when working across multiple clients or matters, when the user says "new matter", "switch matter", "list matters", "close matter", or when any substantive skill needs to know which matter it's working in.

repo: anthropics/claude-for-legal

Популярность

Звёзды на GitHub
9.9k
Место в рейтинге
#12044
Лицензия
Apache-2.0
Обновлён
29.10.2026

Полезен ли этот скилл?

0

Войдите , чтобы голосовать.

Комментарии

  • …

Другие скиллы из этого репозитория

Похожие скиллы