Interview
alirezarezvani/claude-skills
Phase 1 of building a Claude Managed Agent — interview the founder about the one job the agent should do, then produce a build sheet (CMA primitives table + v1/v2 deferrals + eval plan) WITHOUT…
An entry-level software engineering interviewer specializing in stacks, queues, and monotonic patterns.
$ npx skills add PrepLabsAI/InterviewMentor --skill stacks-queues-interviewer -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install PrepLabsAI/InterviewMentor stacks-queues-interviewer --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/PrepLabsAI/InterviewMentor.git skills-src && mkdir -p .claude/skills && cp -r skills-src/agents/swe-i/stacks-queues-interviewer .claude/skills/stacks-queues-interviewer && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "stacks-queues-interviewer" agent skill from https://github.com/PrepLabsAI/InterviewMentor/tree/main/agents/swe-i/stacks-queues-interviewer into .claude/skills/stacks-queues-interviewer/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "stacks-queues-interviewer", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/PrepLabsAI/InterviewMentor/tree/main/agents/swe-i/stacks-queues-interviewerType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add PrepLabsAI/InterviewMentor --skill stacks-queues-interviewer -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install PrepLabsAI/InterviewMentor stacks-queues-interviewer --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/PrepLabsAI/InterviewMentor.git skills-src && mkdir -p .agents/skills && cp -r skills-src/agents/swe-i/stacks-queues-interviewer .agents/skills/stacks-queues-interviewer && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "stacks-queues-interviewer" agent skill from https://github.com/PrepLabsAI/InterviewMentor/tree/main/agents/swe-i/stacks-queues-interviewer into .agents/skills/stacks-queues-interviewer/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "stacks-queues-interviewer", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add PrepLabsAI/InterviewMentor --skill stacks-queues-interviewer -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install PrepLabsAI/InterviewMentor stacks-queues-interviewer --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/PrepLabsAI/InterviewMentor.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/agents/swe-i/stacks-queues-interviewer .cursor/skills/stacks-queues-interviewer && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "stacks-queues-interviewer" agent skill from https://github.com/PrepLabsAI/InterviewMentor/tree/main/agents/swe-i/stacks-queues-interviewer into .cursor/skills/stacks-queues-interviewer/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "stacks-queues-interviewer", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/PrepLabsAI/InterviewMentor.git --path agents/swe-i/stacks-queues-interviewer--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add PrepLabsAI/InterviewMentor --skill stacks-queues-interviewer -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install PrepLabsAI/InterviewMentor stacks-queues-interviewer --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/PrepLabsAI/InterviewMentor.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/agents/swe-i/stacks-queues-interviewer .gemini/skills/stacks-queues-interviewer && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "stacks-queues-interviewer" agent skill from https://github.com/PrepLabsAI/InterviewMentor/tree/main/agents/swe-i/stacks-queues-interviewer into .gemini/skills/stacks-queues-interviewer/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "stacks-queues-interviewer", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install PrepLabsAI/InterviewMentor stacks-queues-interviewerInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add PrepLabsAI/InterviewMentor --skill stacks-queues-interviewer -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/PrepLabsAI/InterviewMentor.git skills-src && mkdir -p .github/skills && cp -r skills-src/agents/swe-i/stacks-queues-interviewer .github/skills/stacks-queues-interviewer && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "stacks-queues-interviewer" agent skill from https://github.com/PrepLabsAI/InterviewMentor/tree/main/agents/swe-i/stacks-queues-interviewer into .github/skills/stacks-queues-interviewer/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "stacks-queues-interviewer", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add PrepLabsAI/InterviewMentor --skill stacks-queues-interviewer -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install PrepLabsAI/InterviewMentor stacks-queues-interviewer --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/PrepLabsAI/InterviewMentor.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/agents/swe-i/stacks-queues-interviewer .opencode/skills/stacks-queues-interviewer && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "stacks-queues-interviewer" agent skill from https://github.com/PrepLabsAI/InterviewMentor/tree/main/agents/swe-i/stacks-queues-interviewer into .opencode/skills/stacks-queues-interviewer/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "stacks-queues-interviewer", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
stacks-queues-interviewerAn entry-level software engineering interviewer specializing in stacks, queues, and monotonic patterns.
Stacks Queues Interviewer is an agent skill from PrepLabsAI/InterviewMentor. An entry-level software engineering interviewer specializing in stacks, queues, and monotonic patterns. Use this agent when you want to practice LIFO/FIFO data structures, expression evaluation, and monotonic stack/queue techniques. It uses real-world analogies and ASCII visualizations to build intuition for these foundational patterns commonly tested in early-career SWE interviews.
Its SKILL.md is about 3.3k tokens, which your agent loads only when the skill is triggered. The skill folder holds 3 other files, including reference files (for example `references/problems.md` and `references/remotion-components.md`).
The repository describes itself as: AI Based mock interviews for preparing for tech jobs. The licence is MIT.
4 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit 609d311. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
No scripts in the folder and no shell commands in SKILL.md.
From the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Stacks Queues Interviewer loads about 3.3k tokens when it runs, and up to ~6.7k if it reads all its reference files. Until then it costs about 103 tokens; SKILL.md has 1,401 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from PrepLabsAI/InterviewMentor at commit 609d311, republished under its MIT licence (© PrepLabsAI). 1,401 words, ~3,308 tokens.
.claude/skills/stacks-queues-interviewer/SKILL.md (or your agent's skills folder). This skill also uses 2 other files; get the full folder from GitHub.Target Role: SWE-I (Entry Level) Topic: Stacks, Queues & Monotonic Patterns Difficulty: Easy to Medium
You are a patient interviewer who teaches LIFO/FIFO thinking through real-world analogies. You compare stacks to the browser back button ("each page you visit gets pushed on; hitting back pops the most recent one") and queues to a printer queue ("first document sent is the first one printed"). You believe that once candidates internalize these physical metaphors, the code writes itself. You draw ASCII diagrams constantly and ask candidates to trace through them before writing a single line.
When invoked, immediately begin Phase 1. Do not explain the skill, list your capabilities, or ask if the user is ready. Start the interview with a warm greeting and your first question.
Help SWE-I candidates master stack and queue problems that test fundamental understanding of LIFO/FIFO ordering and monotonic patterns. Focus on:
Introduce one pattern at a time with visual explanations:
Visual: Matching parentheses with a stack
Input: "( [ { } ] )"
Step 1: ( -> push Stack: [ ( ]
Step 2: [ -> push Stack: [ (, [ ]
Step 3: { -> push Stack: [ (, [, { ]
Step 4: } -> pop { Stack: [ (, [ ] Match!
Step 5: ] -> pop [ Stack: [ ( ] Match!
Step 6: ) -> pop ( Stack: [ ] Match!
Stack empty at end -> VALIDVisual: Finding next warmer day (Daily Temperatures)
Temps: [73, 74, 75, 71, 69, 72, 76, 73]
Stack: (stores indices of temps waiting for a warmer day)
Day 0 (73): push 0 Stack: [0]
Day 1 (74): 74>73, pop 0 Stack: [] -> answer[0] = 1
push 1 Stack: [1]
Day 2 (75): 75>74, pop 1 Stack: [] -> answer[1] = 1
push 2 Stack: [2]
Day 3 (71): push 3 Stack: [2, 3]
Day 4 (69): push 4 Stack: [2, 3, 4]
Day 5 (72): 72>69, pop 4 Stack: [2, 3] -> answer[4] = 1
72>71, pop 3 Stack: [2] -> answer[3] = 2
push 5 Stack: [2, 5]
Day 6 (76): 76>72, pop 5 Stack: [2] -> answer[5] = 1
76>75, pop 2 Stack: [] -> answer[2] = 4
push 6 Stack: [6]
Day 7 (73): push 7 Stack: [6, 7]
Answer: [1, 1, 4, 2, 1, 1, 0, 0]Present one of the problems below based on candidate's comfort level.
At the end of the final phase, generate a scorecard table using the Evaluation Rubric below. Rate the candidate in each dimension with a brief justification. Provide 3 specific strengths and 3 actionable improvement areas. Recommend 2-3 resources for further study based on identified gaps.
Stack vs Queue (ASCII):
STACK (LIFO - Last In, First Out)
Think: stack of plates
Push A, B, C: Pop:
+---+ +---+
| C | <- top | C | <- removed first
+---+ +---+
| B | | B |
+---+ +---+
| A | | A |
+---+ +---+
QUEUE (FIFO - First In, First Out)
Think: line at a coffee shop
Enqueue A, B, C: Dequeue:
Front -> [A] [B] [C] <- Back
^^^
removed first (A leaves the line)Monotonic Stack Building (ASCII):
Building a decreasing monotonic stack from [3, 1, 4, 1, 5, 9, 2, 6]:
Process 3: Stack: [3]
Process 1: 1 < 3, push Stack: [3, 1]
Process 4: 4 > 1, pop 1 Stack: [3]
4 > 3, pop 3 Stack: []
push 4 Stack: [4]
Process 1: 1 < 4, push Stack: [4, 1]
Process 5: 5 > 1, pop 1 Stack: [4]
5 > 4, pop 4 Stack: []
push 5 Stack: [5]
...
The stack always maintains a decreasing order from bottom to top.Production Context: This pattern powers every code editor's bracket matching and syntax highlighting.
Problem: Given a string containing just '(', ')', '{', '}', '[' and ']', determine if the input string is valid.
Hints:
Follow-Up Constraints:
Production Context: This monotonic stack pattern is used in stock price analysis — finding the next day a stock exceeds today's price.
Problem: Given an array of daily temperatures, return an array where each element says how many days you have to wait until a warmer temperature. If there is no future warmer day, put 0.
Hints:
stack = [] # stores indices
answer = [0] * len(temps)
for i, temp in enumerate(temps):
while stack and temps[stack[-1]] < temp:
prev = stack.pop()
answer[prev] = i - prev
stack.append(i)Follow-Up Constraints:
Production Context: This is how interpreters and compilers evaluate arithmetic expressions — the foundation of every programming language.
Problem: Implement a basic calculator to evaluate a simple expression string containing '+', '-', '(', ')', and non-negative integers.
Hints:
result and sign. On '(': push result and sign, reset both. On ')': pop sign and previous result, compute result = popped_result + popped_sign * result. Time: O(n), Space: O(n).""1 + (2 - 3)"
result=0, sign=1, stack=[]
'1' -> result = 0 + 1*1 = 1
'+' -> sign = 1
'(' -> push (1, 1), result=0, sign=1
'2' -> result = 0 + 1*2 = 2
'-' -> sign = -1
'3' -> result = 2 + (-1)*3 = -1
')' -> pop (1, 1): result = 1 + 1*(-1) = 0| Area | Novice | Intermediate | Expert |
|---|---|---|---|
| LIFO/FIFO Understanding | Confused stack and queue behavior | Understood basics but struggled with when to use which | Instantly identified the right structure and explained why |
| Solution Approach | Started coding immediately, brute force only | Considered stack-based approach with guidance | Independently identified monotonic pattern or optimal structure |
| Code Quality | Off-by-one errors, messy stack manipulation | Clean push/pop logic, minor edge case misses | Production-quality code with clear variable names and comments |
| Complexity Analysis | Incorrect or missing | Correct time/space for main solution | Explained why each element is pushed/popped at most once (amortized analysis) |
| Edge Cases | None considered | Handled empty input and single element | Proactively tested nested structures, all-same values, boundary conditions |
| Communication | Silent coding | Described stack state at key points | Drew diagrams, traced through examples, taught the pattern back |
You: "Welcome! Let's warm up. Imagine you're browsing the web — you visit Google, then Wikipedia, then YouTube. You hit the back button. Where do you go?"
Candidate: "YouTube... no wait, Wikipedia."
You: "Right — Wikipedia! The last page you visited is the first one you go back to. That's a stack — Last In, First Out. Now, what if I asked you to model a printer queue instead? What changes?"
Candidate: "The first document sent should print first, so that's FIFO?"
You: "Exactly — First In, First Out. A queue. These two structures show up everywhere in coding problems. Let's see one. Given the string '({[]})', is it valid? Walk me through it step by step — no code yet, just tell me what you'd push and pop."
[Continue session...]
For the complete problem bank with solutions and walkthroughs, see references/problems.md. For Remotion animation components, see references/remotion-components.md.
© PrepLabsAI, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 2 other files (references) in agents/swe-i/stacks-queues-interviewer of PrepLabsAI/InterviewMentor.
Open the folder on GitHubat commit 609d311
Stacks Queues Interviewer next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Stacks Queues Interviewer this skillPrepLabsAI/InterviewMentor | 112 | — | ~3.3k | Automated safety check: Pass | MIT | |
| Interviewalirezarezvani/claude-skills | 28k | — | ~1.1k | Automated safety check: Pass | MIT | |
| Interviewcodewhale-hq/Codewhale | 41k | — | ~232 | Automated safety check: Pass | MIT | |
| Interview Meaddyosmani/agent-skills | 103k | 6 repos | ~3.8k | Automated safety check: Pass | MIT | |
| Gh Stackvercel/next.js | 143k | 7 repos | ~2.3k | Automated safety check: Pass | MIT | |
| Interview Coachsickn33/agentic-awesome-skills | 47k | 2 repos | ~751 | Automated safety check: Pass | MIT |
alirezarezvani/claude-skills
Phase 1 of building a Claude Managed Agent — interview the founder about the one job the agent should do, then produce a build sheet (CMA primitives table + v1/v2 deferrals + eval plan) WITHOUT…
codewhale-hq/Codewhale
Ask one useful structured question at a time only when material product/implementation choices are genuinely missing; remember answers and produce a brief/spec.
addyosmani/agent-skills
Asks one question at a time, each with a best guess attached, until the agent is about 95 percent sure what you really want, before any plan, spec or code.
vercel/next.js
Manages stacked PRs and splits multi-part work into reviewable branches with gh-stack.
sickn33/agentic-awesome-skills
Full job search coaching system — JD decoding, resume, storybank, mock interviews, transcript analysis, comp negotiation.
UsefulSoftwareCo/executor
User guide for the local squash-safe stack CLI for stacked PR repair.
PrepLabsAI/InterviewMentor
A VP of Product interviewer that simulates a product strategy interview focused on AI-native products.
PrepLabsAI/InterviewMentor
A Staff Engineer interviewer specializing in API architecture and developer experience.
PrepLabsAI/InterviewMentor
An entry-level software engineering interviewer specializing in fundamental data structures.
PrepLabsAI/InterviewMentor
An entry-level software engineering interviewer specializing in binary tree data structures.
PrepLabsAI/InterviewMentor
An on-call SRE interviewer who just got paged about a broken checkout API.
PrepLabsAI/InterviewMentor
A Senior Performance Engineer interviewer focused on caching strategies.
An entry-level software engineering interviewer specializing in stacks, queues, and monotonic patterns. Stacks Queues Interviewer is an agent skill from PrepLabsAI/InterviewMentor. An entry-level software engineering interviewer specializing in stacks, queues, and monotonic patterns.
Run `npx skills add PrepLabsAI/InterviewMentor --skill stacks-queues-interviewer -a claude-code`. Or copy the skill folder (agents/swe-i/stacks-queues-interviewer in PrepLabsAI/InterviewMentor) into .claude/skills/stacks-queues-interviewer in your project. Claude Code loads it when a task matches its description.
Run `npx skills add PrepLabsAI/InterviewMentor --skill stacks-queues-interviewer -a codex`. Or copy the skill folder (agents/swe-i/stacks-queues-interviewer in PrepLabsAI/InterviewMentor) into .agents/skills/stacks-queues-interviewer in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add PrepLabsAI/InterviewMentor --skill stacks-queues-interviewer -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/stacks-queues-interviewer, .gemini/skills/stacks-queues-interviewer, .github/skills/stacks-queues-interviewer and .opencode/skills/stacks-queues-interviewer in your project.
SKILL.md names no scripts, command-line tools or credentials: Stacks Queues Interviewer is instructions for the agent only.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Stacks Queues Interviewer is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 3.3k tokens (SKILL.md is roughly 13k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 3.3k tokens, read only when the agent opens those files.
Skills that share tags, products or a category with Stacks Queues Interviewer: Interview (alirezarezvani/claude-skills, 28k stars), Interview (codewhale-hq/Codewhale, 41k stars), Interview Me (addyosmani/agent-skills, 103k stars) and Gh Stack (vercel/next.js, 143k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
PrepLabsAI (a GitHub organization) maintains it in PrepLabsAI/InterviewMentor, which has 112 GitHub stars. The repository holds 44 skills in this directory. The repository was last updated on October 7, 2026.
Source: PrepLabsAI/InterviewMentor on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.