skills/resume-session/SKILL.md
Use when resuming a previous Salesforce development session. Load saved org context and Apex work-in-progress to continue where the last session ended.
npx skillsauth add jiten-singh-shahi/salesforce-claude-code resume-sessionInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Load the last saved session state and orient fully before doing any work. This skill is the counterpart to the save-session skill.
/resume-session # loads most recent file in ~/.claude/sessions/
/resume-session 2026-03-18 # loads most recent session for that date
/resume-session ~/.claude/sessions/2026-03-18-apex-trig-session.md # loads a specific file
If no argument provided:
Check ~/.claude/sessions/
Pick the most recently modified *-session.md file
If the folder does not exist or has no matching files, tell the user:
No session files found in ~/.claude/sessions/
Run /save-session at the end of a session to create one.
Then stop.
If an argument is provided:
YYYY-MM-DD), search ~/.claude/sessions/ for matching files
and load the most recently modified variant for that dateRead the complete file. Do not summarize yet.
Respond with a structured briefing in this exact format:
SESSION LOADED: [actual resolved path to the file]
PROJECT: [project name / topic from file]
WHAT WE'RE BUILDING:
[2-3 sentence summary in your own words]
CURRENT STATE:
Working: [count] items confirmed
In Progress: [list files that are in progress]
Not Started: [list planned but untouched]
WHAT NOT TO RETRY:
[list every failed approach with its reason — this is critical]
OPEN QUESTIONS / BLOCKERS:
[list any blockers or unanswered questions]
NEXT STEP:
[exact next step if defined in the file]
Ready to continue. What would you like to do?
Do NOT start working automatically. Do NOT touch any files. Wait for the user to say what to do next.
Multiple sessions for the same date: Load the most recently modified matching file for that date.
Session file references files that no longer exist:
Note this during the briefing — "WARNING: path/to/file.cls referenced in session but not found on disk."
Session file is from more than 7 days ago: Note the gap — "WARNING: This session is from N days ago. Things may have changed." — then proceed normally.
Session file is empty or malformed: Report: "Session file found but appears empty or unreadable. You may need to create a new one with /save-session."
/save-session again at the end of the new sessiondevelopment
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.
development
Use when syncing documentation after Salesforce Apex code changes. Update README, API docs, and deploy metadata references to match the current org codebase.
development
Use when managing context during long Salesforce Apex development sessions. Suggests manual compaction at logical intervals to preserve deploy and org context across phases.
tools
Visualforce development — pages, controllers, extensions, ViewState, JS Remoting, LWC migration. Use when maintaining VF pages, building PDFs, or planning VF-to-LWC migration. Do NOT use for LWC, Aura, or Flow.