Aller au contenu
Skillpedia
Tâches et projets9.9k · #12054

matter-workspace

Ce qu’il fait

Cette compétence gère un espace de travail distinct pour chaque client ou dossier, pour que les informations d'un client ne se mélangent pas à celles d'un autre. Elle s'adresse aux avocats qui travaillent pour plusieurs clients.

Quand l’utiliser

  • ✓Quand vous commencez un travail pour un nouveau client ou une nouvelle mission.
  • ✓Lorsque vous devez changer de client avant de revoir ses contrats.
  • ✓Lorsque vous voulez clore un ancien dossier et conserver ses fichiers dans une archive.

Lien du skill

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

Copiez-le et collez-le dans votre IA (Claude, ChatGPT ou Cursor) en lui demandant de suivre les instructions.

Comment l’utiliser

Le plus simple : copiez le message et collez-le dans votre IA. Elle lit le skill et suit les instructions.

Message prêt à coller

Utilise ce skill pour m’aider : https://github.com/anthropics/claude-for-legal/blob/main/commercial-legal/skills/matter-workspace/SKILL.md Lis le fichier SKILL.md de ce lien et suis ses instructions pour ma tâche.
Envie que votre IA trouve seule des skills comme celui-ci ?Installez le MCP gratuit de Skillpedia : une ligne, et elle cherche parmi 15 000+ skills avant chaque tâche.Installer en 1 minute →

Exemple de demande à votre IA

“Crée un nouvel espace de travail pour notre client Brightline et passe dessus.”

5 nouveaux skills par semaine. 1 minute de lecture.

Comment ça marche

La compétence conserve un dossier pour chaque client, avec ses propres notes et paramètres. Elle change le dossier actif, liste les dossiers avec leur statut et archive les dossiers clos au lieu de les supprimer.

Contenu technique (SKILL.md original)

Texte original de l’auteur, en anglais, directement depuis 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 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
Questions fréquentes

En ai-je besoin si je travaille pour une seule entreprise ?

En général non. Si les espaces par dossier sont désactivés, la compétence indique que les outils fonctionnent déjà avec le contexte au niveau de la pratique.

Peut-elle supprimer un dossier clos ?

Non. Clore un dossier le déplace vers un dossier d'archive, sans jamais le supprimer.

Comment revenir au travail général ?

Vous pouvez vous détacher de n'importe quel dossier et travailler uniquement au niveau de la pratique.

Détails

Description originale de l’auteur

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

Popularité

Étoiles GitHub
9.9k
Position au classement
#12054
Licence
Apache-2.0
Mis à jour
29/10/2026

Ce skill vous est-il utile ?

0

Connectez-vous pour voter.

Commentaires

  • …

Autres skills de ce dépôt

Skills similaires