session-management

Load and persist .NET session context across coding sessions.

1|Updated Apr 28, 2026
One-click install
npx skills add https://github.com/Trossitec/dotnet-claude-kit --skill session-management-trossitec
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: session-management
Source: https://github.com/Trossitec/dotnet-claude-kit/tree/main/skills/session-management
Command: npx skills add https://github.com/Trossitec/dotnet-claude-kit --skill session-management-trossitec

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Prevents you and the AI from wasting time re-discovering prior decisions by reliably carrying work-in-progress, learned conventions, and project knowledge across .NET sessions.

Core Features & Use Cases

  • Session start context loading: Reads .claude/handoff.md, MEMORY.md, and .claude/instincts.md, then detects the correct .slnx/.sln so MCP tooling can be used from the first prompt.
  • Session end capture and learning: Records what was completed, what remains pending, and what was learned, updates MEMORY.md with new rules, and evolves .claude/instincts.md confidence scores.
  • Safety guardrails for continuity: Avoids hard failure when files or solutions are missing, summarizes pending work for user approval, and checks for uncommitted changes before wrapping up.

Quick Start

Load this skill when you start a new session or tell the AI to resume by saying: "Pick up where we left off in this repo and continue the pending tasks."

Frequently Asked Questions about session-management

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

FAQPage Schema
How do I preserve context and resume work across .NET coding sessions?

Context preservation across .NET coding sessions is managed by loading and persisting handoff files, memory rules, and evolving instincts. The skill reads `.claude/handoff.md` at session start and captures pending work or learned conventions at session end.

How does .NET solution detection work for bootstrapping MCP tooling?

.NET solution detection for MCP tooling works by locating `.slnx` or `.sln` files in the repository. Once the correct solution file is detected, MCP tooling is automatically bootstrapped so it can be used from the first prompt.

Can I resume pending tasks if my repository is missing handoff or memory files?

Resuming pending tasks without handoff or memory files is supported through graceful degradation. The session start protocol avoids hard failure when expected files or solutions are absent, allowing work to continue safely.

What is the best way to capture learned conventions before ending a coding session?

Capturing learned conventions before ending a coding session is handled by the session end protocol. It records completed and pending work, updates `MEMORY.md` with new rules, evolves `.claude/instincts.md` confidence scores, and checks for uncommitted changes.

Do I need a specific solution file format to use session management for .NET?

Session management for .NET requires either a `.slnx` or `.sln` solution file for bootstrapping MCP tooling. If neither solution file is present, the skill degrades gracefully rather than throwing a hard failure.

Why does context preservation fail when uncommitted changes exist at session end?

Context preservation at session end accounts for uncommitted changes by running explicit checks before wrapping up. The protocol summarizes pending work and flags uncommitted changes for user approval to prevent losing work-in-progress state.