xiaohongshu
xiaohongshu
generate-questions
Generate high-quality bilingual programming quiz questions for Codle. Use this skill when creating new quiz questions that test deep understanding rather than rote memorization.
Full skill instructions
Generate high-quality, bilingual (English/Chinese) programming quiz questions that test deep understanding rather than rote memorization.
this binding)When generating algorithm-related questions, reference the Nowcoder Interview TOP101 question bank for inspiration and coverage.
WebFetch tool to fetch specific problem details when needed| Category | Count | Key Topics |
|---|---|---|
| 链表 (Linked List) | 16 | 反转链表、K组翻转、合并有序链表、环形链表 |
| 二分查找/排序 (Binary Search) | 6 | 二分查找、二维数组查找、寻找峰值 |
| 二叉树 (Binary Tree) | 19 | 遍历、层序遍历、序列化、最近公共祖先 |
| 堆/栈/队列 (Heap/Stack/Queue) | 8 | 两栈实现队列、滑动窗口最大值、数据流中位数 |
| 哈希 (Hash) | 5 | 两数之和、三数之和 |
| 递归/回溯 (Recursion/Backtrack) | 7 | 岛屿数量、N皇后、括号生成 |
| 动态规划 (Dynamic Programming) | 21 | 斐波那契、正则匹配、买卖股票、背包问题 |
| 字符串 (String) | 4 | 字符串变形、大数加法 |
| 双指针 (Two Pointers) | 8 | 合并区间、接雨水 |
| 贪心算法 (Greedy) | 4 | 分糖果、跳跃游戏 |
| 模拟 (Simulation) | 3 | 螺旋矩阵、旋转数组 |
For non-algorithm interview questions:
To get detailed problem info, use WebFetch:
WebFetch URL: https://www.nowcoder.com/practice/[problem-id]
Example: https://www.nowcoder.com/practice/75e878df47f24fdc9dc3e400ec6058ca (反转链表)
Generate questions as valid JSON array entries matching this schema:
{
"id": "category-topic-number",
"category": {
"en": "Category Name",
"cn": "分类名称"
},
"difficulty": "Easy|Medium|Hard",
"question": {
"en": "Question text in English?",
"cn": "中文题目描述?"
},
"options": {
"en": ["Option A", "Option B", "Option C", "Option D"],
"cn": ["选项 A", "选项 B", "选项 C", "选项 D"]
},
"answer": 0,
"explanation": {
"en": "Detailed explanation with why, production tips, and light humor.",
"cn": "深入浅出的原理解析,包含原因、生产建议和适当幽默。"
}
}
Each explanation should include:
src/data/questions.json to understand existing style and avoid duplicatesnpm run dev and use ?dev=1 to preview{
"id": "js-promise-1",
"category": { "en": "JavaScript", "cn": "JavaScript" },
"difficulty": "Hard",
"question": {
"en": "What is the output order of: `console.log(1); Promise.resolve().then(() => console.log(2)); console.log(3);`?",
"cn": "`console.log(1); Promise.resolve().then(() => console.log(2)); console.log(3);` 的输出顺序是?"
},
"options": {
"en": ["1, 2, 3", "1, 3, 2", "2, 1, 3", "3, 2, 1"],
"cn": ["1, 2, 3", "1, 3, 2", "2, 1, 3", "3, 2, 1"]
},
"answer": 1,
"explanation": {
"en": "Microtask magic! Synchronous code runs first (1, 3), then the microtask queue is flushed (2). Promise.then() callbacks are microtasks, not macrotasks like setTimeout. Understanding this order is crucial for debugging async code - and for not pulling your hair out during interviews.",
"cn": "微任务魔法!同步代码先执行(1, 3),然后清空微任务队列(2)。Promise.then() 回调是微任务,不像 setTimeout 那样是宏任务。理解这个顺序对调试异步代码至关重要——也能让你在面试中少掉几根头发。"
}
}
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