Skip to content

docs: fix CLI/doc drift — validate→doctor, 14 skills, SKILL.md paths, document all subcommands - #463

Open
zeyuyang42 wants to merge 1 commit into
mainfrom
docs/cli-consistency
Open

docs: fix CLI/doc drift — validate→doctor, 14 skills, SKILL.md paths, document all subcommands#463
zeyuyang42 wants to merge 1 commit into
mainfrom
docs/cli-consistency

Conversation

@zeyuyang42

Copy link
Copy Markdown
Owner

Summary

Full audit of every doc surface (README, AGENTS.md, docs/, bundled skills, plugin manifests) against the actual clap CLI in crates/byetex-cli/src/main.rs, prompted by a reported README↔CLI mismatch. Fixes:

  • Nonexistent byetex validate advertised in AGENTS.md ("More commands") and .claude-plugin/plugin.json — the real command is byetex doctor.
  • "12 bundled skills" → 14 in README (×3), docs/plugin-setup.md (×2), docs/getting-started.md, docs/test-plan.md (×2), and both plugin manifests. build.rs embeds every skills/*/SKILL.md; there are 14.
  • Stale flat skill paths skills/<name>.mdskills/<name>/SKILL.md in README, AGENTS.md, docs/fidelity-rubric.md, and the byetex-using-warnings-json skill body.
  • README CLI section now documents compile, render, review, explain (previously only in AGENTS.md) with their actual flags and defaults.
  • byetex compile --help default-path claim corrected: compile_typ writes <input-stem>.pdf (with_extension), not <input>.pdf.

Verified unchanged/correct: every flag README documents, all referenced skill names, docs/for-agents.md, install.sh, skills/INDEX.md, and the cargo install package name.

Not touched (flagged for maintainer): plugin manifests still say "version": "0.3.0" (workspace is 0.7.0) — left alone in case the plugin channel versions independently.

Test plan

  • cargo test --workspace green in the worktree (with pinned-corpus symlinks for template_budgets).

🤖 Generated with Claude Code

… document all subcommands

Audit of every doc surface against the actual clap CLI found:
- AGENTS.md + plugin.json advertised a nonexistent `byetex validate`; the
  real command is `byetex doctor`.
- "12 bundled skills" claimed in 9 places; the binary embeds 14
  (build.rs enumerates skills/*/SKILL.md).
- Stale flat skill paths `skills/<name>.md` → `skills/<name>/SKILL.md`
  (README, AGENTS.md, fidelity-rubric, byetex-using-warnings-json body).
- README CLI section omitted `compile`, `render`, `review`, `explain`;
  added with real flags/defaults.
- `byetex compile --help` claimed default `<input>.pdf`; compile_typ
  writes `<input-stem>.pdf` (with_extension) — fixed the doc comment.

Co-Authored-By: Claude Fable 5 <[email protected]>
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.

1 participant