/privacy-legal-uk:matter-workspace <new | list | switch | close | none> [slug]from Privacy Legal UK
Manages matter workspaces for multi-client practitioners: create, list, switch, close/archive, or detach to practice-level work. Keeps separate contexts per client or engagement.
Ships in Privacy Legal UK. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
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.
/privacy-legal-uk:matter-workspace new <slug> — create a new matter workspace, run a short intake, write matter.md/privacy-legal-uk:matter-workspace list — list matters with status and active flag/privacy-legal-uk:matter-workspace switch <slug> — set the active matter/privacy-legal-uk:matter-workspace close <slug> — archive a matter (move to ~/.claude/plugins/config/uk-legal-plugins/privacy-legal-uk/matters/_archived/, never delete)/privacy-legal-uk:matter-workspace none — detach from any active matter, work at practice-level only~/.claude/plugins/config/uk-legal-plugins/privacy-legal-uk/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 organisation, so the plugin works from practice-level context automatically. If you actually work across multiple clients (e.g., a law firm, DPO-as-a-service, privacy consultancy), re-run /privacy-legal-uk: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.$ARGUMENTS:
new → run the intake interview, write ~/.claude/plugins/config/uk-legal-plugins/privacy-legal-uk/matters/<slug>/matter.md, seed history.md and notes.md.list → enumerate ~/.claude/plugins/config/uk-legal-plugins/privacy-legal-uk/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/uk-legal-plugins/privacy-legal-uk/matters/<slug>/ to ~/.claude/plugins/config/uk-legal-plugins/privacy-legal-uk/matters/_archived/<slug>/, log the close date in history.md.none → set Active matter: to none — practice-level context only.Cross-matter context is on in the practice-level CLAUDE.md._archived/<slug>/.Multi-client practitioners (private practice — solo, small firm, large firm; DPO-as-a-service; privacy consultancy) 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 /privacy-legal-uk:cold-start-interview --redo for users who actually need matter isolation.
All matter data lives under:
~/.claude/plugins/config/uk-legal-plugins/privacy-legal-uk/
├── CLAUDE.md # practice-level practice profile
└── matters/
├── <slug>/
│ ├── matter.md # client, engagement, 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-dpia-2026, zenith-dsa-response, vendor-xyz-dpa, ico-enquiry-q4.
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.
new <slug>matters/<slug>/ or matters/_archived/<slug>/. If reused, ask the user to pick a different slug.matters/<slug>/matter.md using the template below.matters/<slug>/history.md with a single "Opened" entry.matters/<slug>/notes.md.<slug> now? (/privacy-legal-uk:matter-workspace switch <slug>)"listEnumerate matters/*/matter.md. Read each file's front-matter or first few lines to extract status. Print a table:
| Slug | Client | Matter type | Status | Opened | Active |
|---|
Mark the currently-active matter with *. Include _archived/* under a separate "Archived" heading if any exist.
switch <slug>matters/<slug>/matter.md exists. If not, offer /privacy-legal-uk:matter-workspace new <slug>.Active matter: line in the practice-level CLAUDE.md to Active matter: <slug>.close <slug>matters/<slug>/ exists.matters/<slug>/history.md with today's date.matters/<slug>/ → matters/_archived/<slug>/.Active matter: to none — practice-level context only.noneSet Active matter: in the practice-level CLAUDE.md to none — practice-level context only. Confirm with the user.
matter.md template[WORK-PRODUCT HEADER — per plugin config ## Outputs — differs by role; see `## Who's using this` in the practice-level CLAUDE.md]
# Matter: [Client] — [short description]
**Slug:** [slug]
**Opened:** [YYYY-MM-DD]
**Status:** active
**Confidentiality:** [standard / heightened / clean-team]
---
## Parties
**Client:** [name]
**Counterparty:** [name(s) — controller / processor / data subject / ICO]
## Matter type
[DPIA | DPA review | DSAR | ICO enquiry | privacy notice review | transfer mechanism review | personal data breach | Children's Code assessment | PECR compliance | reg-gap-analysis | other — with one-line rationale]
## UK regulatory context
[Which UK regimes are directly in scope for this matter: UK GDPR / DPA 2018 / PECR / NIS / OSA / Children's Code / sector-specific. Note if EU GDPR also applies.]
## Key facts
[2-5 sentences. What this matter is about. Who the stakeholders are. What's at stake. Any ICO involvement. What makes it different from the default playbook.]
## Matter-specific overrides
*Any deviation from the practice-level playbook that applies to this matter only.*
- [e.g., "Breach notification: client requires 48-hour notification to controller (stricter than playbook standard)."]
- [e.g., "Tone: relationship-preserving — counterparty is a strategic partner."]
- [e.g., "Governing law: English law."]
- [e.g., "PECR not in scope — B2B processing only."]
## Related matters
- [slug — one line why related]
## Notes on confidentiality
[If heightened or clean-team, describe why. Who may see matter files. Whether cross-matter context is permissible even if globally on. Note: ICO enquiry matters should generally be heightened.]
history.md seed# History: [Client] — [short description]
Append-only event log. Most recent at top.
---
## [YYYY-MM-DD] — Matter opened
Intake completed. Slug: `[slug]`. Status: active.
[Any initial context worth preserving beyond matter.md — e.g., "Opened in response to ICO information notice dated [date]." or "Opened for client DPIA re [processing activity]."]
The practice-level CLAUDE.md has a Cross-matter context: flag. When it's off (the default), a skill working in matter A never reads files in matters/B/ for any other B. This is the confidentiality guarantee the setting exists to provide.
When it's on, a skill may read files across matter folders only when the user explicitly asks (e.g., "compare our standard DPA position across the last five processor matters"). Even when on, the default is to load only the active matter unless the user asks for a cross-matter view.
Note for ICO enquiry matters: Cross-matter context should be off for any matter involving an ICO investigation or enforcement action. Information generated in response to one ICO enquiry should not accidentally surface in a different client's matter.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub uk-agents/uk-legal-plugins --plugin privacy-legal-uk9 skills in this plugin
/cold-start-interviewRun the cold-start interview — learns your UK data-protection practice and writes CLAUDE.md from your privacy notice, DPA template, and a reference DPIA. Use on first run, when CLAUDE.md is missing or has placeholders, or when the user says "set up the privacy plugin", "onboard me", "configure privacy", or wants to re-run the interview or re-check integrations.
/customizeGuided customisation of your UK privacy practice profile — change one thing without re-running the whole cold-start interview. Adjust risk posture, escalation contacts, DPA playbook, privacy notice commitments, DPIA house style, DSAR process, or matter workspace paths. Use when the user says "change my [thing]", "update my profile", "edit my playbook", or "customise".
/Other plugins' skills for the same job