platform-dsar-policy-manage
Set up, edit, run, and audit a customer's personal-data portability map (DsarPolicy / Right-to-Portability export). Use for choosing subject roots…
от forcedotcom★ 1 200 звёзд на GitHub
Установить platform-dsar-policy-manage в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
platform-dsar-policy-manage: DsarPolicy Right to Portability, end to end
Operate a DsarPolicy — the metadata driving a Right-to-Portability (RTP) export — across
its lifecycle: configure the tree, run an export, audit runs. A DsarPolicy is a
read/export map: it names which of a subject's records an export collects. It never deletes
anything. The value here is judgment, not XML plumbing.
FIRST LINE OF EVERY RESPONSE — do not narrate the skill. Your first output token is work or the answer, never a play-by-play. Do not open with "This is a coverage-gap audit / Workflow D…", "Let me read the skill's guide/mechanics…", "Per rule #1…", or "Let me discover the SOR…". Don't name the workflow, announce which reference files you're about to read, or describe your method before doing it — just start doing it (call the tool) and, when done, present the result. This is load-bearing call #8, stated up front because it governs your very first token. A plain-language sentence about the user's data/org is fine; a sentence about the skill, its workflows, rules, tools, or files is not.
Load-bearing calls (get these right or the task fails)
These override any leading phrasing in the request. Read them first, every time. Call #1 is the
literal first action of every task — before you pick a workflow, before any sf command.
- Route through the SOR tool FIRST — before any
sf/endpoint call, no exceptions. The very first action of every task here — including a trivial read-only "does a policy exist / list the policies" lookup — is to scan this run's available tools for a capability-routing tool exposing discover / describe / dispatch verbs (project-codey / Headless 360 today; any host prefix such asmcp__<host>__discover; match the verb shape, not a fixed name). If one is present, that is the entry move:discover → describe → dispatchtheDsarPolicyManagerSOR (owner Privacy Center;isActivegates execute/edit/delete) and reject look-alikes (data mask, generic consent, subject erasure). Do not reach forsffirst — grabbingsfon reflex because the task "looks like a quick lookup" is the top recurring miss, and it is wrong even when it would work.sfis the fallback only when no routing tool is in reach (checkingsf org listto see which orgs are authenticated locally is fine — that is a client-side auth check, not a SOR call). Everysfcommand shown in the workflows below is the no-routing-tool spelling; when the routing tool is present, dispatch the equivalent operation through it instead. Detail:references/headless-sor.md. - Export, never erasure. A run produces an export file; it does not erase/redact/delete the subject. If the request frames it as deletion ("remove them", "erase", "clear out"), correct that first and never report the subject as erased. Erasure is a separate mechanism — if that's the goal, say so and stop. You may still export if authorization is clear, after correcting the premise.
- Do not guess personal data. Which objects/relationships hold the subject's data is the admin's classification call. If the request delegates it ("figure out what counts", "wire the whole thing up"), do not author a guessed tree — enumerate the decisions the admin must make (roots; per-relationship follow/stop; fields), mark any proposal pending admin disposition. An over-broad guess exports other people's records.
- Caps are hard — name the cap and stop; don't graph-walk. Tree caps: 10 children/path, depth 10, 200 nodes. An unbounded request ("everything", "the whole graph") cannot fit. Do not enumerate the object graph to "try" (never finishes, burns the turn). Name the specific cap exceeded and offer a bounded alternative (split policies, prune branches). Never silently truncate.
- Poll a couple of times, then ask — don't block on terminal. The run handle serves status
and file. An early getfile returns
NOT_FOUND/"This file isn't ready yet"— the contract working, not a failure. Poll ≈2–3×; if still not terminal, stop and ask the user whether to keep polling — don't loop. A run can sit non-terminal indefinitely on downstream async processing — platform / Tool Factory territory, not this skill's to diagnose or reach into; report status in plain terms (running / completed / errored) and let the user decide. Never download before terminal. A failed run can return HTTP 201 — read the envelope /RequestStatusin the body, not the HTTP code. getfile segment isdsr, notdsar. - History is a read. Run history = a SOQL query over
DsarPolicyLog. NotinstallListView, not a UI list; it starts no run. - Never auto-activate or republish. Activation is a deliberate, human-confirmed step. Editing an ACTIVE
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
- references/configure.md
- references/export-and-history.md
- references/gap-analysis-guide.md
- references/gap-scan.md
- references/headless-sor.md
- references/report-format.md
- scripts/validate-policy-tree.py
FAQ
Что делает скилл platform-dsar-policy-manage?
Set up, edit, run, and audit a customer's personal-data portability map (DsarPolicy / Right-to-Portability export). Use for choosing subject roots, follow/stop relationships and fields, including requests to figure out what counts as personal data: elicit the admin's classification decisions, never guess. Covers inactive policy authoring/review, subject resolution, ACTIVE-policy export with bounded polling and terminal-only download, history and coverage gaps. This end-to-end workflow can dispatch the DsarPolicyManager setup SOR; loading its generated configuration skill alone does not replace this workflow. Not subject erasure/deletion, sandbox masking or unrelated metadata deployment.
Как установить скилл platform-dsar-policy-manage?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл platform-dsar-policy-manage запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
skill-creator
AnthropicCreate new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
discernment-nudge
AnthropicAfter you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
data-consolidate
AnthropicJoins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
inspection-to-capa
AnthropicRuns the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…