pattern-ui
UI Polish Phase
Only do this AFTER all logic is verified and tests pass.
Read First
docs/common/components/COMPONENTS.md- Full component referencedocs/common/patterns/style.md- Styling patternsdocs/common/patterns/two-way-binding.md- $value, $checked bindings
Available Components
Layout: ct-screen, ct-vstack, ct-hstack, ct-box
Input: ct-input, ct-textarea, ct-checkbox, ct-select
Action: ct-button
Display: ct-text, ct-status-pill
Key Patterns
Two-way binding:
<ct-input $value={field} />
<ct-checkbox $checked={done} />
Layout structure:
<ct-screen title="My Pattern">
<ct-vstack gap="md">
<ct-hstack gap="sm">
{/* horizontal items */}
</ct-hstack>
</ct-vstack>
</ct-screen>
Reference Existing Patterns
Search packages/patterns/ for UI layout examples ONLY (not data/action patterns).
Done When
- UI renders correctly
- Bindings work (typing updates state)
- No regression in data behavior
More from commontoolsinc/labs
knowledge-base
Shared foundation for Oracle & Corrector agents. Establishes the source hierarchy for resolving conflicts between documentation, code, and specs. Load this skill first when investigating how the system works.
97lit-component
Guide for developing Lit web components in the Common UI v2 system (@commonfabric/ui/v2). Use when creating or modifying cf- prefixed components, implementing theme integration, working with Cell abstractions, or building reactive UI components that integrate with the Common Fabric runtime.
61pattern-critic
Critic agent that reviews pattern code for violations of documented rules, gotchas, and anti-patterns. Produces categorized checklist output with [PASS]/[FAIL] for each rule.
54task-management
Guide for managing tasks within a session using bd (beads) for subtasks and local todo lists. Use this skill when breaking down plans into issues, tracking progress, managing dependencies, or coordinating work across sessions and agents. Triggers include requests to "manage tasks", "track progress", "break down this work", or questions about bd workflow.
52pattern-debug
Debug pattern errors systematically
51pattern-schema
Design schemas.tsx with Input/Output types for patterns
51