Skillpedia
المهام والمشاريع9.9k · #12072

matter-workspace

ما الذي تفعله

تدير هذه المهارة مساحة عمل منفصلة لكل عميل أو ملف، حتى لا تختلط ملفات كل ملف بغيره. وهي موجهة للمحامين الذين يعالجون عدة ملفات في الوقت نفسه.

متى تستخدمها

  • ✓عندما تبدأ العمل على ملف جديد لعميل.
  • ✓عندما تحتاج إلى تبديل الملف النشط قبل العمل على المستندات.
  • ✓عندما تريد أرشفة ملف منتهٍ.

رابط المهارة

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

انسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.

طريقة الاستخدام

أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.

رسالة جاهزة للصق

استخدم هذه المهارة لمساعدتي: https://github.com/anthropics/claude-for-legal/blob/main/corporate-legal/skills/matter-workspace/SKILL.md اقرأ ملف SKILL.md في هذا الرابط ونفّذ تعليماته لمهمتي.
تريد أن يجد الذكاء الاصطناعي مهارات مثل هذه بنفسه؟ثبّت خادم Skillpedia MCP المجاني: سطر واحد، ويبحث في 15,000+ مهارة قبل كل مهمة.ثبّته في دقيقة واحدة →

مثال على ما تطلبه من الذكاء الاصطناعي

“انتقل إلى ملف Falcon، حتى تستخدم مراجعتي التالية سياق هذا الملف فقط.”

5 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.

كيف تعمل

تحتفظ المهارة بمجلد وإعدادات منفصلة لكل ملف، وتتيح لك تبديل الملف النشط، وتؤرشف الملفات المغلقة بدلًا من حذفها.

المحتوى التقني (ملف 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

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

Instructions

  1. Read ~/.claude/plugins/config/claude-for-legal/corporate-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 /corporate-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/corporate-legal/matters/<slug>/matter.md, seed history.md and notes.md.
    • list → enumerate ~/.claude/plugins/config/claude-for-legal/corporate-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/corporate-legal/matters/<slug>/ to ~/.claude/plugins/config/claude-for-legal/corporate-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; /corporate-legal:matter-workspace explains the disabled state and suggests /corporate-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/corporate-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-house)
الأسئلة الشائعة

هل أحتاج إلى مساحات عمل للملفات إذا كنت أعمل داخل الشركة؟

غالبًا لا. إذا كانت معطّلة، تعمل الأدوات على سياق الممارسة تلقائيًا.

هل يستطيع حذف ملف؟

لا. إغلاق الملف ينقله إلى مجلد الأرشيف.

كيف أتوقف عن استخدام ملف؟

يمكنك الفصل والعمل على مستوى الممارسة فقط، دون ملف نشط.

التفاصيل

الوصف الأصلي من المؤلف

Manage matter workspaces — create, list, switch, close, or detach the active matter so multi-client practitioners keep one client's context separate from every other. Read by any substantive skill that needs to know what matter it's working in. Use when user says "new matter", "switch matter", "list matters", "close matter", or wants to work at practice-level only.

repo: anthropics/claude-for-legal

الشعبية

نجوم GitHub
9.9k
الترتيب
#12072
الترخيص
Apache-2.0
آخر تحديث
29‏/10‏/2026

هل هذه المهارة مفيدة؟

0

سجّل الدخول للتصويت.

التعليقات

  • …

المزيد من المهارات من هذا المستودع

مهارات مشابهة