Repository navigation
docs(cli): astryx docs --help names docs skills - #12954
josephfarina wants to merge 1 commit into
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
AI review status for this pull request.
|
There was a problem hiding this comment.
Changes requested: the release note promises more than --help shows.
- The release note (
.changeset/docs-help-skills.md) saysastryx docs --helpnamesdocs skillsanddocs skills/<name>, but help prints only the newastryx docs skillsexample, because help is built from the command'ssummaryandpointersand the new description sentence appears only inastryx docs cli/commands/docs; reword the note to say that, or add a help example for one skill such asastryx docs skills/astryxso the claim holds.
Non-blocking: the new description lists "the project skill" without the "in a project" qualifier the skills list follows, and outside a project astryx docs skills lists no project skill. Everything else checks out: the example reaches help, the manifest golden matches the new example count, and the listed test run passes at this head.
Claims and files checked
Review mode: full; reason: no-earlier-review
- Release note,
--helpnamesdocs skillsanddocs skills/<name>with an example: false; help gains only thedocs skillsexample (packages/cli/clients/cli/lib/define-command.mjs:301-313, and the help output differs from the base by that example alone). - Description,
astryx docs skillsandastryx docs skills/<name>list and print every skill: verified (packages/cli/api/docs/docs.mjs:170-181,packages/cli/api/docs/skills/skills.mjs:65-163). - Description, help never named them before this change: verified (the base help has no skills mention).
- Description, the
docsdescription namesskillsandskills/<name>(when no doc holds that name) and the examples addastryx docs skills: verified (packages/cli/clients/cli/commands/docs.doc.mjs:29-31,:80). - Description, documentation only and the manifest golden carries the new example: verified (
packages/cli/test/__golden__/no-icon-set/manifest.json:367;experimental-isolation.test.mjspasses). - Description, public text holds no internal context: verified.
- Description, the listed vitest run passes: verified at this head.
.changeset/docs-help-skills.md: finding (the help claim above).packages/cli/clients/cli/commands/docs.doc.mjs: non-blocking note (project-skill qualifier); the--indexre-wrap is formatting only.packages/cli/test/__golden__/no-icon-set/manifest.json: clear.
4eba6d4 to
c431e8b
Compare
23200e2 to
aea5dcb
Compare
There was a problem hiding this comment.
Approved pending CI: CI has not run on this head yet, because its commit message skips CI, so the required checks still have to run and pass before merge.
Both points from the earlier review are fixed: the release note now matches what astryx docs --help prints, with docs skills and docs skills/astryx among its examples, and the docs description now says the project skill is listed only in a project. Help differs from the base by exactly those two examples, both run inside and outside a project, and the listed test run passes.
Claims and files checked
Review mode: full; reason: rebase
- Release note, help shows
docs skillsanddocs skills/astryxamong its examples and thedocscommand reference says whatskillsandskills/<name>read: verified (packages/cli/clients/cli/commands/docs.doc.mjs:29-31and:80-81; help and reference output at this head). - Description,
docs skillsanddocs skills/<name>list and print every Astryx skill: verified (packages/cli/api/docs/docs.mjs:170-181,packages/cli/api/docs/skills/skills.mjs:98-172). - Description, help never named them before this change: verified (the base help has no line about skills).
- Description, help gains both examples and the command reference says what the routes read: verified (as for the release note).
- Description, documentation only, and the manifest golden carries the new examples: verified (
packages/cli/test/__golden__/no-icon-set/manifest.json:367-368; no argument, option, default or exit code changes). - Description, public text holds no internal context: verified.
- Description, the listed vitest run passes: verified at this head.
- Description, stacked on the skills follow-up bottom and lands with it: verified (this pull request's base branch is the head of #12953).
.changeset/docs-help-skills.md: clear.packages/cli/clients/cli/commands/docs.doc.mjs: clear; the--indexre-wrap is formatting only.packages/cli/test/__golden__/no-icon-set/manifest.json: clear.
c431e8b to
f7f08f6
Compare
aea5dcb to
513937f
Compare
There was a problem hiding this comment.
Approved pending CI: CI has not run on this head yet, because its commit message skips CI, so the required checks still have to run and pass before merge.
astryx docs --help now lists docs skills and docs skills/astryx among its examples, both run inside and outside a project, the docs reference names both routes in the documented order, and the listed test run passes. No changes are needed.
Claims and files checked
Review mode: full; reason: rebase
- Release note, help shows
docs skillsanddocs skills/astryxamong its examples and thedocscommand reference says whatskillsandskills/<name>read: verified (packages/cli/clients/cli/commands/docs.doc.mjs:29-31and:80-81; help and reference output at this head). - Description,
docs skillsanddocs skills/<name>list and print every Astryx skill: verified (packages/cli/api/docs/docs.mjs:170-181,packages/cli/api/docs/skills/skills.mjs:65-91). - Description, help never named them before this change: verified (the base help has no line about skills).
- Description, help gains both examples and the command reference says what the routes read: verified (as for the release note).
- Description, documentation only, and the manifest golden carries the new examples: verified (
packages/cli/test/__golden__/no-icon-set/manifest.json:367-368; no argument, option, default or exit code changes). - Description, public text holds no internal context: verified.
- Description, the listed vitest run passes: verified at this head.
- Description, stacked on the skills follow-up bottom and lands with it: verified (this pull request's base branch is the head of #12953).
.changeset/docs-help-skills.md: clear.packages/cli/clients/cli/commands/docs.doc.mjs: clear; the--indexre-wrap is formatting only.packages/cli/test/__golden__/no-icon-set/manifest.json: clear.
- #12953 fix(cli): a skill whose integration has a doc that did not load is unread, not left out Author: @josephfarina - #12954 docs(cli): astryx docs --help names docs skills Author: @josephfarina - #12955 test(cli): a skill on a placed guide reads that guide and init writes it Author: @josephfarina - #12956 refactor(cli): one renderer for the SKILL.md files Astryx manages Author: @josephfarina - #13001 test(cli): the swizzle proof renders Lab's MediaPlayer with its required label Author: @josephfarina
|
Landed in #12993. |
Stacked on the skills follow-up bottom (a skill whose integration has a doc that did not load is unread); it lands with it.
Reader impact
astryx docs skillsandastryx docs skills/<name>list and print every Astryx skill, butastryx docs --helpnever named them, so an agent reading the help could not find them.Correction
astryx docs --helpgains the examplesastryx docs skillsandastryx docs skills/astryx; thedocscommand reference (astryx docs cli/commands/docs) says whatskillsandskills/<name>read.Scope
Components: cli (docs help)
Testing
vitest run --project node packages/cli/test/experimental-isolation.test.mjs packages/cli/clients/cli(manifest golden updated).