Skip to content

Document orbit skill management in the orbit-setup skill - #8945

Merged
orbit-agent-01 merged 1 commit into
agent-mainfrom
orbit/ORB-23785-0e66250e
Nov 9, 2026
Merged

orbit-agent-01 merged 1 commit into
agent-mainfrom
orbit/ORB-23785-0e66250e

Conversation

@orbit-agent-01

Copy link
Copy Markdown
Contributor

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

  • orbit-setup SKILL.md router leads to the reference covering orbit skill management
  • All five subcommands (list, show, doctor, link, unlink) are covered with what each does, when to run it and how to verify, checked against orbit skill --help
  • Shipped skill text stays project-agnostic: no task IDs, person names or repo-only source paths added
  • scripts/sync-plugin-skills.sh run and plugin/skills/ companions match the canonical files
  • scripts/validate-agent-plugin.sh and scripts/validate-codex-plugin.sh pass

Execution Summary

Click to expand

Acceptance criteria

  1. Router leads to the reference: met. New row in orbit-setup SKILL.md (line 64) links "Maintenance — Skill management" to references/maintenance.md#skill-management.
  2. All five subcommands covered: met. New "## Skill management" section in maintenance.md with a table for list, show, doctor [name], link and unlink: what each does, when to run it, how to verify it. Checked against 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.
  3. Project-agnostic shipped text: met. Added text has no task IDs, person names or repo-only paths. Only user-level paths appear (~/.orbit/skills/, ~/.agents/skills/, ~/.claude/skills/).
  4. Sync and companions: met. scripts/sync-plugin-skills.sh was run; --check passes; plugin/skills/orbit-setup/SKILL.md and references/maintenance.md are identical to canonical (diff -r clean). orbit and orbit-orchestrate in plugin/skills were regenerated and unchanged.
  5. Validators: met. scripts/validate-agent-plugin.sh and scripts/validate-codex-plugin.sh both pass.

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

  • Passed: orbit skill --help and the five subcommand --help; orbit skill list; orbit skill show orbit-setup; orbit skill doctor (all healthy); orbit skill doctor orbit-setup; orbit skill doctor no-such-name (exit 1, expected); orbit skill show no-such-skill (exit 1, expected); scripts/sync-plugin-skills.sh --check; scripts/validate-agent-plugin.sh; scripts/validate-codex-plugin.sh; make ci-guards (exit 0); git diff --check.
  • Not run: cargo fmt, clippy and test, and make goldens (no Rust changed and no CLI help or MCP text changed); docs-index (skill assets are not in docs/INDEX.md).
  • Not verified live: the effects of orbit skill link and unlink, and doctor's dangling-link warning. The real ~/.agents/skills and ~/.claude/skills links are the operator's live client links, so unlink was not run and the real links were not changed. The link, unlink and dangling-link text comes from source. The claim that doctor exits 0 when it reports findings is also source-only (it returns Ok and prints the issue count to stderr). A disposable-root attempt did not isolate: the orbit binary ignored the HOME override (show still reported the real ~/.orbit), and --root needs an initialized workspace. link was run twice in that attempt; both runs reported "already up to date" and changed nothing; the real links were confirmed intact afterwards.

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

  • Not reported

Branch Freshness

  • Base ref: origin/agent-main
  • Head ref: orbit/ORB-23785-0e66250e
  • Behind base: 0
  • Ahead of base: 1

@orbit-agent-01 orbit-agent-01 added the orbit orbit related label Nov 9, 2026
@orbit-agent-01
orbit-agent-01 merged commit 68209b2 into agent-main Nov 9, 2026
15 checks passed
@orbit-agent-01
orbit-agent-01 deleted the orbit/ORB-23785-0e66250e branch November 9, 2026 19:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

orbit orbit related

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant