Skip to content

docs: add hands-on CLI tutorial#25

Merged
mmcky merged 2 commits into
mainfrom
docs/cli-tutorial
Jun 5, 2026
Merged

docs: add hands-on CLI tutorial#25
mmcky merged 2 commits into
mainfrom
docs/cli-tutorial

Conversation

@mmcky

@mmcky mmcky commented Jun 5, 2026

Copy link
Copy Markdown
Contributor

Summary

Adds a hands-on CLI tutorial to the docs — a ~10-minute walkthrough of qestyle on a real lecture, which doubles as a live-demo script.

  • New page docs/user/cli-tutorial.md: dry-run → read the report → apply fixes → git diff → measure recall vs the 42-violation catalog
  • Copy-paste demo cheat-sheet section for screen-shares
  • Links to pre-executed output committed in test-action-style-guide/examples/ (full report + applied diff + recall analysis) as a no-API-key fallback
  • Wired into docs/myst.yml TOC; cross-linked from cli.md and README.md

Verification

  • mystmd build --html builds cleanly; /cli-tutorial renders and the cheat-sheet anchor resolves (no implicit-reference warning).

🤖 Generated with Claude Code

Add docs/user/cli-tutorial.md — a 10-minute walkthrough of `qestyle` on a
real lecture (the test-action-style-guide markov_chains_jax.md, seeded with
42 catalogued violations): dry-run, read the report, apply fixes, inspect the
diff, and measure recall against the catalog. Includes a copy-paste demo
cheat-sheet for live screen-shares, and links to the pre-executed examples/
output as a no-API-key fallback.

Wire it into the MyST TOC and cross-link from the CLI reference and README.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings June 5, 2026 06:40

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR expands the user documentation by adding a hands-on qestyle CLI tutorial intended to be both a quick-start walkthrough and a live-demo script, and then wires it into the docs navigation and existing CLI docs entry points.

Changes:

  • Add a new docs/user/cli-tutorial.md page with an end-to-end, copy/paste-friendly walkthrough (dry-run → report → apply fixes → git diff → recall measurement).
  • Cross-link the tutorial from the existing CLI reference page and the top-level README.
  • Include the tutorial in the MyST docs TOC (docs/myst.yml) so it renders in the published site navigation.

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 5 comments.

File Description
README.md Adds a link to the new CLI tutorial in the User Guide list.
docs/user/cli.md Adds a tip box pointing new users to the tutorial.
docs/user/cli-tutorial.md Introduces the new hands-on CLI tutorial + demo cheat-sheet content.
docs/myst.yml Adds the tutorial page to the documentation TOC.

Comment thread docs/user/cli-tutorial.md
Comment thread docs/user/cli-tutorial.md
Comment thread docs/user/cli-tutorial.md Outdated
Comment thread docs/user/cli-tutorial.md Outdated
Comment thread docs/user/cli-tutorial.md Outdated
- Portable editor commands (note macOS `open` / Linux `xdg-open`)
- Clarify recall wording: '27 of the 30 rules seeded in the catalog'
- Show the printed report path as absolute (CLI resolves the path)
- Add companion page cli-tutorial-output.md (console output + diff + recall),
  folded from the test repo so the CLI sample lives with the CLI docs; point the
  tutorial's fallback note at it. Keeps test-action-style-guide for the Action demo.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@mmcky mmcky merged commit df55c87 into main Jun 5, 2026
4 checks passed
@mmcky mmcky deleted the docs/cli-tutorial branch June 5, 2026 07:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants