create-lab-guide
Installation
SKILL.md
Create Lab Guide
Create a guide page for a Docker Labspace: clone the source repo, extract
structure from labspace.yaml, write the Hugo markdown page, and validate.
Inputs
- REPO_NAME: GitHub repo in the
dockersamplesorg (e.g.labspace-ai-fundamentals)
Step 1: Clone the labspace repo
TMPDIR=$(mktemp -d)
git clone --depth 1 https://github.com/dockersamples/{REPO_NAME}.git "$TMPDIR/{REPO_NAME}"
Step 2: Extract key information
Read these files from the cloned repo: