active
LeetCode Scenario Coach
Bridges the gap LeetCode doesn't cover: a problem is already abstracted away from any real-world context, but real engineering starts from a concrete situation. This tool asks an LLM to reverse that process — given a LeetCode problem, it reconstructs plausible real-world scenarios and the specific constraint that forces that exact abstraction, scoped to whatever job direction you're preparing for.
Overview
LeetCode problems are handed to you pre-abstracted — the hard part of real engineering (and real interviews) is doing that abstraction yourself, starting from a messy concrete situation. This tool runs that process in reverse with an LLM: given a problem (by slug or by tags), it reconstructs a plausible real-world scenario, the specific constraint that forces exactly that abstraction, and saves the result as a scenario card.
What it does
- Looks up the problem via leetcode-mcp-server, attached as an MCP server directly inside the Copilot session — the model calls
get_problem/search_problemsitself, no LeetCode API wrapper of its own - Reasons through situation → constraint → abstraction → problem, guided by a system prompt
- Scopes the output to a target job direction via a
profiles/*.yamlfile (focus tags, candidate domains, system prompt) — adding a new direction means adding a profile, not touchingcoach.py - Saves the result to
output/*.json, and optionally pushes it to Obsidian via the Local REST API plugin - Reuses the same
CopilotClientsession pattern asyoutube-digest/scripts/copilot_proxy.pyfor LLM access — runs on an existing GitHub Copilot subscription, no separate API key
Lessons Learned
To be added.
Roadmap
To be added.