matter-workspace
ما الذي تفعله
تدير هذه المهارة مساحات عمل منفصلة لكل موكل أو قضية في ممارسة التقاضي. وهي مخصصة للمحامين الذين يعملون مع عدة موكلين في وقت واحد.
متى تستخدمها
- ✓عندما تبدأ العمل على موكل جديد أو قضية جديدة.
- ✓عندما تحتاج إلى التبديل إلى قضية موكل آخر قبل العمل عليها.
- ✓عندما تريد أرشفة قضية منتهية.
رابط المهارة
https://github.com/anthropics/claude-for-legal/blob/main/litigation-legal/skills/matter-workspace/SKILL.mdانسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.
طريقة الاستخدام
أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.
رسالة جاهزة للصق
لـ Claude Code أو Codex أو Cursor: شغّله داخل مجلد مشروعك وستُثبَّت المهارة.
نزّل ملف SKILL.md وضعه في مجلد مهارات وكيلك.
مثال على ما تطلبه من الذكاء الاصطناعي
“بدّل إلى قضية هاربر لوجستيكس، حتى تستخدم مراجعتي القادمة سياقها وحده.”
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 command manages those workspaces.
Subcommands
/litigation-legal:matter-workspace new <slug>— create a new matter workspace, run a short intake, writematter.md/litigation-legal:matter-workspace list— list matters with status and active flag/litigation-legal:matter-workspace switch <slug>— set the active matter/litigation-legal:matter-workspace close <slug>— archive a matter (move to~/.claude/plugins/config/claude-for-legal/litigation-legal/matters/_archived/, never delete)/litigation-legal:matter-workspace none— detach from any active matter, work at practice-level only
Note: /litigation-legal:matter-briefing [slug] (no subcommand) is a separate command that produces a briefing on a specific matter — useful for in-house portfolio review. Matter workspace management lives here.
Instructions
- Read
~/.claude/plugins/config/claude-for-legal/litigation-legal/CLAUDE.md— confirm the## Matter workspacessection is populated. IfEnabledis✗, 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/litigation-legal:cold-start-interview --redoand select a private-practice setting. Otherwise, you don't need/matter-workspaceat all." Don't error — the disabled state is the expected one for in-house users. - Follow the workflow and reference below.
- Dispatch on the first token of
$ARGUMENTS:new→ run the intake interview, write~/.claude/plugins/config/claude-for-legal/litigation-legal/matters/<slug>/matter.md, seedhistory.mdandnotes.md.list→ enumerate~/.claude/plugins/config/claude-for-legal/litigation-legal/matters/*/matter.md, print a table, mark the active matter.switch→ update theActive matter:line in the practice-level CLAUDE.md.close→ move~/.claude/plugins/config/claude-for-legal/litigation-legal/matters/<slug>/to~/.claude/plugins/config/claude-for-legal/litigation-legal/matters/_archived/<slug>/, log the close date inhistory.md.none→ setActive matter:tonone — practice-level context only.
- Show the user what changed and confirm before writing.
Notes
- The skill never reads across matters unless
Cross-matter contextisonin 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>/.
Matter Workspace
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 /matter-workspace skill explains the disabled state and suggests /cold-start-interview --redo for users who actually need matter isolation.
Storage layout
All matter data lives under:
~/.claude/plugins/config/claude-for-legal/litigation-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>
- Confirm slug
الأسئلة الشائعة
هل تحتاج إليها في العمل الداخلي مع شركة واحدة؟
غالبًا لا. إذا كانت مساحات القضايا معطلة، تعمل الإضافة من سياق مستوى الممارسة تلقائيًا.
هل تستطيع حذف قضية؟
لا. إغلاق القضية يؤرشفها ويحفظ سجلها.
ما الفرق بينها وبين إحاطة القضية؟
هذه المهارة تدير مساحات العمل، بينما تقرأ إحاطة القضية قضية واحدة وتلخصها.
التفاصيل
الوصف الأصلي من المؤلف
Manage matter workspaces for multi-client practices — create, list, switch, close, or detach the active matter. Use when the user wants to create a new matter workspace, switch the active matter, list matters, archive a matter, or work at practice-level only without an active matter.
الشعبية
- نجوم GitHub
- 9.9k
- الترتيب
- #12159
- الترخيص
- Apache-2.0
- آخر تحديث
- 29/10/2026
التعليقات
- …
المزيد من المهارات من هذا المستودع
ai-inventory
9.9kيساعد وكيلك على مسك سجل لكل نظام من أنظمة الذكاء الاصطناعي بموجب EU AI Act، يسجّل دور كل نظام ومستوى مخاطره وأساس تصنيفه.
aia-generation
9.9kيساعد وكيلك على كتابة تقييم منظم لأثر الذكاء الاصطناعي لحالة استخدام، يغطي المخاطر والتصنيف التنظيمي وملاءمة السياسة والشروط الموصى بها.
cold-start-interview
9.9kيساعد وكيلك على فهم طريقة عمل ممارستك في حوكمة الذكاء الاصطناعي عبر مقابلة إعداد، وبناء ملف للممارسة من مستندات سياستك.
customize
9.9kيساعد وكيلك على تعديل جزء واحد من ملف ممارسة حوكمة الذكاء الاصطناعي، مثل مستوى المخاطرة أو جهات الاتصال أو مواقف السياسة، دون إعداد كامل.
مهارات مشابهة
knowledge-capture
394kتعلّم وكيلك حفظ القرارات والتفضيلات والحقائق المهمة في خزنة Knowledge كملاحظات قصيرة مع ذكر المصدر.
knowledge-claim-consolidation
394kيساعد وكيلك على تنظيم خزنة Knowledge بدمج الإفادات المكررة ونقلها إلى صفحات موضوعاتها الصحيحة، وإلغاء ما أصبح قديماً.
knowledge-correct
394kيتيح لوكيلك تصحيح إفادة أو صفحة محفوظة محددة في Knowledge أو سحبها بناءً على طلبك، مع الاحتفاظ بسجل لما تغيّر.