Skip to content

feat(skills): land remaining hybrid stubs - #9846

Merged
brennanb2025 merged 3 commits into
mainfrom
brennanb2025/land-remaining-skill-stubs
Jul 22, 2026
Merged

brennanb2025 merged 3 commits into
mainfrom
brennanb2025/land-remaining-skill-stubs

Conversation

@brennanb2025

Copy link
Copy Markdown
Contributor

What & why

Land the remaining hybrid discovery-stub rollout directly on current main.

The original rollout in #9607 was merged into the stacked brennanb2025/orca-cli-hybrid-stub base after #9238 had already merged that base to main, so the remaining seven stubs never propagated. This PR ports that reviewed change onto current main and regenerates every projection and release-history artifact from today's guides and tags.

What changed

  • convert computer-use, linear-tickets, orca-emulator, orca-emulator-android, orca-linear, orca-per-workspace-env, and orchestration to thin installed discovery stubs
  • keep the full version-matched guides embedded in Orca and served through orca skills get <topic>
  • preserve the newer Linear P0 command documentation in the canonical full guides
  • repoint guidance tests to canonical guide sources while separately testing stub safety and routing frontmatter
  • record the one-time fat-to-stub revision transition; after this, guide-only command additions do not change the installed stub package

Skill revisions

Validation

  • pnpm run verify:bundled-skill-guides
  • pnpm run verify:skill-bundle-manifest after a fresh tag fetch
  • six focused generator/guidance suites: 68 passed, 1 pre-existing skip
  • pnpm run typecheck:cli
  • focused oxlint
  • pnpm run check:max-lines-ratchet
  • git diff --check

pnpm run lint reaches an existing switch-exhaustiveness error in unchanged src/renderer/src/components/skills/skill-freshness-group.tsx:101; this branch has no diff in that file. All skill-specific lint and verification gates pass.

@coderabbitai

coderabbitai Bot commented Jul 22, 2026 •

Copy link
Copy Markdown
Contributor

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro

Run ID: 873bba34-ee72-4084-9664-6c68c957323d

📥 Commits

Reviewing files that changed from the base of the PR and between 99dc6b6 and a4c0453.

📒 Files selected for processing (2)
  • config/electron-builder.config.cjs
  • config/scripts/electron-builder-config.test.mjs

📝 Walkthrough

Walkthrough

The change separates detailed skill guidance into authoritative skill-guides documents and converts installable skills into discovery stubs. The stubs resolve the session CLI, load version-matched guides through skills get, and provide bounded read-only fallbacks for older binaries. Tests now validate guide content, stub contracts, fallback commands, frontmatter parity, and generated stub coverage. Skill manifests, release mappings, snapshots, packaging exclusions, and Linear alias descriptions are updated accordingly.

🚥 Pre-merge checks | ✅ 3 | ❌ 2

❌ Failed checks (2 warnings)

Check name Status Explanation Resolution
Description check ⚠️ Warning The PR description omits required template sections for Screenshots, AI Review Report, Security Audit, and Notes. Rewrite the description to match the template, adding Summary, Screenshots, Testing checkboxes, AI Review Report, Security Audit, and Notes.
Docstring Coverage ⚠️ Warning Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Write docstrings for the functions missing them to satisfy the coverage threshold.
✅ Passed checks (3 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly summarizes the main change: converting remaining hybrid skills to discovery stubs.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@coderabbitai coderabbitai 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.

🧹 Nitpick comments (1)
config/scripts/generate-bundled-skill-guides.test.mjs (1)

72-94: 🗄️ Data Integrity & Integration | 🔵 Trivial | ⚡ Quick win

Assert fallback behavior on generated projections too.

This test validates skill-stubs/<name>.md, but users consume skills/<name>/SKILL.md. A projection regression could drop or alter the fallback while this test remains green. Read the corresponding generated file and assert the same per-topic command contract there.


ℹ️ Review info
⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro

Run ID: 78f6df78-876e-4e34-8068-ea26ae3260da

📥 Commits

Reviewing files that changed from the base of the PR and between b81e782 and 99dc6b6.

📒 Files selected for processing (25)
  • config/scripts/computer-use-skill-guidance.test.mjs
  • config/scripts/generate-bundled-skill-guides.mjs
  • config/scripts/generate-bundled-skill-guides.test.mjs
  • config/scripts/orca-cli-skill-guidance.test.mjs
  • config/scripts/orca-linear-skill-guidance.test.mjs
  • config/scripts/orchestration-skill-guidance.test.mjs
  • resources/skills/current-manifest.json
  • resources/skills/release-mapping.json
  • resources/skills/snapshot-registry.json
  • skill-guides/linear-tickets.md
  • skill-stubs/computer-use.md
  • skill-stubs/linear-tickets.md
  • skill-stubs/orca-emulator-android.md
  • skill-stubs/orca-emulator.md
  • skill-stubs/orca-linear.md
  • skill-stubs/orca-per-workspace-env.md
  • skill-stubs/orchestration.md
  • skills/computer-use/SKILL.md
  • skills/linear-tickets/SKILL.md
  • skills/orca-emulator-android/SKILL.md
  • skills/orca-emulator/SKILL.md
  • skills/orca-linear/SKILL.md
  • skills/orca-per-workspace-env/SKILL.md
  • skills/orchestration/SKILL.md
  • src/cli/bundled-skill-guides.ts

@brennanb2025
brennanb2025 merged commit 1a9e819 into main Jul 22, 2026
20 checks passed
enrick-dev pushed a commit to enrick-dev/orca that referenced this pull request Oct 15, 2026
* feat(skills): land remaining hybrid stubs

* fix(build): exclude skill stub sources from packages
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant