Skip to content

feat(skills): skills are native kind:skill assets (CL-8086) - #744

Merged
TheGreatAxios merged 7 commits into
mainfrom
cl-8086-skills-native
Sep 17, 2026
Merged

TheGreatAxios merged 7 commits into
mainfrom
cl-8086-skills-native

Conversation

@TheGreatAxios

@TheGreatAxios TheGreatAxios commented Sep 17, 2026 •

Copy link
Copy Markdown
Contributor

Closes CL-8086. Rebased onto origin/main (post hub-zero T1–T4, #747–#749); apps/hub/src/skills-mount.ts and the old /api/workflow-skills mount are gone on main, so those deletions came for free — this PR's own scope is unchanged.

Summary

  • Deletes the workbench-specific skill registry HTTP surface from @corbits/skills (registry, routes, git-history version store, per-principal scope layer) and drops the hub mount (@corbits/skills dep removed from apps/hub).
  • Skills are native kind:"skill" hub assets: the web roster lists and creates through the stock asset routes (GET/POST /api/tenants/:id/assets), unvendored and unwrapped.
  • @corbits/skills keeps SKILL.md authoring (parse/build) and the pinned-skills prompt index; agent-directory, onboarding, workflows, and the skill tool bundles read asset metadata.
  • The skill detail page renders what the stock routes carry (display title, updated note) with an explicit placeholder where registry-only content lived. Known gap: no stock route yet reads/writes a skill asset's SKILL.md content, version history, pins, or scope — see the page comment and packages/skills-tools/src/client.ts's fail-closed calls, which name the same gap rather than reaching a dead route.

Verification (post-rebase)

  • bun install: clean.
  • bun run typecheck: green.
  • bun run lint (prettier + eslint): green; only pre-existing sidecar/webhook-card/settings-ui disable-comment warnings.
  • bun run check:structural: all checks pass, including report-error (0 new findings, 0 stale baseline entries — no baseline rewrite needed).
  • Full bun run test/CI not run locally per shared-Postgres contention noted before; GitHub CI is the arbiter.

https://claude.ai/code/session_01RweuMUskU2nvcFhdckc7EG

@linear-code

linear-code Bot commented Sep 17, 2026

Copy link
Copy Markdown

CL-8086

@TheGreatAxios
TheGreatAxios force-pushed the cl-8086-skills-native branch 2 times, most recently from 73e2d40 to bcb7499 Compare September 17, 2026 16:06
Skills are native kind:skill hub assets served by the stock asset
routes. Delete the registry, its routes, the git-history version
store, and the per-principal scope layer from @corbits/skills, drop
the hub mount, and repoint agent-directory, onboarding, workflows,
and the skill tool bundles at asset metadata.
The roster lists asset metadata and creates bare skill assets; the
detail page renders the display title, updated note, and an honest
placeholder where registry-only content (body, versions, pins,
scope) lived until a stock content route exists.
Rewrite the roster, detail, picker, and chrome-consistency stubs
around GET assets?kind=skill and POST assets; drop editor, version,
restore, and scope-toggle cases with the registry pages they
covered.
…and dispatch suites (CL-8086)

The desired-state and off-route dispatch stubs still served the deleted
registry shape; they now stub GET assets?kind=skill&inherited=false.
…ural gates (CL-8086)

Rephrase three user-facing strings off banned terms, opt out two
deliberate best-effort catches, drop eight stale baseline entries for
deleted files, regenerate tsconfig references after the dep cuts.
slack-tag was deleted upstream (#743); regenerate the report-error
baseline so it only tracks entries that still exist.

Claude-Session: https://claude.ai/code/session_01RweuMUskU2nvcFhdckc7EG
@TheGreatAxios
TheGreatAxios merged commit 5f43ca8 into main Sep 17, 2026
1 of 12 checks passed
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