Generate Question
This skill allows the agent to generate new interview questions conforming to the NBSim schema.
Usage
When the user asks to "create a new question" or "add a React problem", follow these steps:
- •
Identify Parameters:
- •Topic (e.g., React, Algorithms, TypeScript)
- •Difficulty (Easy, Medium, Hard)
- •
Generate JSON:
- •Produce a JSON object matching the
Questioninterface. - •Fields:
- •
id: UUID (v4) - •
title: Short, punchy title. - •
topic: Matching parameter. - •
difficulty: Matching parameter. - •
description: Markdown problem statement. - •
starterCode: Boilerplate code. - •
testCases: Array of inputs/expected outputs.
- •
- •Produce a JSON object matching the
- •
Output:
- •Present the JSON code block.
- •Ask if the user wants to save it to the
questions/(orsessions/) directory.