From marsai-default
Create handoff documents capturing session state for seamless context-clear and resume
npx claudepluginhub v4-company/marsai --plugin marsai-defaultThis skill uses the workspace's default tool permissions.
Creates a comprehensive handoff document that captures the current session's context, progress, decisions, and next steps. Uses Claude Code's **Plan Mode** to deliver the handoff as a native plan, giving the user a seamless "clear context and continue implementing" option without any manual steps.
Generates design tokens/docs from CSS/Tailwind/styled-components codebases, audits visual consistency across 10 dimensions, detects AI slop in UI.
Records polished WebM UI demo videos of web apps using Playwright with cursor overlay, natural pacing, and three-phase scripting. Activates for demo, walkthrough, screen recording, or tutorial requests.
Delivers idiomatic Kotlin patterns for null safety, immutability, sealed classes, coroutines, Flows, extensions, DSL builders, and Gradle DSL. Use when writing, reviewing, refactoring, or designing Kotlin code.
Creates a comprehensive handoff document that captures the current session's context, progress, decisions, and next steps. Uses Claude Code's Plan Mode to deliver the handoff as a native plan, giving the user a seamless "clear context and continue implementing" option without any manual steps.
| Argument | Required | Description |
|---|---|---|
session-name | No | Short identifier for the session (defaults to feature/task name) |
description | No | Brief description of current state |
The handoff document includes:
MUST follow these steps in exact order. No step can be skipped or reordered.
Before entering plan mode, collect all session information needed for the handoff:
Glob and Read as needed to verify file states and pathsBash with date commands to generate timestampsMUST call EnterPlanMode tool. This switches the session to plan mode where the handoff will be presented as a native plan.
MUST write the handoff content to the plan file. When plan mode is active, the system message specifies the plan file path. Write the full handoff document (using the template below) to that path using the Write tool.
The handoff IS the plan. The user will see it displayed inline and can review every detail before deciding to continue.
MUST call ExitPlanMode tool. This presents the user with native options including "clear context and continue implementing" - which is the seamless handoff resume.
After exiting plan mode, inform the user:
Handoff created and loaded as plan.
You can now choose "clear context and continue implementing" to seamlessly
resume in a fresh context with the handoff loaded as your plan.
When creating the handoff document (the plan file), use this structure:
# Handoff: {Session Name}
**Created:** {timestamp}
**Session:** {session-name}
**Status:** {In Progress | Blocked | Ready for Review | Complete}
## Summary
{1-2 sentence overview of what this session was about}
## Current State
{Where things stand right now - be specific about what's done vs pending}
## Completed Work
- {List of completed items with file references where relevant}
## In-Progress Work
- {Partially completed items - describe exactly where you stopped}
- {Include enough detail that the next session can pick up without re-reading code}
## Key Decisions
| Decision | Rationale | Alternatives Considered |
|----------|-----------|------------------------|
| {decision} | {why} | {what else was considered} |
## What Worked
- {Successful approaches, patterns, or solutions worth reusing}
## What Didn't Work
- {Failed approaches - document to avoid repeating}
## Open Questions
- [ ] {Unresolved questions that need answers}
- [ ] {Blockers or dependencies}
## Next Steps
1. {First thing to do when resuming - be specific and actionable}
2. {Second priority}
3. {Third priority}
## Relevant Files
| File | Purpose | Status |
|------|---------|--------|
| `path/to/file` | {what it does} | {modified/created/to-modify} |
## Context for Resumption
{Any additional context the next session needs - gotchas, environment setup, branch state, test commands, etc.}
| Rationalization | Why It's WRONG | Required Action |
|---|---|---|
| "I'll enter plan mode first, then gather context" | Plan mode restricts tool usage. Context gathering requires Read, Glob, and Bash. | MUST gather all context before calling EnterPlanMode |
| "The handoff doesn't need all template sections" | Incomplete handoffs cause information loss. Every section exists for a reason. | MUST fill every section of the template |
| "I'll just summarize briefly" | Brief summaries lose critical context. The whole point is comprehensive capture. | MUST provide detailed content in each section |
| "ExitPlanMode isn't needed, the plan is written" | Without ExitPlanMode, the user never sees the native resume options. | MUST call ExitPlanMode after writing the plan |
| "I'll write the plan file to a custom path" | Plan mode specifies its own file path. Writing elsewhere breaks the integration. | MUST write to the path specified by plan mode system message |
User: /marsai:create-handoff
Assistant: I will create a handoff document for the current session.
[Step 1: Gathers context from conversation history]
[Step 2: Calls EnterPlanMode]
[Step 3: Writes handoff to plan file path]
[Step 4: Calls ExitPlanMode]
[Step 5: User sees handoff and native options]
User: /marsai:create-handoff auth-refactor "OAuth provider integration"
Assistant: I will create a handoff document for the auth-refactor session.
[Gathers all context, enters plan mode, writes plan, exits plan mode]
Handoff created and loaded as plan.
You can now choose "clear context and continue implementing" to seamlessly
resume in a fresh context with the handoff loaded as your plan.
After the command completes, the user sees the full handoff document displayed as a plan in their Claude Code session. The system presents native options:
The plan persists across context clears, so the user can always review it regardless of which option they choose.