1. Scaffold your first wskill

Create a wskill folder with wcl init and take the tour.

After this lesson you can

- Scaffold a new wskill folder from the built-in template - Name the parts of the generated tree and what each is for - Validate the empty model with wcl check

A wskill starts from the built-in scaffold: one command generates the whole folder — the schema, the projection templates, and empty data files ready for content.

The generated tree splits into three zones: schema/ (the data model — base.wcl is generated, kinds.wcl and extensions.wcl are yours), data/ (the content you'll write), and wdoc/ (the projection templates that render it).

§ 1Exercise: Scaffold and validate

Create a wskill about a topic you know well, then validate the empty model.

bash
wcl init wskill ./my-topic
cd my-topic
wcl check wskill.wcl

Expected result

wcl check prints OK — the scaffolded model is valid before you add any content.

Hint

wcl init wskill prompts for a topic id, name, and summary; accept the defaults with --defaults if you just want to explore.