agentleFS
aryehcarmiaryehcarmi/leetcode-interview-coach/skills/best/SKILL.md

best

Skill0 starsChanged 4 months agoMITView on GitHub

Reveal and teach one to three interview-canonical complete solutions to a LeetCode-style problem, including derivation, correctness, complexity, tradeoffs, and code. Use only when explicitly invoked, because this workflow intentionally reveals full solutions.

The file

We split this skill into the rules it gives an agent

5 rules. About 0 are common, 4 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈4

    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
  1. Distinctive:

    Treat explicit invocation as authorization to reveal the complete interview-ready solution space.

    line 8
  2. Distinctive:

    Read the visible problem, constraints, attempted code, language, and relevant thread context.

    line 12
  3. Distinctive:

    Ask one focused question only when a missing problem rule changes the correct solution set.

    line 14
  4. Very specific:

    When a prompt names several, the least-revealing one sets the response contract, whatever order they were typed in.

    line 36
  5. Distinctive:

    Do not edit, run, or submit the user's code without permission.

    line 40

≈ “Common” is an estimate: at least 1 in 5 of the 213,895 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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Best

Treat explicit invocation as authorization to reveal the complete interview-ready solution space.

Inspect the problem

  1. Read the visible problem, constraints, attempted code, language, and relevant thread context.
  2. Infer the strongest useful language choice from the user's attempt.
  3. Ask one focused question only when a missing problem rule changes the correct solution set. Otherwise state the assumption and proceed.

Teach canonical solutions

  1. Present one to three genuinely distinct interview-worthy approaches, strongest default first. Omit redundant inferior variants.
  2. For each approach, give:
    • the recognition cue;
    • a short derivation;
    • a compact correctness argument and the important edge cases;
    • time and auxiliary-space complexity; and
    • concise benefits, tradeoffs, and when to choose it.
  3. Provide clean standalone code in the user's language when code materially aids learning. Return it unmarked: this is a solution taught from scratch, not a patch against a file the user already has, so NEW and MOD markers would land on every line and distinguish nothing.
  4. End with two or three interview-ready sentences the user could say aloud to justify the chosen approach.

Emphasize derivation and proof rather than memorized pattern labels.

Compose

Base skills, ordered by how much of the solution they hand over:

follow-up → check → lcd → stuck → salvage → optimize → best

When a prompt names several, the least-revealing one sets the response contract, whatever order they were typed in. Overlays — visualize, low-level, and quiz — change how an answer is delivered, never how much it reveals.

best is the highest rung, so any other base skill named alongside it lowers the ceiling and this skill defers to it. Do not reveal canonical solutions under a lower ceiling.

Do not edit, run, or submit the user's code without permission. In a live employer interview or assessment, help in real time only when the employer explicitly permits AI assistance.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.