agentleFS
jiten-singh-shahijiten-singh-shahi/salesforce-claude-code/.cursor/skills/update-platform-docs/SKILL.md

update-platform-docs

Skill15 starsChanged 7 months agoMITView on GitHub

Update Salesforce platform reference docs with latest release features and deprecation announcements. Use when SessionStart hook warns docs are outdated or a new Salesforce release has shipped. Do NOT use for Apex or LWC development.

The file

Show its rules and text

We split this skill into the rules it gives an agent

14 rules. About 0 are common, 10 are distinctive, and 4 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈10

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 4

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    When the SessionStart hook warns that platform docs are outdated (>4 months since last verified)

    line 12
  2. Distinctive:

    When a new Salesforce release has shipped (Spring, Summer, or Winter)

    line 13
  3. Distinctive:

    When you hear about new Salesforce feature deprecations or retirements

    line 14
  4. Very specific:

    Add new release section at TOP with Added: YYYY-MM tag

    line 46
  5. Very specific:

    Remove any sections where Added: date is older than 24 months

    line 48
  6. Distinctive:

    Update the "Last verified" date

    line 49
  7. Distinctive:

    Update "Current" label to point to the new release

    line 50
  8. Very specific:

    Remove entries where Added: date is older than 24 months (exception: keep "Retiring Soon" entries until retirement date + 24 months)

    line 57
  9. Distinctive:

    Check for new product renames and add them

    line 58
  10. Distinctive:

    Update Beta feature status (promote to GA if applicable, remove if GA'd >24 months ago)

    line 59
  11. Distinctive:

    After updating, confirm changes:

    line 64
  12. Very specific:

    Every entry gets an Added: YYYY-MM tag for 24-month retention tracking

    line 77
  13. Distinctive:

    Use current product names (see Product Renames table in DEPRECATIONS.md)

    line 79
  14. Distinctive:

    Only add information verified from official Salesforce sources (developer.salesforce.com, help.salesforce.com)

    line 80

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Update Platform Reference Docs

When to Use

  • When the SessionStart hook warns that platform docs are outdated (>4 months since last verified)
  • When a new Salesforce release has shipped (Spring, Summer, or Winter)
  • When you hear about new Salesforce feature deprecations or retirements

Files to Update

Two reference files in skills/_reference/:

  1. API_VERSIONS.md — Release feature tracker (24-month rolling window)
  2. DEPRECATIONS.md — Retired features, upcoming retirements, naming changes (cumulative)

Update Procedure

Step 1 — Research current release

WebSearch for the latest Salesforce release information:

Search: "Salesforce [Season] '[Year] release notes new features developer site:developer.salesforce.com"
Search: "Salesforce [Season] '[Year] release highlights"

Step 2 — Research deprecations

WebSearch for deprecation and retirement announcements:

Search: "Salesforce feature retirements [current year] site:help.salesforce.com"
Search: "Salesforce deprecated features [current year]"

Step 3 — Update API_VERSIONS.md

  1. Read current skills/_reference/API_VERSIONS.md
  2. Add new release section at TOP with Added: YYYY-MM tag
  3. Include all new GA features, Beta features (marked clearly), and breaking changes
  4. Remove any sections where Added: date is older than 24 months
  5. Update the "Last verified" date
  6. Update "Current" label to point to the new release

Step 4 — Update DEPRECATIONS.md

  1. Read current skills/_reference/DEPRECATIONS.md
  2. Append any NEW deprecation entries with Added: YYYY-MM tag
  3. Move "Retiring Soon" entries to "Already Retired" if retirement date has passed
  4. Remove entries where Added: date is older than 24 months (exception: keep "Retiring Soon" entries until retirement date + 24 months)
  5. Check for new product renames and add them
  6. Update Beta feature status (promote to GA if applicable, remove if GA'd >24 months ago)
  7. Update the "Last verified" date

Step 5 — Verify

After updating, confirm changes:

# Check no v62.0 or other old version references leaked back
grep -r "old_version" skills/_reference/API_VERSIONS.md skills/_reference/DEPRECATIONS.md

# Run CI validation
node scripts/ci/validate-skills.js

Important Rules

  • Releases and deprecations are INDEPENDENT — a new release does NOT deprecate the previous one
  • Every entry gets an Added: YYYY-MM tag for 24-month retention tracking
  • Beta features must be clearly marked as "Beta" or "Pilot" with "do NOT use in production"
  • Use current product names (see Product Renames table in DEPRECATIONS.md)
  • Only add information verified from official Salesforce sources (developer.salesforce.com, help.salesforce.com)

Related

  • Hook: check-platform-docs-age.js — SessionStart hook that triggers this skill's warning
  • Reference: @../_reference/API_VERSIONS.md — Feature tracker
  • Reference: @../_reference/DEPRECATIONS.md — Deprecation guard

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.