matter-workspace
ما الذي تفعله
تحتفظ هذه المهارة بملاحظات كل قضية منتج وسياقها في مجلدها الخاص. وهي مخصصة لمستشاري المنتج الذين يتابعون عدة إطلاقات أو عملاء.
متى تستخدمها
- ✓عندما تبدأ العمل على إطلاق جديد وتحتاج إلى مساحة عمل منفصلة له.
- ✓عندما تريد التحول من قضية منتج إلى أخرى.
- ✓عندما تحتاج قضية إطلاق منتهية إلى الأرشفة.
رابط المهارة
https://github.com/anthropics/claude-for-legal/blob/main/product-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 skill manages those workspaces.
Subcommands
/product-legal:matter-workspace new <slug>— create a new matter workspace, run a short intake, writematter.md/product-legal:matter-workspace list— list matters with status and active flag/product-legal:matter-workspace switch <slug>— set the active matter/product-legal:matter-workspace close <slug>— archive a matter (move to~/.claude/plugins/config/claude-for-legal/product-legal/matters/_archived/, never delete)/product-legal:matter-workspace none— detach from any active matter, work at practice-level only
Instructions
- Read
~/.claude/plugins/config/claude-for-legal/product-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/product-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. - Apply the storage layout and subcommand logic below.
- Dispatch on the first token of
$ARGUMENTS:new→ run the intake interview, write~/.claude/plugins/config/claude-for-legal/product-legal/matters/<slug>/matter.md, seedhistory.mdandnotes.md.list→ enumerate~/.claude/plugins/config/claude-for-legal/product-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/product-legal/matters/<slug>/to~/.claude/plugins/config/claude-for-legal/product-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
- This 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 command 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/product-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 is not already present in
matters/<slug>/ormatters/_archived/<slug>/. If reused, ask the user to pick a different slug. - Run the intake interview:
- Client (the party we represent, or the internal business unit if in-house)
الأسئلة الشائعة
هل يحذف إغلاق القضية إياها؟
لا. تُنقل القضية المغلقة إلى مجلد الأرشيف.
هل هي مفيدة لفريق داخلي؟
غالبًا لا. مساحات القضايا معطلة افتراضيًا في الإعدادات الداخلية، وتوضح المهارة ذلك.
هل أستطيع العمل دون اختيار قضية؟
نعم. يمكنك الانفصال عن قضية والعمل على مستوى الممارسة.
التفاصيل
الوصف الأصلي من المؤلف
Manage matter workspaces — new, list, switch, close, or detach (practice-level). Use when working across multiple clients or matters in private practice and you need to create, list, switch, close, or detach the active matter so context from one engagement doesn't leak into another.
الشعبية
- نجوم GitHub
- 9.9k
- الترتيب
- #12179
- الترخيص
- 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يساعد وكيلك على تعديل جزء واحد من ملف ممارسة حوكمة الذكاء الاصطناعي، مثل مستوى المخاطرة أو جهات الاتصال أو مواقف السياسة، دون إعداد كامل.
مهارات مشابهة
blucli
394kيساعد وكيلك على البحث عن مكبرات Bluesound وNAD وتشغيلها وإيقافها وتجميعها وضبط مستوى صوتها عبر الأمر blu.
camsnap
394kيساعد وكيلك على التقاط صور لقطية أو مقاطع قصيرة أو أحداث حركة من كاميرات الشبكة وكاميرات الويب المحلية التي أعددتها.
eightctl
394kيساعد وكيلك على فحص وحدة Eight Sleep والتحكم فيها، بما في ذلك درجة حرارتها ومنبهاتها وجداول النوم.