Skip to content

docs(skills): teach adaptive record presentation in objectstack-ui skill (#2578)#2599

Merged
os-zhuang merged 1 commit into
mainfrom
docs/adaptive-ui-skill-2578
Jul 4, 2026
Merged

docs(skills): teach adaptive record presentation in objectstack-ui skill (#2578)#2599
os-zhuang merged 1 commit into
mainfrom
docs/adaptive-ui-skill-2578

Conversation

@os-zhuang

Copy link
Copy Markdown
Contributor

Docs follow-up to #2578 (code shipped: framework#2595 + objectui#2237, both merged & green).

Adds a Record Presentation — surface, width & columns are auto-derived section to the objectstack-ui authoring skill. Nothing in the docs taught the deprecated primitives, but the new model was untaught: since all metadata is AI-authored and the author can't know the client viewport, presentation (surface / overlay width / column count) is derived at runtime — authors write fields + fieldGroups, never presentation.

Teaches:

  • surface (page vs drawer) auto-derived from field count; navigation.mode / a Page only to override
  • span: 'full' over the deprecated absolute colSpan
  • the size bucket over the deprecated pixel width / drawerWidth
  • column count follows the real rendered width (container queries), not authored

check:skill-docs green. Empty changeset (docs-only, no release).

Refs #2578

🤖 Generated with Claude Code

…ill (#2578)

Add a "Record Presentation — surface, width & columns are auto-derived" section
to the objectstack-ui authoring skill. Nothing in the docs taught the deprecated
primitives, but the new model (all metadata is AI-authored) was untaught: surface
(page vs drawer), overlay width and column count are runtime-derived, so authors
write fields + fieldGroups and never author presentation. Teaches span over
colSpan, the size bucket over pixel width, and navigation.mode / a Page only as an
override.

Empty changeset (docs-only, no package release).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@vercel

vercel Bot commented Jul 4, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
spec Ready Ready Preview, Comment Jul 4, 2026 5:50pm

Request Review

@github-actions github-actions Bot added documentation Improvements or additions to documentation tooling size/s and removed documentation Improvements or additions to documentation tooling labels Jul 4, 2026
@os-zhuang os-zhuang merged commit a98bd13 into main Jul 4, 2026
15 checks passed
@os-zhuang os-zhuang deleted the docs/adaptive-ui-skill-2578 branch July 4, 2026 17:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant