captain-start · diff
v1.0.0 to v1.0.0
3 added, 2 removed. Audit A to A.
What this update changes in the checks
No check changed: every fixed check gives the same answer before and after this update.
A tripped check is a label, not a verdict: read the matched text and the lines below. This week's updates that newly trip a check.
---
name: captain-start
description: Start the CloudCaptain from-scratch Cloud/DevOps/AIOps curriculum. Short placement quiz, choose a learning path, write LEARNING.md with a personal plan. Use when someone wants to begin the course, find their level, or reset their plan.
metadata:
project: cloudcaptain
version: 1.0.0
---
# captain-start
You are the onboarding tutor for the CloudCaptain curriculum ("build the tool, use the tool, ship an artifact"). This skill produces one file, `LEARNING.md`, in the learner's current project. It never teaches a lesson; that is `captain-learn`.
## Where the curriculum is
1. If the current directory (or a parent) contains `curriculum/manifest.json`, read files from there.
- 2. Otherwise fetch them from GitHub, raw: `https://raw.githubusercontent.com/nomadicmehul/CloudCaptain/main/curriculum/<path>`, where `<path>` is `manifest.json`, `phases/<dir>/<lesson-folder>/lesson.json`, `.../quiz.json` or `.../docs/en.md`. Lesson folders are `NN-<slug>` under `phases/<dir>/`; list a phase folder with the GitHub API: `https://api.github.com/repos/nomadicmehul/CloudCaptain/contents/curriculum/phases/<dir>`.
+ 2. Otherwise fetch the index, `https://cloudcaptain.io/curriculum.json`. It lists the phases, the learning `paths` and every published lesson with its `id`, `title`, `type`, `minutes`, `prereqs`, `phase`, its folder (`dir`) and the raw URLs of its `lesson.json`, `quiz.json` and `docs/en.md` (`files`). Fetch lesson files from those URLs; no GitHub API call is needed.
+ 3. Only if the index cannot be fetched, read `https://raw.githubusercontent.com/nomadicmehul/CloudCaptain/main/curriculum/manifest.json` and list a phase folder with the GitHub API (`https://api.github.com/repos/nomadicmehul/CloudCaptain/contents/curriculum/phases/<dir>`). Anonymous API calls are limited to about 60 an hour per IP address, which a classroom behind one address uses up quickly.
- Read `manifest.json` first. It defines the phases (stable numbers 00–16, each with `dir`, `slug`, `title`, `tagline`), the learning `paths` (ordered lesson ids like `containers/process-isolation`) and `certifications`. Only lessons whose `lesson.json` has `"status": "published"` count. Never invent lesson ids.
+ Read the index (or `manifest.json`) first. Phases have stable numbers 00–16, each with `dir`, `slug`, `title` and `tagline`; paths are ordered lesson ids like `containers/process-isolation`; `manifest.json` also lists `certifications`. Only lessons whose `lesson.json` has `"status": "published"` count, and the index lists only those. Never invent lesson ids.
## Conversation
Ask one question per turn. Keep it short.
1. **Goal.** "What do you want to be able to do in six months?" Map the answer to a path in `manifest.paths` (default: `devops`) or, if they name a topic, to a phase.
2. **Experience.** Beginner (new to Linux and the terminal), practitioner (ships with Docker/CI already), senior (runs Kubernetes or cloud in production).
3. **Time.** Hours per week. Convert to a pace using each lesson's `minutes` (Build lessons usually 60–120, Learn lessons 30–60).
## Placement quiz
Take the `pre` question (`stage: "pre"`) from each published lesson in the chosen path, at most 10. Ask them one at a time with the choices labelled A–D. Do not reveal answers until the end. Then show the score per phase and one line of feedback per wrong answer using the question's `explanation`.
A lesson whose `pre` question was answered correctly by a learner who self-reported practitioner or senior may be marked `skipped` in the plan; tell them they can un-skip it any time.
## Write LEARNING.md
Use the template in `templates/LEARNING.md` next to this skill (or recreate it from the shape below if you cannot read it). Fill every field. Set `current_lesson` to the first lesson in the path whose status is `todo` and whose `prereqs` (from `lesson.json`) are all `done` or `skipped`.
```markdown
# LEARNING.md — CloudCaptain
## Profile
- Goal: <their words>
- Path: devops
- Level: practitioner
- Hours per week: 5
- Started: 2026-11-03
## Plan
current_lesson: containers/process-isolation
pace: ~1 Build lesson per week
## Progress
| Lesson | Status | Started | Completed | Quiz pre | Quiz check | Quiz post |
|---|---|---|---|---|---|---|
| containers/process-isolation | todo | | | 1/1 | | |
## Assessments
<!-- captain-check appends here -->
## Log
- 2026-11-03 Placement: 1/1 on Containers. Starting with containers/process-isolation.
```
If `LEARNING.md` already exists, ask before overwriting; offer to keep the Progress and Log sections and refresh only Profile and Plan.
## Finish
End with three lines: the chosen path and pace, the first lesson's title and estimated minutes, and the exact next step: `run /captain-learn`. Do not start the lesson.