Creating a new wskill

§ 1Purpose

Start a new wskill for a topic from the wcl template, set its topic, and prove the empty model renders.

§ 2Prerequisites

§ 3Flowchart

1. Scaffold from thetemplate2. Set the topic3. Check and render the emptymodel4. Capture the first units and curate thenav

§ 4Steps

§ 4.11

§ 4.2Scaffold from the template

console
$ wcl init wskill docs/wskills/<topic>
$ cd docs/wskills/<topic>

Run wcl init wskill <path> to scaffold the folder — wskill.wcl, the schema/, the wdoc/ templates and an empty data/. Don't hand-create it. Answer the prompts (topic id, name, summary, whether to ship the optional presentation/training views), or pass -D key=value / --defaults.

§ 4.32

§ 4.4Set the topic

wcl
topic <id> {
  name    = "<Topic name>"
  summary = "<One-line description of the topic.>"
  version = "1.0.0"
  created = "<YYYY-MM-DD>"
}

Edit wskill.wcl and fill in the single topic block — its id, name and summary describe the whole wskill. Pin version to the upstream version when the topic has one, and add source blocks for where authoritative information lives (they drive the update workflow).

§ 4.53

§ 4.6Check and render the empty model

console
$ just wskill-check     # wcl check on the model + every template
$ just render           # out/book + out/skill
$ just book-serve       # live preview

Before adding any content, prove the pipeline: the scaffolded model must check clean and render. If this fails now, fix it now — every later error will then be about your content.

§ 4.74

§ 4.8Capture the first units and curate the nav

Follow Adding content for the capture loop — decompose, classify with the decision guide, write, link, and pin each unit into an index. Once a handful of units exist, build the index so the book nav and SKILL.md reflect the topic's real shape.

Verification

just wskill-check passes and just render writes out/book and out/skill; the served book shows your topic name, and each unit you add appears as its own page on the next render.