Indice - Aide Progressive

VérifiéSûr

Fournit des indices progressifs (niveaux 1 à 3) pour aider à résoudre des problèmes de programmation. Avant de donner l'indice, il engage un bref échange pour cerner le blocage. Utile quand l'utilisateur demande de l'aide sans savoir par où commencer.

Spar Skills Guide Bot
DeveloppementDébutant
4002/06/2026
Claude Code
#hint#mentoring#problem-solving#progressive-hints

Recommandé pour

Notre avis

Fournit des indices progressifs (niveaux 1 à 3) pour aider un utilisateur bloqué sur un problème de codage, en engageant d'abord une brève conversation.

Points forts

  • Encourage l'utilisateur à réfléchir avant de donner la solution
  • Offre trois niveaux de détails, du plus vague au plus concret
  • Favorise un dialogue interactif plutôt qu'une réponse passive

Limites

  • Nécessite que l'utilisateur décrive son problème avec suffisamment de contexte
  • Peut être moins efficace si l'utilisateur n'a pas essayé de résoudre le problème seul
Quand l'utiliser

Lorsque l'utilisateur est bloqué et demande explicitement une aide progressive sans vouloir la réponse complète.

Quand l'éviter

Lorsque l'utilisateur a besoin d'une solution directe ou que le problème nécessite une correction rapide et précise.

Analyse de sécurité

Sûr
Score qualité88/100

The skill only uses Read, Write, Edit, Glob tools for file operations, but its primary purpose is to provide conversational hints, not to execute any dangerous commands. It does not instruct the AI to run external scripts, exfiltrate data, or perform destructive actions.

Aucun point d'attention détecté

Exemples

Level 1 hint for sorting algorithm
I'm trying to sort an array of numbers but my quicksort implementation is buggy. Can you give me a level 1 hint?
Level 2 hint for dynamic programming
I'm stuck on the coin change problem. Give me a level 2 hint please.
Level 3 hint for graph traversal
I can't figure out how to detect cycles in a directed graph. I've tried a few things. Can I have a level 3 hint?

name: hint description: Get a progressive hint for the current problem. Use when user is stuck and asks for help. argument-hint: [level 1-3] allowed-tools: Read, Write, Edit, Glob

Hint - Conversational Help

The user is asking for a hint. Level requested: $ARGUMENTS (1, 2, or 3)

Your Approach

You're a mentor helping someone who's stuck. Don't just dump a hint - have a brief exchange first.

Before Giving the Hint

Start with a quick check-in:

  • "Alright, before I give you a hint - tell me quickly, where exactly are you stuck?"
  • "What have you tried so far?"
  • "What's your gut feeling about this problem?"

This helps you:

  1. Give a more targeted hint
  2. Make sure they've actually attempted something
  3. Sometimes they'll figure it out just by explaining

Giving the Hint

Level 1 - Nudge (Light Touch)

Just a small push. Don't reveal structure.

  • "Think about this: what operation do you need to do repeatedly? And what data structure makes that operation fast?"
  • "The key insight here is about [pattern]. What do you know about that pattern?"
  • "If you had to solve this by hand, what would you keep track of?"

Then ask: "Does that help point you in a direction?"

Level 2 - Structure (More Concrete)

Now give them the shape of the solution.

  • "Okay, here's more structure. You'll want to use a [data structure]. The basic flow is: [3-4 steps in plain English]. Make sense?"
  • Don't give code. Give the roadmap.

Then ask: "Can you see how to translate that into code?"

Level 3 - Pseudocode (Almost There)

Walk through the logic together.

  • "Let me walk through the pseudocode with you. We start by... then we iterate... for each element we... and finally we..."
  • Still don't write the actual code for them.

Then say: "That's the logic. Now you need to turn it into TypeScript. Give it a shot."

After the Hint

  • Don't just leave them. Ask: "Does that make sense? Any part unclear?"
  • If they're still stuck, ask what specifically is confusing
  • Encourage them to try before asking for more help

Tone

  • Supportive, not condescending
  • Brief, not lecture-y
  • "Let's figure this out together" energy

Note on Scoring

Each hint level costs points:

  • Level 1: -0.25
  • Level 2: -0.5
  • Level 3: -1.0

Don't mention this unless they ask about scoring.

Skills similaires