Skip to content

docs(cli): astryx docs --help names docs skills - #12954

Closed
josephfarina wants to merge 1 commit into
skills-fu1from
skills-fu2
Closed

josephfarina wants to merge 1 commit into
skills-fu1from
skills-fu2

Conversation

@josephfarina

@josephfarina josephfarina commented Nov 19, 2026 •

Copy link
Copy Markdown
Contributor

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 skills and astryx docs skills/<name> list and print every Astryx skill, but astryx docs --help never named them, so an agent reading the help could not find them.

Correction

astryx docs --help gains the examples astryx docs skills and astryx docs skills/astryx; the docs command reference (astryx docs cli/commands/docs) says what skills and skills/<name> read.

Scope

Components: cli (docs help)

  • Documentation only; the manifest golden carries the new example.
  • Public text and artifacts contain no internal Meta context.

Testing

  • vitest run --project node packages/cli/test/experimental-isolation.test.mjs packages/cli/clients/cli (manifest golden updated).

@vercel

vercel Bot commented Nov 19, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
astryx Ready Ready Preview Nov 19, 2026 7:23pm UTC

Request Review

@astracat-bot

astracat-bot Bot commented Nov 19, 2026 •

Copy link
Copy Markdown
Contributor

AI review status for this pull request.

Review status Updated
🟢 Reviewed (for maintainers only) Nov 19, 2026, 7:30 PM UTC

@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Meta Open Source bot. label Nov 19, 2026

@astracat-bot astracat-bot Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Changes requested: the release note promises more than --help shows.

  • The release note (.changeset/docs-help-skills.md) says astryx docs --help names docs skills and docs skills/<name>, but help prints only the new astryx docs skills example, because help is built from the command's summary and pointers and the new description sentence appears only in astryx docs cli/commands/docs; reword the note to say that, or add a help example for one skill such as astryx docs skills/astryx so 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, --help names docs skills and docs skills/<name> with an example: false; help gains only the docs skills example (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 skills and astryx 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 docs description names skills and skills/<name> (when no doc holds that name) and the examples add astryx 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.mjs passes).
  • 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 --index re-wrap is formatting only.
  • packages/cli/test/__golden__/no-icon-set/manifest.json: clear.

Automated review (maintainer link)

Comment thread .changeset/docs-help-skills.md Resolved

@astracat-bot astracat-bot Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

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 skills and docs skills/astryx among its examples and the docs command reference says what skills and skills/<name> read: verified (packages/cli/clients/cli/commands/docs.doc.mjs:29-31 and :80-81; help and reference output at this head).
  • Description, docs skills and docs 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 --index re-wrap is formatting only.
  • packages/cli/test/__golden__/no-icon-set/manifest.json: clear.

Automated review (maintainer link)

@astracat-bot astracat-bot Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

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 skills and docs skills/astryx among its examples and the docs command reference says what skills and skills/<name> read: verified (packages/cli/clients/cli/commands/docs.doc.mjs:29-31 and :80-81; help and reference output at this head).
  • Description, docs skills and docs 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 --index re-wrap is formatting only.
  • packages/cli/test/__golden__/no-icon-set/manifest.json: clear.

Automated review (maintainer link)

josephfarina added a commit that referenced this pull request Nov 19, 2026
- #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
@josephfarina

Copy link
Copy Markdown
Contributor Author

Landed in #12993.

@github-actions
github-actions Bot deleted the skills-fu2 branch November 20, 2026 06:06

This branch was successfully deployed

1 active deployment
Preview — 513937fb Deployed Nov 19, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Meta Open Source bot.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant