xiaohongshu
xiaohongshu
collab-cleanup
Close out a collab session - archive or delete design artifacts
Full skill instructions
When a collab session is active, use render_ui for all user interactions.
Component selection:
| Question Type | Component |
|---|---|
| Yes/No | Card with action buttons |
| Choose 1 of 2-5 | RadioGroup |
| Choose 1 of 6+ | MultipleChoice |
| Free text | TextInput or TextArea |
Example - Yes/No:
Tool: mcp__plugin_mermaid-collab_mermaid__render_ui
Args: {
"project": "<cwd>",
"session": "<session>",
"ui": {
"type": "Card",
"props": { "title": "<question context>" },
"children": [{ "type": "Markdown", "props": { "content": "<question>" } }],
"actions": [
{ "id": "yes", "label": "Yes", "primary": true },
{ "id": "no", "label": "No" }
]
},
"blocking": true
}
Terminal prompts only when: No collab session exists (pre-session selection).
Close a collab session after development is complete. Offers choices to archive design artifacts, delete them, or keep the session open for reference.
Announce at start: "I'm using the collab-cleanup skill to close this session."
mcp__plugin_mermaid-collab_mermaid__list_sessions to get all sessions across projects:
Tool: mcp__plugin_mermaid-collab_mermaid__list_sessions
Args: {}
project field against absolute cwd path)mcp__plugin_mermaid-collab_mermaid__get_session_state:
Tool: mcp__plugin_mermaid-collab_mermaid__get_session_state
Args: { "project": "<cwd>", "session": "<session-name>" }
Sessions in this project:
1. glowing-sunny-mesa (phase: rough-draft)
2. bright-calm-river (phase: implementation)
Display session details:
Session: [name]
Template: [feature/bugfix/refactor/spike]
Phase: [current phase]
Artifacts:
- Documents: [list .md files]
- Diagrams: [list .mmd files]
What would you like to do with the design artifacts?
1. Archive - Copy to docs/designs/[session-name]/
2. Delete - Remove without saving
3. Keep - Leave session in place, exit without cleanup
4. Archive & Continue - Archive with timestamp, reset session for new work
If Archive:
docs/designs/[session-name]/ directory.collab/[session]/documents/design.md.collab/[session]/documents/interface-item-*.md.collab/[session]/documents/pseudocode-item-*.md.collab/[session]/documents/skeleton-item-*.md.collab/[session]/diagrams/* to docs/designs/[session-name]/.collab/[session]/ folderIf Delete:
1. Yes, delete
2. No, go back
.collab/[session]/ folderIf Keep:
/collab-cleanup when ready to close."If Archive & Continue:
[session-name]-[YYYY-MM-DD-HHmmss]docs/designs/[session-name]-[timestamp]/.collab/[session]/documents/* to archive directory.collab/[session]/diagrams/* to archive directory.collab/[session]/documents/design.md:
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 by the MCP tool.[name] archived to docs/designs/[name]-[timestamp]/. Session reset for new work."gather-session-goals skill to start work on new itemsDisplay completion message:
[name] archived to docs/designs/[name]/"[name] deleted."[name] kept open."[name] archived to docs/designs/[name]-[timestamp]/. Ready for new work items."Called by:
finishing-a-development-branch skill at completion/collab-cleanup commandCollab workflow position:
collab → brainstorming → rough-draft → executing-plans → finishing-a-development-branch → collab-cleanup
↑
(you are here)
Never:
Always:
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