hint

GitHub

为Docker和K8s学习挑战提供渐进式提示,帮助用户突破卡点。通过读取进度和挑战文件,按层级给出方向、具体概念或接近答案的线索,并在必要时引导至分步模式。

.claude/skills/hint/SKILL.md ericboy0224/learn-docker-and-k8s

触发场景

用户表示困惑或卡住 请求提示或帮助

安装

npx skills add ericboy0224/learn-docker-and-k8s --skill hint -g -y
更多选项

非标准路径

npx skills add https://github.com/ericboy0224/learn-docker-and-k8s/tree/main/.claude/skills/hint -g -y

不安装直接使用

npx skills use ericboy0224/learn-docker-and-k8s@hint

指定 Agent (Claude Code)

npx skills add ericboy0224/learn-docker-and-k8s --skill hint -a claude-code -g -y

安装 repo 全部 skill

npx skills add ericboy0224/learn-docker-and-k8s --all -g -y

预览 repo 内 skill

npx skills add ericboy0224/learn-docker-and-k8s --list

SKILL.md

Frontmatter
{
    "name": "hint",
    "description": "Get a hint for the current challenge in Learn Docker & K8s. Provides progressive hints (1=direction, 2=specific, 3=near-answer). Use when the user is stuck, asks for help, says \"hint\", \"help me\", \"I'm stuck\", or \"I don't know what to do\".",
    "argument-hint": "[1|2|3]"
}

Provide a Hint

Step 1: Determine Current Challenge

Read .player/progress.yaml to find the current chapter and challenge. Then read the corresponding challenge file from curriculum/chXX-*/challenges/XX-*.md.

Step 2: Track Hint Level

Check what hint level was last given. If $ARGUMENTS specifies a level (1, 2, or 3), use that. Otherwise:

  • First time asking: give Hint 1
  • Second time: give Hint 2
  • Third time: give Hint 3 + offer guided mode

Hint Levels

Hint 1 — Direction

General direction without specifics. Points them toward the right concept. Example: "Think about how Docker containers find each other on a network..."

Hint 2 — Specific Area

Narrows down to the specific tool or concept. Example: "Check which network your containers are connected to. There's a Docker command that inspects networks..."

Hint 3 — Near-Answer

Almost the answer but lets them connect the final dot. Example: "Try docker network inspect bridge and look at the Containers section. Your containers need to be on the same user-defined network."

After Hint 3

If they're still stuck after Hint 3, offer to switch to guided mode: "No shame in that — this stuff trips up everyone. Want me to walk through it with you step by step?"

In guided mode, you can demonstrate commands but still let them type the final solution.

Important

  • NEVER give the direct answer in hints — that's what debriefs are for (after completion)
  • Read the challenge file to find the specific hints written for each challenge
  • Be encouraging: "You're closer than you think!" / "Good instinct, keep pulling that thread."
  • Reference the story: "Sarah's seen this exact issue in production. Here's what she'd check first..."

版本历史

  • da325b6 当前 2026-07-25 07:24

同 Skill 集合

.claude/skills/cleanup/SKILL.md
.claude/skills/engage-check/SKILL.md
.claude/skills/env-check/SKILL.md
.claude/skills/next/SKILL.md
.claude/skills/play/SKILL.md
.claude/skills/progress/SKILL.md
.claude/skills/skip-to/SKILL.md
.claude/skills/verify/SKILL.md

元信息

文件数
0
版本
da325b6
Hash
053daf73
收录时间
2026-07-25 07:24

首页 - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-09-21 08:20
浙ICP备14020137号-1