xiaohongshu
xiaohongshu
interview
Gather structured user input via web form. Use when you need multiple clarifying questions answered, collecting design mockups/images, or getting user decisions on implementation choices. Better than sequential chat Q&A when 3+ questions are needed.
Full skill instructions
Use the interview() tool to open a web form for structured user input.
DO use interview for:
DON'T use interview for:
// 1. Construct questions based on what you need to know
const questions = {
title: "Descriptive Title",
description: "Brief context for the user",
questions: [
{ id: "unique-id", type: "single|multi|text|image", question: "..." }
]
};
// 2. Write to temp file
// Use: /tmp/interview-{context}.json
write('/tmp/interview-feature-setup.json', JSON.stringify(questions, null, 2));
// 3. Invoke the tool
await interview({ questions: '/tmp/interview-feature-setup.json' });
// 4. Process responses and proceed with work
| Type | Use For | Returns |
|---|---|---|
single | One choice from options | string |
multi | Multiple selections | string[] |
text | Free-form input | string |
image | Upload mockup/screenshot | string (path) |
{
"id": "unique-identifier",
"type": "single",
"question": "Clear, specific question text",
"options": ["Option A", "Option B", "Option C"],
"recommended": "Option A",
"context": "Help text explaining the options"
}
Fields:
id (required): Unique identifier for the responsetype (required): single, multi, text, or imagequestion (required): The question textoptions (required for single/multi): Array of choicesrecommended (optional): Highlight suggested option(s) with *context (optional): Help text shown below question{
"title": "Feature Requirements",
"description": "Help me understand what you need before I create the implementation plan.",
"questions": [
{
"id": "approach",
"type": "single",
"question": "Which approach should we take?",
"options": ["Option A - faster", "Option B - more flexible", "Research both"],
"recommended": "Option A - faster",
"context": "Based on the codebase, Option A aligns with existing patterns."
},
{
"id": "scope",
"type": "multi",
"question": "Which components should be included?",
"options": ["Core feature", "Admin UI", "API endpoints", "Tests", "Documentation"],
"recommended": ["Core feature", "Tests"]
},
{
"id": "constraints",
"type": "text",
"question": "Any constraints or requirements I should know about?"
}
]
}
{
"title": "Code Review Findings",
"description": "I found some issues. How would you like me to handle them?",
"questions": [
{
"id": "deprecated-api",
"type": "single",
"question": "Found deprecated API usage in 3 files. How to handle?",
"options": ["Fix now", "Create issue for later", "Ignore - acceptable tech debt"],
"recommended": "Fix now"
},
{
"id": "missing-tests",
"type": "single",
"question": "Test coverage for changed files is 30%. Add tests?",
"options": ["Yes - critical paths only", "Yes - comprehensive coverage", "No - ship as is"],
"recommended": "Yes - critical paths only"
}
]
}
{
"title": "UI Implementation",
"description": "Upload your design and specify preferences.",
"questions": [
{
"id": "mockup",
"type": "image",
"question": "Upload design mockup or screenshot",
"context": "PNG, JPG, GIF, or WebP. You can also paste or drag & drop."
},
{
"id": "fidelity",
"type": "single",
"question": "How closely should I match the design?",
"options": ["Pixel-perfect", "Approximate - focus on functionality", "Use as inspiration only"],
"recommended": "Approximate - focus on functionality"
},
{
"id": "responsive",
"type": "multi",
"question": "Which screen sizes to support?",
"options": ["Mobile", "Tablet", "Desktop"],
"recommended": ["Mobile", "Desktop"]
}
]
}
{
"title": "Clarifying Your Request",
"description": "I want to make sure I understand what you need.",
"questions": [
{
"id": "interpretation",
"type": "single",
"question": "When you said 'improve performance', did you mean:",
"options": [
"Faster load times",
"Reduced memory usage",
"Better responsiveness/UX",
"All of the above"
]
},
{
"id": "priority",
"type": "single",
"question": "What's most important?",
"options": ["Ship fast", "High quality", "Balance both"],
"recommended": "Balance both"
}
]
}
context field to explain trade-offsrecommended fieldawait interview({
questions: '/path/to/questions.json', // Required: path to questions file
timeout: 600, // Optional: seconds (default 600)
verbose: false // Optional: debug logging
});
The tool returns structured responses:
interface Response {
id: string;
value: string | string[];
attachments?: string[]; // Image paths for non-image questions
}
Example response:
- approach: Option A - faster
- scope: Core feature, Tests
- constraints: Must work with existing auth system
- mockup: /tmp/uploaded-image.png
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