Repository navigation
Document orbit skill management in the orbit-setup skill - #8945
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Task
ORB-23785 — Document orbit skill management in the orbit-setup skill
Description
orbit skill is a real top-level command (orbit skill --help: list, show, doctor, link, unlink; orbit skill list/doctor verified live, doctor reports all three shipped skills ok), but the orbit-setup SKILL.md router has no row leading to it: grep for skill in that router finds no management entry. The only shipped mention is a three-command snippet in crates/orbit-core/assets/skills/orbit-setup/references/maintenance.md (Managed resources and upgrades: orbit skill list/doctor/link), which omits show and unlink, and never says what each command does, when to use it (diagnosing a stale or broken skill symlink/install, inspecting one skill) or how to verify the result. Ground truth: orbit skill --help and each subcommand --help on the installed binary; scripts/sync-plugin-skills.sh for how plugin/skills is regenerated (distinct from user skill symlinks). Add a router row in orbit-setup SKILL.md and extend the maintenance.md coverage (or a fitting existing reference) to cover all five subcommands with purpose, invocation and verification (e.g. orbit skill doctor exit/output). Keep shipped text project-agnostic: no task IDs, person names or repo-only source paths.
Acceptance Criteria
Execution Summary
Click to expand
Acceptance criteria
orbit skill <sub> --help(all five run, exit 0) and against each subcommand's source (crates/orbit-cli/src/command/skill/*.rs, crates/orbit-core/src/bootstrap/init.rs link_skills, unlink_skills and ensure_skill_links, crates/orbit-core/src/application/skill.rs). A "Repair a broken client link" procedure follows the table.Files changed (4): crates/orbit-core/assets/skills/orbit-setup/SKILL.md; crates/orbit-core/assets/skills/orbit-setup/references/maintenance.md; plugin/skills/orbit-setup/SKILL.md; plugin/skills/orbit-setup/references/maintenance.md. No Rust changed, no new reference file (so no DEFAULT_SKILL_FILES change), no docs/INDEX.md row (skill assets are not indexed there). Base HEAD 3c884be was clean; ORB-23784's maintenance.md edits are already in the base, so no conflict.
Validation
Deployment note: the skill text is compiled into the binary (include_str! in crates/orbit-core/src/application/skill.rs), so ~/.orbit/skills picks up the new text only after a build that includes it and orbit workspace sync converges.
Reconciliation: git status shows only the four modified files above. Ignored scratch remains under .orbit/tmp/skill-verify from the disposable-root attempt (gitignored; worktree GC reclaims it), and scripts/pycache from ci-guards (gitignored). No cleanup denied.
Observations, not filed as friction (they do not meet the filing criteria): (1) orbit skill doctor --json prints the "All skills healthy." notice on stdout before the JSON array, so the output is not pure JSON; the shipped text does not recommend piping it. (2) The binary resolved the real global root despite HOME being overridden. maintenance.md's update-preflight text says an isolated HOME selects an authority; preflight was not tested, so that claim is unverified.
Validation
Branch Freshness
origin/agent-mainorbit/ORB-23785-0e66250e