Scaffold exercises

From redpanda-data/ui-harness · View interactive version

Scaffold exercises is an AI agent skill from the GitHub repository redpanda-data/ui-harness. Create exercise dirs, readmes, variants, and lint-clean course stubs.

How to use this skill

Skill file

Scaffold Exercises

Create exercises/ structure that passes pnpm ai-hero-cli internal lint, then commit.

Naming

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.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.