ss-pattern
Generate a composed UI pattern from the active StyleSeed grammar and brand recipe using existing primitives.
How do I install this agent skill?
npx skills add https://github.com/bitjaru/styleseed --skill ss-patternIs this agent skill safe to install?
- Gen Agent Trust Hubpass
This skill is designed for UI pattern generation and management. It accesses local configuration files within a .styleseed directory and uses system tools like Bash for scoring and artifact resolution. No critical vulnerabilities were detected.
- Socketpass
No alerts
- Snykpass
Risk: LOW · No issues
What does this agent skill do?
Before this workflow, follow the once-per-session update preflight.
UI Pattern Generator
Registry-first artifact boundary
When .styleseed/project.json and .styleseed/artifacts/index.json exist, resolve the requested artifact ID first, then read only .styleseed/bundles/<artifact-id>.md and .styleseed/manifests/<artifact-id>.json. Never fall back to the global legacy bundle for a registry project. Legacy projects may use .styleseed/effective-rules.md only when no registry exists.
When NOT to use
- For a single primitive component → use
/ss-component - For a full mobile screen → use
/ss-page - For an entire multi-page user flow → use
/ss-flow - For design tokens and color/spacing decisions → use
/ss-tokens
Pattern type: $0 Description: $ARGUMENTS
Available Pattern Types
Layout Patterns
- focal-summary: one dominant state, briefing, artifact, or decision
- panel-section: aligned workbench panel with related controls and evidence
- flat-step: public-service task step with explicit labels, help, and recovery
- reading-section: bounded prose, figure, caption, quote, or source group without app cards
- resource-collection: rows, table, grid, or sequence selected by the recipe and user job
- canvas-tools: focused artifact/canvas with quiet supporting tool groups
Data Display Patterns
- data-table: Table with header and rows
- detail-card: Key-value pair display
- chart-card: Card wrapper for a Recharts chart
- ranking-list: Numbered ranking with highlight
Interactive Patterns
- action-sheet: Bottom sheet with action buttons
- filter-bar: Horizontal filter/tab bar
- search-header: Search input in header area
Instructions
-
If either registry file exists, require a complete valid registry. Resolve the selected artifact with
--artifact <id>and read only.styleseed/bundles/<id>.mdand.styleseed/manifests/<id>.json. Missing/stale output needs a scoped resolve and re-check; invalid configuration is not permission to fall back or restart setup. Only when neither registry file exists, resolve the legacySTYLESEED.mdand read.styleseed/effective-rules.mdand.styleseed/manifest.json. Then inspect:components/ui/for available primitivescomponents/patterns/for existing patterns
-
Compose the pattern from existing components — DO NOT recreate primitives.
-
Follow the selected recipe rather than one default card language:
- Use
ss-pattern-surfaceonly when containment is earned. - Use
ss-page-gutterorss-page-paddinginstead of hardcoded universal gutters. - Use
ss-pattern-inset,ss-pattern-control, andss-pattern-iconfor recipe-aware shape. - Public-service and editorial recipes usually prefer flat flow, rules, and whitespace.
- Enterprise/developer recipes prefer aligned panels, rows, tables, and compact controls.
- Calm-consumer may use soft groups; expressive-brand must add a product-specific composition.
- Use
-
Use semantic tokens for all visual properties.
-
Make the pattern a reusable component with props for dynamic content.
-
Run
/ss-scoreand verify that the pattern has a functional relationship to its page instead of being an isolated pretty card.
How can the creator link this skill?
Add the canonical catalog link to the repository README so users can inspect current installs and available audits. The publishing guide covers the complete discovery path.
<a href="https://skillzs.dev/skills/bitjaru/styleseed/ss-pattern">View ss-pattern on skillZs</a>