| name | verify-tutorial |
|---|---|
| description | Reproduce a docs tutorial's code with Deno-native tooling and confirm it builds and runs, without editing the tutorial. Use for a QA pass on a tutorial before trusting or shipping it. |
Confirm the named tutorial under examples/tutorials/ actually works when
followed exactly, using only Deno-native tooling. This is a QA pass: do not edit
the tutorial. Produce a pass/fail report backed by real command output.
-
Read the tutorial and extract the concrete steps a reader would run: the scaffold command, install command(s), every file they create with its contents, and the run and build commands.
-
Work in a throwaway directory (a scratch location, not this repo). Follow the steps literally and in order, using only
deno(deno run,deno install,deno task,deno serve). If the tutorial tells the reader to runnpm/npx/node, that itself is a finding: record it and use the Deno-native equivalent to continue. -
Prove it works, do not assert it:
- Dev server: start it in the background, then
curlthe root and the main entry module and record the HTTP status. - Build: run the production build and capture the result (module count and exit code).
- If the tutorial has a backend, stand it up and
curlan endpoint.
- Dev server: start it in the background, then
-
Report:
- Verdict: passes as written, passes with deviations, or broken.
- Each deviation you had to make (wrong command, missing import, deprecated API, stale version) with the exact error and what fixed it.
- The commands you ran and their output as evidence.
-
If you found problems, recommend the
modernize-tutorialskill to fix them. This skill does not edit or open a PR.