Skip to main content

scaffold-exercises

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

ソース情報

リポジトリ
redpanda-data/ui-harness
ソースの最終更新活動
2026年5月27日 14:03
検出された SKILL.md の言語
英語
スター
34
フォーク
4

インストール方法

デフォルトでは、最初にソースを確認する Prompt が選択されています。直接コマンドに切り替えるか、ローカルコピーをダウンロードすることもできます。

ソースファイルを確認

インストールを決める前に、SKILL.md と SkillsMP に表示されている付属ファイルをお読みください。

SKILL.md を表示中

SKILL.md
ソースの指示 · 読み取り専用プレビュー
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.
GitHubで見る