ui-pattern
Generate reusable UI patterns such as card sections, grids, lists, forms, and chart wrappers using StyleSeed Toss primitives.
Best use case
ui-pattern is best used when you need a repeatable AI agent workflow instead of a one-off prompt.
Generate reusable UI patterns such as card sections, grids, lists, forms, and chart wrappers using StyleSeed Toss primitives.
Teams using ui-pattern should expect a more consistent output, faster repeated execution, less prompt rewriting.
When to use this skill
- You want a reusable workflow that can be run more than once with consistent structure.
When not to use this skill
- You only need a quick one-off answer and do not need a reusable workflow.
- You cannot install or maintain the underlying files, dependencies, or repository context.
Installation
Claude Code / Cursor / Codex
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/ui-pattern/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How ui-pattern Compares
| Feature / Agent | ui-pattern | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/A |
Frequently Asked Questions
What does this skill do?
Generate reusable UI patterns such as card sections, grids, lists, forms, and chart wrappers using StyleSeed Toss primitives.
Where can I find the source code?
You can find the source code on GitHub using the link provided at the top of the page.
Related Guides
AI Agents for Marketing
Discover AI agents for marketing workflows, from SEO and content production to campaign research, outreach, and analytics.
AI Agents for Startups
Explore AI agent skills for startup validation, product research, growth experiments, documentation, and fast execution with small teams.
AI Agents for Coding
Browse AI agent skills for coding, debugging, testing, refactoring, code review, and developer workflows across Claude, Cursor, and Codex.
SKILL.md Source
# UI Pattern ## Overview Part of [StyleSeed](https://github.com/bitjaru/styleseed), this skill builds reusable composed patterns from the seed's primitives. It is intended for sections like card lists, grids, form blocks, ranking lists, and chart wrappers that appear across multiple pages and need to look deliberate rather than ad hoc. ## When to Use - Use when you need a reusable layout pattern rather than a one-off page section - Use when a page repeats the same arrangement of cards, rows, filters, or data blocks - Use when you want to build from existing StyleSeed primitives instead of copying markup - Use when you want a pattern component with props for dynamic content ## How It Works ### Step 1: Identify the Pattern Type Common pattern families include: - card section - two-column grid - horizontal scroller - list section - form section - stat grid - data table - detail card - chart card - filter bar - action sheet ### Step 2: Read the Available Building Blocks Inspect both: - `components/ui/` for primitives - `components/patterns/` for neighboring patterns that can be extended The goal is composition, not duplication. ### Step 3: Apply StyleSeed Layout Rules Keep the Toss seed defaults intact: - card surfaces on semantic tokens - rounded corners from the system scale - shadow tokens instead of improvised shadow values - consistent internal padding - section wrappers that align with the page margin system ### Step 4: Make the Pattern Dynamic Expose data through props instead of hardcoding content. If a pattern has multiple variants, keep the API explicit and small. ### Step 5: Keep the Pattern Reusable Across Pages Avoid page-specific assumptions unless the user explicitly wants a one-off section. If the markup only works on one route, it probably belongs in a page component, not a shared pattern. ## Output Provide: 1. The generated pattern component 2. The target location 3. Expected props and usage example 4. Notes on which existing primitives were reused ## Best Practices - Start from the smallest existing building block that solves the problem - Keep container, section, and item responsibilities separate - Use tokens and spacing rules consistently - Prefer extending a pattern over adding a near-duplicate sibling ## Additional Resources - [StyleSeed repository](https://github.com/bitjaru/styleseed) - [Source skill](https://github.com/bitjaru/styleseed/blob/main/seeds/toss/.claude/skills/ui-pattern/SKILL.md) ## Limitations - Use this skill only when the task clearly matches the scope described above. - Do not treat the output as a substitute for environment-specific validation, testing, or expert review. - Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.
Related Skills
nextjs-app-router-patterns
Comprehensive patterns for Next.js 14+ App Router architecture, Server Components, and modern full-stack React development.
n8n-workflow-patterns
Proven architectural patterns for building n8n workflows.
multi-agent-patterns
This skill should be used when the user asks to "design multi-agent system", "implement supervisor pattern", "create swarm architecture", "coordinate multiple agents", or mentions multi-agent patterns, context isolation, agent handoffs, sub-agents, or parallel agent execution.
modern-javascript-patterns
Comprehensive guide for mastering modern JavaScript (ES6+) features, functional programming patterns, and best practices for writing clean, maintainable, and performant code.
microservices-patterns
Master microservices architecture patterns including service boundaries, inter-service communication, data management, and resilience patterns for building distributed systems.
memory-safety-patterns
Cross-language patterns for memory-safe programming including RAII, ownership, smart pointers, and resource management.
llm-app-patterns
Production-ready patterns for building LLM applications, inspired by [Dify](https://github.com/langgenius/dify) and industry best practices.
linkerd-patterns
Production patterns for Linkerd service mesh - the lightweight, security-first service mesh for Kubernetes.
javascript-testing-patterns
Comprehensive guide for implementing robust testing strategies in JavaScript/TypeScript applications using modern testing frameworks and best practices.
hig-patterns
Apple Human Interface Guidelines interaction and UX patterns.
error-handling-patterns
Build resilient applications with robust error handling strategies that gracefully handle failures and provide excellent debugging experiences.
e2e-testing-patterns
Build reliable, fast, and maintainable end-to-end test suites that provide confidence to ship code quickly and catch regressions before users do.