Skip to content

Design sync/cue studio#71

Merged
NagyVikt merged 5 commits into
mainfrom
design-sync/cue-studio
Jun 17, 2026
Merged

Design sync/cue studio#71
NagyVikt merged 5 commits into
mainfrom
design-sync/cue-studio

Conversation

@NagyVikt

Copy link
Copy Markdown
Contributor

No description provided.

NagyVikt added 5 commits June 16, 2026 15:16
Ports the PostToolUse JSON-LD validation hook from the claude-seo
open-source plugin into cue's hook format. Three files added:
- seo-schema-validate.json — hook definition (PostToolUse: Edit|Write)
- seo-schema-validate.sh  — bash bridge that reads stdin payload and
                             finds Python at runtime
- seo-schema-validate.py  — validator: exits 0 (ok), 1 (warnings),
                             or 2 (block) on deprecated types,
                             placeholder text, or broken @context/@type

Profile seo/profile.yaml updated to reference the new hook.
All 25 npx skills were already wired; cue validate seo shows
21 hooks resolved and schema valid.
…le detail

Surfaces the recommends: [] field from profile.yaml in the Studio
Profiles view. After selecting any profile (e.g. seo), its companion
suggestions (growth, blog-writer, research) appear as violet pill
buttons under the parts row — clicking one jumps the panel to that
profile.

Backend: ProfileDetail type + handleProfileDetail payload include
recommends: string[]. Frontend: api.ts type updated; Profiles.tsx
renders .pd-recommends strip; styles.css adds .pd-rec-chip rules.
…e.ai/design

Add 13 presentational studio components (Dot, LiveDot, Pill, McpBadge,
StatTile, Band, Card, GhostButton, SegmentedControl, EmptyState,
PageHeader, McpCard, MonoTag) with no API hooks, styled from
src/studio/styles.css tokens.

Wire up design-sync: config.json (componentSrcMap bypasses .d.ts
discovery), lib/index.d.ts for prop extraction, and 11 authored preview
TSX files. All 13 components pass Playwright render verification and are
synced to the 'cue Studio Design System' claude.ai/design project.
@NagyVikt NagyVikt merged commit 8e1bed4 into main Jun 17, 2026
0 of 5 checks passed
NagyVikt pushed a commit that referenced this pull request Jun 22, 2026
CI was failing at the actions/checkout submodule step for every PR
(and on main since #71): the resources/skills gitlink pinned
4274beaece3a38a4a7a85142b2f09f2b23e3ce89, which no longer exists on
opencue/skills.git (force-pushed / GC'd), so `submodule update` aborted
before lint/test/e2e could run.

Bump the gitlink to a452e5d2892d59d766b1927c9d35a6f806bce79e, the
current tip of the tracked `soul-main` branch, so checkout succeeds.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0178QDX7Jk7CkdGgH7uKfamv
NagyVikt added a commit that referenced this pull request Jun 24, 2026
* feat(studio): make marketplace Install actually install into a profile

The studio Market page listed everything addable to a profile but the
"Add to profile" picker only flashed a toast — it never wrote anything.
This wires it end-to-end so installing a marketplace item edits the
target profile.yaml for real.

- src/lib/market-install.ts: installMarketItem() edits profile.yaml in
  place, idempotently, mirroring addMcpToProfile's validation + path
  guard. Routes each addKind to its home — skill → skills.npx,
  mcp → mcps (reuses addMcpToProfile), plugin → plugins,
  profile → inherits (expands a scalar into a list), workflow →
  playbooks. A bare CLI has no profile.yaml home, so it returns a
  `manual` command for the studio to surface instead.
- dashboard-server: handleMarketInstall + POST /api/v1/market/install,
  on the existing write-side allowlist; busts the market cache on a
  real edit.
- web: installMarketItem() api helper + Market.tsx wires the picker to
  call it, shows pending/success/already-present/manual/error in the
  toast, and invalidates the profiles/detail/market queries so the
  rest of the studio reflects the new membership.
- Tests for every addKind (write + idempotency + traversal guard) and
  the handler's request validation.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0178QDX7Jk7CkdGgH7uKfamv

* fix(ci): repoint resources/skills submodule to a live commit

CI was failing at the actions/checkout submodule step for every PR
(and on main since #71): the resources/skills gitlink pinned
4274beaece3a38a4a7a85142b2f09f2b23e3ce89, which no longer exists on
opencue/skills.git (force-pushed / GC'd), so `submodule update` aborted
before lint/test/e2e could run.

Bump the gitlink to a452e5d2892d59d766b1927c9d35a6f806bce79e, the
current tip of the tracked `soul-main` branch, so checkout succeeds.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0178QDX7Jk7CkdGgH7uKfamv

* fix(types): give UNIVERSAL_DEFAULTS its pinnedCompanions default

buildUniversalSuggestions spreads UNIVERSAL_DEFAULTS over the caller's
opts, but the defaults object was missing pinnedCompanions, which became
a required key of `Required<Omit<BuildUniversalOptions, ...>>` once that
field was added — so `tsc --noEmit` failed. Default it to
UNIVERSAL_COMPANIONS (the documented default), so the spread actually
supplies it and the type is satisfied.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0178QDX7Jk7CkdGgH7uKfamv

* fix(ci): track the skills submodule's main branch (has the referenced skills)

The previous bump pointed resources/skills at soul-main's tip, but that
branch is mid-vault-migration and no longer contains skills the catalog
references — e.g. core/profile.yaml uses tools/ccusage and tools/headroom,
which exist only on the skills repo's `main` branch. That made every
profile fail the e2e resolver dry-run (E3 missing reference).

Repoint the gitlink to opencue/skills main (3c6b2569) and update
.gitmodules to track `branch = main` so `--remote` refreshes stay on the
canonical catalog. `cue validate --all` now passes (exit 0, warnings only).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0178QDX7Jk7CkdGgH7uKfamv

---------

Co-authored-by: Claude <noreply@anthropic.com>
Co-authored-by: NagyVikt <nagy.viktordp@gmail.com>
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