save-session

Capture Salesforce development session context into a dated markdown file.

13|2|Updated Mar 18, 2026
One-click install
npx skills add https://github.com/jiten-singh-shahi/salesforce-claude-code --skill save-session-jiten-singh-shahi
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: save-session
Source: https://github.com/jiten-singh-shahi/salesforce-claude-code/tree/main/.cursor/skills/save-session
Command: npx skills add https://github.com/jiten-singh-shahi/salesforce-claude-code --skill save-session-jiten-singh-shahi

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Developers and AI sessions lose important Salesforce context, progress, and decisions between work sessions or when reaching context limits, causing repeated work and lost time. This Skill captures the state of a development session so a future session can resume exactly where it left off.

Core Features & Use Cases

  • Comprehensive session capture: Collect modified files, conversation highlights, errors, deployment and test status, org details, and decisions made during a session.
  • Structured persistence: Create a dated markdown session file with predefined sections for What We Are Building, What Worked, What Did NOT Work, Files, Decisions, Blockers, and Exact Next Step.
  • Safe handoff and checkpoints: Save a session before closing Claude Code, handing off to a teammate, switching branches, or starting a fresh session to avoid context loss.
  • Filename and storage rules: Enforces a YYYY-MM-DD-short-id naming convention and stores files under the canonical global store to avoid collisions across projects.

Quick Start

Save the current Salesforce development session to the global store and review the generated ~/.claude/sessions/YYYY-MM-DD-project-shortid-session.md file before closing.

Frequently Asked Questions about save-session

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I save my Salesforce development session context before a context reset?

To save Salesforce session context, this Skill captures modified files, Apex progress, deployment status, and decisions into a structured markdown file stored in the global session directory. It enforces a dated naming convention and prompts you to confirm the saved contents before closing.

What is the best way to persist Claude Code session state for a later resume?

Persisting Claude Code session state involves writing current org context, blockers, and next steps to a dated markdown checkpoint file. This Skill automates that capture at session end, creating a structured handoff document under the canonical global store to prevent context loss.

Can I use this session checkpoint tool for non-Salesforce developer workflows?

Yes, while designed for Salesforce development sessions, the structured markdown capture mechanism supports any developer workflow needing to record modified files, decisions, and test status. It writes generic session sections that apply to any codebase requiring context persistence.

How does the session file naming and storage format work?

The session file naming format uses a YYYY-MM-DD-short-id convention stored under the global sessions directory. This Skill enforces short-id rules and limits each markdown file to roughly 500 lines to prevent collisions across projects and maintain readable checkpoints.

What should I do to resume a Salesforce session from a saved checkpoint?

Resuming a Salesforce session from a checkpoint requires referencing the saved markdown file containing your exact next steps, blockers, and modified files. This Skill creates that structured handoff document, allowing a future session to read the file and resume exactly where you left off.

Are there limitations to the session persistence file size or structure?

The session persistence file size is limited to roughly 500 lines, and the structure is strictly organized into predefined markdown sections for files, decisions, and next steps. This Skill enforces these constraints to ensure checkpoints remain concise and readable across context resets.