Skip to content

docs(skill): update app-shell-patterns for new components (1.7.0)#359

Merged
interacsean merged 5 commits into
mainfrom
feat/skill-ux-improvements
Jul 3, 2026
Merged

docs(skill): update app-shell-patterns for new components (1.7.0)#359
interacsean merged 5 commits into
mainfrom
feat/skill-ux-improvements

Conversation

@itsprade

@itsprade itsprade commented Jul 3, 2026

Copy link
Copy Markdown
Contributor

Summary

Syncs the app-shell-patterns skill (packages/core/skills/app-shell-patterns/) with components and APIs shipped since the docs were last pinned at 0.36.0, and repairs the cross-references between the component catalog and the pattern files. Docs-only — no source changes.

Reference images (references/images/) are intentionally excluded and will land in a separate follow-up PR.

New / updated component docs

  • Version bump: 0.36.01.7.0.
  • Grid — new entry; canonical wrapper for metric/KPI strips (never one-per-row).
  • DocumentProgressCard — new entry (presentational lifecycle/fulfilment card).
  • Alert — new entry (inline banner; variant / action / dismissible).
  • Tabs — new entry (Root/List/Tab/Panel, variant default|line|capsule). Also fixes a doc bug: the Layout example used Tabs.Trigger, but the real subcomponent is Tabs.Tab.
  • Alignment props — documented Table.Head/Table.Cell align (left|center|right) and DataTable Column.align (numeric type auto-right); examples switched off ad-hoc text-right classes.
  • Badge — expanded to the full 15-variant set (filled / subtle-* / outline-*) with a primary vs. secondary status split.
  • Select / Combobox / Autocomplete — documented the standalone accessible-name props (aria-label / aria-labelledby / id).

Interlinking fixes

  • Grid, MetricCard, DocumentProgressCard, Alert, Tabs were documented but not referenced back from any pattern. All five are now wired into detail/hero-with-actions (requiredImports + a new "Optional cards" section) and/or list/dense-scan, so every "Used in patterns" claim resolves bidirectionally.
  • New alignment props are now demonstrated in real pattern examples.

Cross-cutting rules

  • Composition & emphasis rules: one primary action per view, no duplicate actions across Header/ActionPanel, action placement, metric tiles in Grid, forms default to modal, and handling loading/empty/error states.

🤖 Generated with Claude Code

Sync the app-shell-patterns skill with components shipped since 0.36.0:

- Bump documented AppShell version 0.36.0 -> 1.7.0
- Add Grid entry + make it the canonical wrapper for metric/KPI strips
- Add DocumentProgressCard entry (lifecycle/fulfilment progress card)
- Document Table Head/Cell `align` (left|center|right) and DataTable
  Column `align` (numeric auto-right); switch examples off ad-hoc classes
- Expand Badge to the full 15-variant set (filled / subtle / outline-*)
  with a primary/secondary status split
- Document standalone accessible-name props on Select/Combobox/Autocomplete
- Add cross-cutting UX + composition & emphasis rules (one primary action,
  no duplicate actions, action placement, metric tiles in Grid, forms
  default to modal, handle loading/empty/error states)
- Refine detail/hero-with-actions layout variants and list/dense-scan
  status-variant guidance to match the primary/secondary badge split

Reference images are intentionally left out of this PR and will follow separately.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@itsprade itsprade requested a review from a team as a code owner July 3, 2026 05:07
itsprade and others added 2 commits July 3, 2026 10:48
Complete the component-coverage pass on the app-shell-patterns skill:

- Add missing component entries: Alert (variant/action/dismissible) and
  Tabs (Root/List/Tab/Panel, variant default|line|capsule)
- Fix doc bug: Layout example used Tabs.Trigger; real subcomponent is Tabs.Tab
- Wire up broken bidirectional links — Grid, MetricCard, DocumentProgressCard
  were documented as "Used in patterns: detail/*" but never referenced back.
  Add them to detail/hero-with-actions requiredImports + a new "Optional
  cards" section (metric strip, progress card, inline Alert)
- Demonstrate the new alignment props in pattern examples: Table.Head/Cell
  align="right" on numeric columns (detail), DataTable Column.align on the
  Amount column (list-dense-scan)

Reference images remain excluded (separate PR).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Run oxfmt on the docs touched in this branch (the earlier commits skipped
the pre-commit hook while local Node was on the wrong major). No content
changes — emphasis-marker normalization and requiredImports array wrapping.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
interacsean and others added 2 commits July 3, 2026 16:04
Adopt the repo's "<does X>. Use when: …" convention so the skill triggers
on UI-building intent (list/table/form/modal/wizard/interaction) and states
the app-shell-installed precondition, instead of the passive "catalog" phrasing.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@interacsean interacsean merged commit a34fe84 into main Jul 3, 2026
4 checks passed
@interacsean interacsean deleted the feat/skill-ux-improvements branch July 3, 2026 06:54
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.

2 participants