Skip to main content

scaffold-exercises

Create exercise dirs, readmes, variants, and lint-clean course stubs.

Source facts

Repository
redpanda-data/ui-harness
Last source activity
May 27, 2026 at 14:03
Detected SKILL.md language
English
Stars
34
Forks
4

Install options

The review-first prompt is selected by default. You can switch to a direct command or download a local copy.

Review the source files

Read SKILL.md and any companion files shown by SkillsMP before deciding whether to install.

Showing SKILL.md

SKILL.md
Source instructions · Read-only preview
name
scaffold-exercises
description
Create exercise dirs, readmes, variants, and lint-clean course stubs.
# Scaffold Exercises Create `exercises/` structure that passes `pnpm ai-hero-cli internal lint`, then commit. ## Naming - Sections: `XX-section-name/` - Exercises: `XX.YY-exercise-name/` - dash-case names. ## Variants Each exercise needs at least one: `problem/`, `solution/`, `explainer/`. Default stub: `explainer/`. Each variant needs non-empty `readme.md`. Code variants also need `main.ts` >1 line. ## Workflow 1. Parse plan -> sections, exercises, variant types. 2. `mkdir -p` dirs. 3. Create stub readmes with title + sentence. 4. Run `pnpm ai-hero-cli internal lint`. 5. Fix until green. ## Moving Use `git mv`, update numeric prefixes, rerun lint. No `.gitkeep`, `speaker-notes.md`, broken links, or `pnpm run exercise` in readmes.
View on GitHub