Pattern Ui

🌐Community
by commontoolsinc · vlatest · Repository

Automates repetitive UI interactions based on learned patterns, streamlining workflows and reducing manual effort.

Install on your platform

We auto-selected Claude Code based on this skill’s supported platforms.

1

Run in terminal (recommended)

terminal
claude mcp add pattern-ui npx -- -y @trustedskills/pattern-ui
2

Or manually add to ~/.claude/settings.json

~/.claude/settings.json
{
  "mcpServers": {
    "pattern-ui": {
      "command": "npx",
      "args": [
        "-y",
        "@trustedskills/pattern-ui"
      ]
    }
  }
}

Requires Claude Code (claude CLI). Run claude --version to verify your install.

About This Skill

What it does

This skill, Pattern UI, automates repetitive user interface (UI) interactions by leveraging pre-defined patterns and components. It allows AI agents to construct UIs based on established styling guidelines and component references. The focus is on streamlining the UI "polish" phase after logic verification and testing are complete. This skill provides a framework for building consistent and functional interfaces using specific CommonTools components.

When to use it

  • Creating basic layouts with ct-screen, ct-vstack, ct-hstack, and ct-box containers.
  • Implementing input fields like ct-input, ct-textarea, ct-checkbox, and ct-select.
  • Adding action buttons using the ct-button component.
  • Displaying text and status indicators with ct-text and ct-status-pill.
  • Implementing two-way data binding for input fields (e.g., $value = { field }, $checked = { done }).

Key capabilities

  • Utilizes CommonTools components: ct-screen, ct-vstack, ct-hstack, ct-box, ct-input, ct-textarea, ct-checkbox, ct-select, ct-button, ct-text, ct-status-pill.
  • Supports two-way data binding using $value and $checked attributes.
  • Provides layout structure examples for screens, stacks, and horizontal item groups.
  • Allows referencing existing UI layout patterns within the packages/patterns/ directory (excluding data or action patterns).

Example prompts

  • "Create a screen with a vertical stack containing a text field bound to 'field' and a checkbox bound to 'done'."
  • "Build a horizontal row of buttons using ct-hstack."
  • "Show me an example of two-way binding for a select component."

Tips & gotchas

  • This skill should only be used after all underlying logic is verified and tests pass.
  • Refer to the provided documentation: docs/common/components/COMPONENTS.md, docs/common/patterns/style.md, and docs/common/patterns/two-way-binding.md for component details and styling guidelines.
  • When searching for examples, focus on UI layout patterns within the packages/patterns/ directory.

Tags

🛡️

TrustedSkills Verification

Unlike other registries that point to live repositories, TrustedSkills pins every skill to a verified commit hash. This protects you from malicious updates — what you install today is exactly what was reviewed and verified.

Security Audits

Gen Agent Trust HubPass
SocketPass
SnykPass

Details

Version
vlatest
License
Author
commontoolsinc
Installs
35

🌐 Community

Passed automated security scans.