forcedotcom avatar

Platform Trust Archive Manage

Handles everything related to Salesforce's Trusted Services Archive add-on: searching and viewing archived records, unarchiving them, running the analyzer, pulling storage stats, and handling RTBF erasure and PII masking on archived data. It covers both the Archive Connect API operations and querying the ArchiveActivity object to track job status and download failure logs. The permission model is unusually granular, each operation gated by a different user permission on top of the org-level entitlement, so expect to help users diagnose "not permitted" errors by mapping them to the specific capability they lack. The API has non-obvious contracts like dateRanges plural, scroll_id equals negative one for pagination end, and body-level success flags that don't always match HTTP status. You'll spend time on the verify-after-write pattern for async jobs and correlating ArchiveActivity records with their log download endpoints.

skills.sh installs
5.2K
GitHub stars
1.2K
last updated
Aug 21, 2026

Install

$ npx -y skills add forcedotcom/sf-skills --skill platform-trust-archive-manage --agent claude-code

Installs into .claude/skills of the current project.

Files

Salesforce Archive

Operate Salesforce Archive (also called Trusted Services Archive) through its Connect API and the ArchiveActivity job-metadata object. This skill covers how to search and restore archived records, run the analyzer, handle RTBF erasure and PII masking, check storage, and — the part most often missed — how to read archive job status from ArchiveActivity and use a job's Id + Type to download its logs.

Scope

  • In scope: Calling the Archive Connect API operations under /platform/data-resilience/archive/; querying the ArchiveActivity object via SOQL/Connect; correlating a job's ArchiveActivity record with its log-download endpoints; the verify-after-write pattern for each async operation.
  • Out of scope: Defining archive policies / ArchivePolicyDefinition metadata; building UI; generating Flows over archive data (ArchiveActivity is not Flow-queryable — see Gotchas); generic backup/export tooling unrelated to the add-on.

Required Inputs

Gather or infer before acting:

Sponsors

Details

Repository
github.com/forcedotcom/sf-skills
Categories
Backend & APIs, DevOps & CI/CD, Documentation, Sales & Marketing
First seen
Jul 14, 2026

More from forcedotcom/sf-skills

All 158
1forcedotcom avatarexperience-ui-bundle-file-upload-generateforcedotcom/sf-skillsMUST activate when the project contains a uiBundles/*/src/ directory and the task involves uploading, attaching, or dropping files. Use this skill when adding f5.2Kskills.sh installs
2marimo-team avatarretro-marimo-pairmarimo-team/marimo-pairSession retrospective for improving marimo-pair and marimo._code_mode. Use when the user wants to analyze friction from a pairing session, identify what went wr5.2Kskills.sh installs
3agricidaniel avatarads-metaagricidaniel/claude-adsAudit Meta Ads measurement, Pixel and Conversions API, attribution, Facebook and Instagram creative, audiences, placements, automation, budgets, account structu5.2Kskills.sh installs
4forcedotcom avatarexperience-ui-bundle-features-generateforcedotcom/sf-skillsMUST activate when the project contains a uiBundles/*/src/ directory and the user wants to add a pre-built feature — such as authentication (login, logout, prot5.1Kskills.sh installs
5forcedotcom avatardx-devops-test-failures-analyzeforcedotcom/sf-skillsAnalyzes DevOps Center test failures and Code Analyzer violations in plain language — failure category, offending file/class/method/line, rule violated, fix dir5.1Kskills.sh installs
6grafana avatarbeylagrafana/skillsAuto-instrument an application's HTTP / gRPC / DB traffic with Grafana Beyla eBPF — no code changes, no SDK, no restart. Covers requirements (Linux 5.8+ with BT5.1Kskills.sh installs