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

stuck

Skill0 starsChanged 4 months agoMITView on GitHub

Give the smallest useful next foothold for a LeetCode-style or coding-interview attempt without revealing the completed algorithm or repair. Use when explicitly invoked to continue a progressive hint sequence for an attached, pictured, or pasted attempt.

3 other projects use a version of this.

Adopted by

Most recently taken up by

  • Other versions3 projects use a version of this.

    Word for word · 0

    None found.

    Edited · 0

    None found.

    Wrote their own version · 3

    1. mshadmanrahman/claude-for-designers★ 32same name
    2. wrg32786/aigent-os★ 19same name
    3. woxiangyangzhimao/skills★ 14same name

    How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.

  • In this repository12 other files it gives its agents.

The file

We split this skill into the rules it gives an agent

10 rules. 0 are common, 8 are distinctive, and 2 are very specific to this project.

  • 0

    Common

    Most of the 3 edited versions we read keep these.

  • 8

    Distinctive

    This author's own choices. Worth a look.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Read the visible problem, constraints, code, line numbers, errors, outputs, and relevant thread context.

    line 12
  2. Distinctive:

    Ask one focused question only when missing or cropped information makes the next hint unsafe.

    line 14
  3. Distinctive:

    Start at the least revealing useful level.

    line 19
  4. Distinctive:

    Keep the foothold, action, and question within the same single level.

    line 24
  5. Distinctive:

    Start after any level the user's own reasoning already establishes.

    line 25
  6. Distinctive:

    Do not provide code before level 3, repair unrelated defects, or reveal a canonical solution.

    line 27
  7. Very specific:

    Write the marker as a trailing comment in the target language's own comment syntax, and never mix two languages' syntax: // NEW in C, Java, …

    line 39
  8. Distinctive:

    Do not mark code the user has no existing version of.

    line 41
  9. Very specific:

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

    line 49
  10. Distinctive:

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

    line 53

“Common” is measured: kept by at least 6 in 10 of the 3 edited versions of this file we could read. “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

Stuck

Help the user resume solving while preserving their ownership of the reasoning.

Inspect the attempt

  1. Read the visible problem, constraints, code, line numbers, errors, outputs, and relevant thread context.
  2. Infer the language, attempted algorithm, and reasoning already demonstrated.
  3. Ask one focused question only when missing or cropped information makes the next hint unsafe. Otherwise state the assumption and proceed.

Give one progressive hint

  • Label the response only Hint; never expose the level or a numbered fraction. Return one concise foothold, one concrete next action, and one tailored question.
  • Start at the least revealing useful level. On repeated use in the same thread, advance exactly one level:
    1. Reframe the goal and choose a tiny example.
    2. Expose the key invariant, state, or data-structure requirement.
    3. Give a compact algorithm or pseudocode skeleton.
    4. Bridge the immediate code gap with the smallest marked snippet.
  • Keep the foothold, action, and question within the same single level; none may preview a later level.
  • Start after any level the user's own reasoning already establishes.
  • At level 1, limit the action and question to restating the goal or tracing a tiny example. Do not imply an invariant, remembered state, data structure, optimization direction, or named pattern.
  • Do not provide code before level 3, repair unrelated defects, or reveal a canonical solution.

At level 4, show one unchanged line around each contiguous change when available, and mark the changed lines as described below.

Mark the changes

A marker tells the user what to edit in a file they already have, so it belongs only on a patch against existing code.

  • A line the user must add → NEW
  • An existing line the user must change → MOD
  • An unchanged line shown for context → no marker

Write the marker as a trailing comment in the target language's own comment syntax, and never mix two languages' syntax: // NEW in C, Java, JavaScript, Go, or Rust; # NEW in Python, Ruby, or shell; -- MOD in SQL or Lua; <!-- NEW --> in HTML.

Do not mark code the user has no existing version of. When every line is new there is nothing to distinguish, and the markers are pure noise.

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.

Integrate an overlay without raising the hint level. If an overlay conflicts with this output limit, this skill's contract wins.

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.