feat: pattern catalogue (catalogue + skill generation)#288
Open
IzumiSy wants to merge 8 commits into
Open
Conversation
78a27fb to
646031b
Compare
commit: |
d512557 to
c1f4c7f
Compare
Contributor
Author
|
- Add catalogue/ workspace package with pattern definitions - Implement dense-scan list pattern as initial seed - Add generate-skill.mjs script to produce skills from patterns - Generate skills/app-shell-patterns/ output for LLM consumption - Use gray-matter for frontmatter parsing
- detail/hero-with-actions: single-record detail with workflow actions and activity timeline - form/modal: default create/edit form with route-driven variant - form/sectioned: complex form with 15+ fields in named fieldset sections - form/single-page: routed full-page form for moderate field count - form/wizard: multi-stage create flow with step validation - interaction/confirm: confirmation dialog for destructive actions - interaction/toast: lightweight mutation feedback - interaction/multi-select: floating bottom bar for bulk row operations - Updated list/dense-scan with DataTable/useCollectionVariables guidance - Generated skills from catalogue patterns
e7cdbdb to
e375728
Compare
itsprade
approved these changes
May 26, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Implements the foundation of the Unified Pattern (platform-planning#1206), providing a
catalogue/workspace for defining UI patterns and a script to generate LLM-consumable skills from them.What's included
catalogue/workspace packagePATTERN.mdfiles with YAML frontmatter (slug, title, category, do/don't rules).tsxfiles referenced via<!-- source: file.tsx -->markers)fundamental/) — foundational rules for components, design system, and GraphQL conventions@tailor-platform/app-shellSkill generation (
catalogue/scripts/generate-skill.mjs)PATTERN.mdfiles and fundamental references across categories<!-- source: ... -->markers by embedding referenced file contents as fenced code blockspackages/core/skills/app-shell-patterns/for npm distributionSKILL.template.mdGenerated output (
packages/core/skills/app-shell-patterns/)@tailor-platform/app-shellnpm package (files: ["dist/**", "skills/**"])Seed patterns
list/dense-scan— Dense list with DataTable, sort, filters, and paginationdetail/hero-with-actions— Single-record detail view with workflow actions and activity timelineform/modal,form/sectioned,form/single-page,form/wizard— Form patternsinteraction/confirm,interaction/multi-select,interaction/toast— Interaction patternsHow to use
Out of scope (future work)