next

GitHub

用于Docker与K8s学习平台的课程导航技能,根据进度自动跳转至下一课或挑战,处理章节切换、内容加载及进度更新。

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

Trigger Scenarios

用户输入 next, continue, move on, what's next 完成当前课程或挑战后

Install

npx skills add ericboy0224/learn-docker-and-k8s --skill next -g -y
More Options

Non-standard path

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

Use without installing

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

指定 Agent (Claude Code)

npx skills add ericboy0224/learn-docker-and-k8s --skill next -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": "next",
    "description": "Move to the next lesson or challenge in Learn Docker & K8s. Use when the user says \"next\", \"continue\", \"move on\", \"what's next\", or finishes a lesson\/challenge."
}

Navigate to Next Content

Step 1: Read Current State

Read .player/progress.yaml to find:

  • Current chapter
  • Completed lessons
  • Completed challenges

Step 2: Determine Next Item

Follow this priority order:

Within a chapter:

  1. If there are unfinished lessons → go to the next lesson
  2. If all lessons done but challenges remain → go to the next challenge
  3. If all challenges done → chapter is complete, go to next chapter

Between chapters:

  1. Run the current chapter's verify.sh one final time to confirm completion
  2. Deliver the chapter-end story beat (cliffhanger from README.md)
  3. Update progress.yaml: mark chapter as completed
  4. Offer cleanup of current chapter's Docker resources
  5. Introduce the next chapter's story opening

Step 3: Load Content

Read the appropriate file:

  • For lessons: curriculum/chXX-*/lessons/YY-*.md
  • For challenges: curriculum/chXX-*/challenges/YY-*.md

Present the content in the appropriate mode:

  • Lesson: Teaching mode (you can demonstrate, explain, run commands)
  • Challenge: Challenge mode (requirements only, hints on request)

Step 4: Update Progress

Update .player/progress.yaml to reflect the current position.

Edge Cases

  • Last challenge of Chapter 7: This is the finale! Deliver the graduation ceremony from ch07 README.md.
  • Player hasn't started yet: Redirect to /play to begin properly.
  • Player asks to go back: "Sure! Which lesson or challenge do you want to revisit?"

Version History

  • da325b6 Current 2026-07-25 07:24

Same Skill Collection

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

Metadata

Files
0
Version
da325b6
Hash
c46ad727
Indexed
2026-07-25 07:24

inicio - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-08-21 21:34
浙ICP备14020137号-1 $mapa de visitantes$