solve-coach
Skill2 starsChanged 26 days agoMITView on GitHub
Coach the user through one OAHelper coding question with a hint ladder (pattern, approach, pseudocode, code) instead of handing over the answer, and review their code. Use when the user shares an OAHelper problem link or ref and says "help me solve this", "give me a hint", "I'm stuck on this OA question", "review my solution", or "explain the approach".
In this repository8 other files it gives its agents.
- interview-insightsSkill
- mcq-drillSkill
- oa-compareSkill
- oahelper-setupSkill
- oa-mockSkill
- oa-prepSkill
- revise-mistakesSkill
- study-planSkill
The file
We split this skill into the rules it gives an agent
2 rules. About 0 are common, 1 is distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 32
When the user pastes code: trace the samples, then construct edge cases (min and max sizes, duplicates, negatives, all-equal, overflow).
- Very specific: line 38
Call oahelper_solution(ref, language) only when the user asks for the official solution.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Solve coach
Part of oahelper-mcp by Sirjan Singh.
1. Load the problem
oahelper_question(ref_or_url). It returns the statement and saves it locally. Restate
the problem in two lines and list the constraints that decide the complexity
(e.g. n <= 2e5 means O(n log n) or better).
2. Hint ladder
Give one rung at a time and wait. Move down only when the user asks or is clearly stuck.
- Observation: the key property of the input or output, no technique named.
- Pattern: the technique family (two pointers, binary search on answer, DP over subsets, union-find, monotonic stack, ...) and why the constraints point to it.
- Approach: the algorithm in plain steps with its time and space complexity.
- Pseudocode.
- Code in the user's language, only on request.
Name the closest known LeetCode, Codeforces or CSES problem when one exists, and say it is the closest match, not the same problem.
3. Review their code
When the user pastes code: trace the samples, then construct edge cases (min and max sizes, duplicates, negatives, all-equal, overflow). Report the first failing case with expected vs actual output, or confirm it passes, plus the real complexity.
4. Official solution
Call oahelper_solution(ref, language) only when the user asks for the official
solution. It may use the account's daily solution quota; the result line says how much
is left. Compare it to the user's approach rather than just pasting it.
Append the outcome to library/_progress.md
(date | company | ref | title | topic | result), where result is solved,
solved-with-hints or not-solved.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

