xiaohongshu
xiaohongshu
collab-session-mgmt
Detailed procedures for finding, creating, and resuming collab sessions
Full skill instructions
Detailed procedures for finding, creating, and resuming collab sessions.
ls -d .collab/*/ 2>/dev/null | xargs -I{} basename {}
If sessions exist:
Tool: mcp__plugin_mermaid-collab_mermaid__get_session_state
Args: { "project": "<absolute-path-to-cwd>", "session": "<session-name>" }
Returns: { "phase": "brainstorming", "lastActivity": "...", ... }Existing sessions:
1. bright-calm-river - brainstorming
2. swift-green-meadow - implementation
3. Create new session
Select option (1-3):
If no sessions exist: Continue to Step 3
if [ -f .gitignore ]; then
git check-ignore -q .collab 2>/dev/null || echo ".collab/" >> .gitignore
fi
Note: Only modifies .gitignore if it already exists. Does not create a new .gitignore file.
Generate a suggested name:
Tool: mcp__plugin_mermaid-collab_mermaid__generate_session_name
Args: {}
Returns: { name: "bright-calm-river" }
Present options to user:
Generated session name: bright-calm-river
1. Use this name
2. Pick my own name
Select option (1-2):
If user selects "1. Use this name":
If user selects "2. Pick my own name": a. Prompt: "Enter session name (alphanumeric and hyphens only):" b. Validate input:
Initialize collab-state.json via MCP (creates folder and design.md automatically):
Tool: mcp__plugin_mermaid-collab_mermaid__update_session_state
Args: {
"project": "<absolute-path-to-cwd>",
"session": "<session-name>",
"phase": "brainstorming",
"currentItem": null
}
Note: lastActivity is automatically updated. The design.md file is auto-created by sessionRegistry.register() when any MCP tool is first called for this session.
Set the session path environment variable for hooks:
export COLLAB_SESSION_PATH="$(pwd)/.collab/<name>"
Invoke skill: gather-session-goals
This skill will:
Status: pendingAfter gather-session-goals returns → Jump to Work Item Loop (see collab-work-item-loop skill)
When user selects an existing session from Step 2.
Tool: mcp__plugin_mermaid-collab_mermaid__has_snapshot
Args: { "project": "<absolute-path-to-cwd>", "session": "<session-name>" }
Returns: { "exists": true } or { "exists": false }
If snapshot exists:
Load snapshot:
Tool: mcp__plugin_mermaid-collab_mermaid__load_snapshot
Args: { "project": "<absolute-path-to-cwd>", "session": "<session-name>" }
Returns: { "version": 1, "timestamp": "...", "activeSkill": "...", "currentStep": "...", ... }
Display restoration message:
Restoring from context snapshot...
Active skill: <activeSkill>
Step: <currentStep>
Delete snapshot (one-time use):
Tool: mcp__plugin_mermaid-collab_mermaid__delete_snapshot
Args: { "project": "<absolute-path-to-cwd>", "session": "<session-name>" }
Update state:
Tool: mcp__plugin_mermaid-collab_mermaid__update_session_state
Args: { "project": "<absolute-path-to-cwd>", "session": "<session-name>", "hasSnapshot": false }
Invoke the active skill directly:
STOP - skill takes over from here.
If no snapshot: Continue to 5.2 (existing resume behavior, route by phase)
export COLLAB_SESSION_PATH="$(pwd)/.collab/<name>"
Tool: mcp__plugin_mermaid-collab_mermaid__get_session_state
Args: { "project": "<absolute-path-to-cwd>", "session": "<session-name>" }
Returns: { "phase": "...", "lastActivity": "...", "currentItem": ..., ... }
Session Resumed: <name>
Phase: <phase>
Dashboard: http://localhost:3737
Checking work item status...
Always route through ready-to-implement for resume:
Invoke skill: ready-to-implement
ready-to-implement will:
action: "return_to_loop" → Go to Work Item Loop (see collab-work-item-loop skill)xiaohongshu
technical spec
product ux expert
database patterns
Conduct multi-agent task orchestration and workflow coordination.
Initialize project with Conductor artifacts (product definition,
Expert in web animations, transitions, and motion design using Framer Motion and CSS
Creates Mermaid and ASCII diagrams for flowcharts, architecture, ERDs, state machines, mindmaps, and more. Use when user mentions diagram, flowchart, mermaid, ASCII diagram, text diagram, terminal diagram, visualize, C4, mindmap, architecture diagram, sequence diagram, ERD, or needs visual docume...
PostgreSQL bindings for H3 hexagonal grid system. Use when working with H3 cells in Postgres, including spatial indexing, geometry/geography integration, and raster analysis.
Context-Driven Development skill for projects using Conductor. Use this skill when you detect a `conductor/` directory in the project, when working on tasks defined in a `plan.md` file, or when the user asks about tracks, specs, or plans. Automatically applies TDD workflow, tracks task completion...
Display project status, active tracks, and next actions
Official Stakpak application containerization standard operating procedure, a step-by-step guidline to properly dockerize applications. This is a rule book curated by the Stakpak Team.
Generate, edit, and beat-sync AI video with leading models in one workspace.
The world's fastest calendar for remote work
Transform Your Design with AI Designer by ImgCreator.ai
Revolutionizing Video Production with AI-Powered Creativity
Extend an image past the frame and let AI fill the new aspect ratio.
Discover your celebrity doppelgänger with StarByFace!
ChainClarity explains 700+ crypto whitepapers in plain English, with layered summaries, comparisons, research tools, alerts, and a $4.99 Pro plan.
Opus.ai: Revolutionize Your Web Experience