matter-workspace
ما الذي تفعله
تدير هذه المهارة مساحات عمل منفصلة لكل عميل أو ملف في أعمال الملكية الفكرية. وهي موجهة لمحامي الملكية الفكرية الذين يتعاملون مع عدة عملاء في وقت واحد.
متى تستخدمها
- ✓عندما تبدأ عملًا في الملكية الفكرية لعميل جديد.
- ✓عندما تحتاج إلى التبديل إلى ملف عميل آخر قبل مراجعة ملفاته.
- ✓عندما تغلق ملفًا منتهيًا وتريد أرشفته.
رابط المهارة
https://github.com/anthropics/claude-for-legal/blob/main/ip-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
/ip-legal:matter-workspace new <slug>— create a new matter workspace, run a short intake, writematter.md/ip-legal:matter-workspace list— list matters with status and active flag/ip-legal:matter-workspace switch <slug>— set the active matter/ip-legal:matter-workspace close <slug>— archive a matter (move to~/.claude/plugins/config/claude-for-legal/ip-legal/matters/_archived/, never delete)/ip-legal:matter-workspace none— detach from any active matter, work at practice-level only
Instructions
- Read
~/.claude/plugins/config/claude-for-legal/ip-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/ip-legal:cold-start-interview --redoand select a private-practice setting. Otherwise, you don't need/ip-legal:matter-workspaceat all." Don't error — the disabled state is the expected one for in-house users. - Follow the subcommand logic below.
- Dispatch on the first token of
$ARGUMENTS:new→ run the intake interview, write~/.claude/plugins/config/claude-for-legal/ip-legal/matters/<slug>/matter.md, seedhistory.mdandnotes.md.list→ enumerate~/.claude/plugins/config/claude-for-legal/ip-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/ip-legal/matters/<slug>/to~/.claude/plugins/config/claude-for-legal/ip-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>/.
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; instead it explains the disabled state and suggests /ip-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/ip-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-trademark-2026, zenith-dmca, novacorp-fto.
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)
- Counterparty (the other side — may be multiple; may be "unknown third-party infringer" for watch-
الأسئلة الشائعة
متى تلزم؟
تلزم أساسًا لممارسة خاصة متعددة العملاء. إن كانت مساحات العمل معطّلة، تعمل الإضافة على سياق الممارسة تلقائيًا.
هل تستطيع حذف ملف؟
لا. إغلاق الملف ينقله إلى مجلد الأرشيف ولا يحذفه أبدًا.
كيف أعمل دون ملف؟
يمكنك الفصل والعمل على مستوى الممارسة فقط.
التفاصيل
الوصف الأصلي من المؤلف
Manage matter workspaces — create, list, switch, close, or detach the active matter. Use in multi-client private practice to keep one client's context separate from another, or when a substantive skill needs to know which matter it's working in.
الشعبية
- نجوم GitHub
- 9.9k
- الترتيب
- #12104
- الترخيص
- 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 أو سحبها بناءً على طلبك، مع الاحتفاظ بسجل لما تغيّر.