Repository navigation
docs(cli): the computer-level skill starts a page with build - #12037
Conversation
The skill the CLI writes for agents on the computer told them to start with `astryx search`, so agents searched first and reached `build` a step later, or not at all. It now says to start a page with `build` and anything else with `search`. The plugin skill is generated from the same text.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
AI review status for this pull request.
|
PR Analysis Report🔎 Preview ·
|
|
/approve-spec 5697e04 |
There was a problem hiding this comment.
Changes requested: one docs page still describes the old skill.
The FR8 rewording is approved by an engineering owner for this head, and the skill line, the generated plugin skill, the init --user help and the tests agree with it.
packages/cli/assets/docs/tree/computer-agent-guide.doc.mjs:43still tells readers the skill says "to start withsearch"; update it to say the skill starts a page withbuildand anything else withsearch, as theinit --userhelp now does.
Claims and files checked
Review mode: full; reason: no-earlier-review
- Claim: the computer skill and the plugin skill now say to start a page with
buildand anything else withsearch— verified (computer-agent-text.mjs:264,SKILL.md:10; the plugin-skill check passes). - Claim: the old skill told agents to start with
search— verified (basecomputer-agent-text.mjs:264). - Claim: the shared page workflow's first step is
astryx build— verified (agent-doc-state.mjs:45). - Claim: only one FR8 sentence changes and it needs owner approval — verified (
spec.md:468-471); approved for this head. - Claim: the kept "Start with … search" phrase lets
skillCommandOfread old and new skill files alike — verified (computer-agent-text.mjs:289). - Claim: the
init --userhelp and FR8 say the same thing — verified (init.doc.mjs:73); the global docs guide page does not (finding above). - Claim: blind agent runs moved the first step to
build— author-reported; not reproducible from the repository. - Claim: 49 tests pass, the plugin skill and README are in sync, and the knowledge check is aligned — verified by rerunning each.
- Claim: no internal context in public text — verified.
- File
.changeset/computer-skill-build-first.md— clear. - File
docs/specs/AST-081-global-mode/spec.md— clear (owner-approved). - File
packages/cli/clients/cli/commands/init.doc.mjs— clear. - File
packages/cli/foundation/agent-docs/computer-agent-text.mjs— clear. - File
packages/cli/foundation/agent-docs/computer-agent-text.test.mjs— clear. - File
plugins/astryx/skills/astryx/SKILL.md— clear (generated, in sync).
|
/approve-spec 12d2171 |
There was a problem hiding this comment.
Approved pending CI: the CI workflow on this head stopped with "CI is full" before its build and test jobs ran; re-run it so the required checks can pass.
The computer-level skill, the generated plugin skill, the init --user help, the global guide page and spec:AST-081 FR8 now all say to start a page with astryx build and anything else with astryx search, and the FR8 rewording carries an engineering owner's approval for this head. The guide-page sentence flagged in the last review now matches.
Claims and files checked
Review mode: incremental; reason: none
- Claim (changeset and description): the computer skill and the plugin skill say to start a page with
buildand anything else withsearch. Verified:computer-agent-text.mjs:264,SKILL.md:10; the plugin-skill check passes. - Claim: the old skill told agents to start with
search. Verified: basecomputer-agent-text.mjs:264. - Claim: the shared page workflow's first step is
astryx build. Verified:agent-doc-state.mjs:45. - Claim: only one FR8 sentence changes, and it needs owner approval. Verified:
spec.md:468; approved for this head. - Claim: keeping the "Start with … search" phrase lets
skillCommandOfread old and new skill files alike. Verified:computer-agent-text.mjs:288-289. - Claim: the
init --userhelp and FR8 say the same thing. Verified:init.doc.mjs:73; the guide page agrees too (computer-agent-guide.doc.mjs:43). - Claim: blind agent runs moved the first step to
build. Author-reported; not reproducible from the repository. - Claim: 49 tests pass, the plugin skill and README are in sync, and the knowledge check is aligned. Verified by rerunning each.
- Claim: documentation only, every generated artifact named, no runtime, API, visual or policy change, no internal context. Verified: the plugin skill is the only generated file and is in sync; no API change.
- File
.changeset/computer-skill-build-first.md: clear. - File
docs/specs/AST-081-global-mode/spec.md: clear (owner-approved). - File
packages/cli/assets/docs/tree/computer-agent-guide.doc.mjs: clear. - File
packages/cli/clients/cli/commands/init.doc.mjs: clear. - File
packages/cli/foundation/agent-docs/computer-agent-text.mjs: clear. - File
packages/cli/foundation/agent-docs/computer-agent-text.test.mjs: clear. - File
plugins/astryx/skills/astryx/SKILL.md: clear (generated, in sync).
Reader impact
Agents read the skill the CLI writes for the computer (and the Claude Code and Codex plugin skill made from it). It told them to start with
astryx search, so agents asked for a page searched first and reachedbuilda step later. With the new line they start the page from the templatebuildnames.Source of truth
spec:AST-081FR8 (the computer-level text) and the shared page workflow infoundation/agent-docs/agent-doc-state.mjs, whose first step isastryx build. This PR changes one FR8 sentence, so it needs the record owner's approval.Correction
Before: "Its docs, components, templates, and themes are all reachable through
astryx. Start withastryx search '<what you need>'."After: "Its docs, components, templates, and themes are all reachable through
astryx. To make a page, runastryx build "<what the page is for>"first, as the WORKFLOW below says. Start withastryx search '<what you need>'for anything else."The sentence that starts with "Start with
astryx search '" stays, soskillCommandOfreads old and new skill files the same way.init --user` help and FR8 say the same thing.Evidence
Blind runs with public coding agents (Claude Code and Codex). Each run had a fresh home with the global CLI 0.7.16 and this skill, and got a casual page request that did not name Astryx ("Make me a dashboard page for my team's on-call: …", "I need a settings page for an internal tool: …"). Four runs per arm per agent:
buildbuildwas its first Astryx stepdoctorCodex started with
searchin 4 of 4 runs before and withbuildin 4 of 4 after. Claude Code started withbuildin both arms.Held-out tasks, written and scored separately (two other page requests, the same two agents, two runs each):
buildwas the first Astryx step in 5 of 8 runs before and 8 of 8 after (Codex 1/4 → 4/4). Using Astryx, scaffolding,doctorand the app build stayed at 8 of 8 in both arms.Scope
Components: cli (computer-level agent text,
initdocs), plugins/astryx skill (generated), spec AST-081 FR8Testing
pnpm exec vitest run --project node packages/cli/foundation/agent-docs/computer-agent-text.test.mjs packages/cli/api/init/init.test.mjs: 49 passed.node scripts/generate-agent-plugin-skill.mjs --check: in sync.node packages/cli/scripts/generate-cli-readme.mjs --check: in sync.pnpm check:knowledge: aligned.Writing rubric results
Scope: the one changed FR8 sentence of
spec:AST-081.R1 narration: none; the sentence states what the text tells an agent, in the present tense.
R2 research: none in the record; the blind-run results stay in this description.
R3 evidence: none changed.
R4 rejected alternatives: none added.
R5 change references: none.
R6 open questions: none touched.
R7 project status: none.