by TidyFactor
Production-Stage Visual Design & In-Codebase UI Engineering Suite
# Add to your Claude Code skills
git clone https://github.com/TidyFactor/StylerStyler is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by TidyFactor. Production-Stage Visual Design & In-Codebase UI Engineering Suite. It has 74 GitHub stars.
Styler's catalog security scan is still queued. You can run an instant dependency and prompt-injection check now with the "Scan for vulnerabilities" button above.
Clone the repository with "git clone https://github.com/TidyFactor/Styler" and add it to your Claude Code skills directory (see the Installation section above). Styler ships a SKILL.md manifest, so compatible agents can discover and load it automatically.
Styler is primarily written in Python. It is open-source under TidyFactor on GitHub, so you can review or fork the full source.
Yes. SkillsLLM lists many other AI Agents skills you can browse and compare side by side. Open the AI Agents category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh Styler against similar tools.
No comments yet. Be the first to share your thoughts!
Unlocks once the catalog security scan passes (runs nightly).
⚠️ Third-Party Software Notice
This skill is third-party open-source software developed and hosted independently on GitHub. SkillsLLM is an informational directory and does not control or maintain the underlying repository.
Any security checks, ratings, or warnings displayed by SkillsLLM are automated and limited in scope. They do not constitute a security certification or guarantee that the software is safe, error-free, or free from malicious code, vulnerabilities, compromised dependencies, or prompt-injection risks.
Review the source code, permissions, dependencies, and configuration before installing or running any third-party skill. Use is at your own risk. To the maximum extent permitted by applicable law, SkillsLLM is not liable for losses arising from third-party software.
The deep catalog scan for this skill is still queued. Run an instant dependency check now instead.
A command dispatcher for production-stage visual/interaction design work performed inside a real, already-existing codebase. Unlike tidyfactor-design (which builds a standalone, zero-build clickable prototype under its own locked design-system/ folder), this skill never invents its own architecture — it reads the target stack's existing conventions and produces output that belongs there.
The deliverable is always one of: a new component, a new section, a new page, or a redesign of an existing component/section/page — written in the target codebase's actual language and conventions (JSX+Tailwind for a Next.js app, a Plates partial for a TidyFactor PHP Micro project, a WordPress block/template/page-builder structure, or plain HTML/CSS/JS for a static site). The design judgment (typography, motion, design-style direction, and — as this skill's deepest specialization — Arabic/RTL correctness) is stack-agnostic and shared across all of it.
Arabic/RTL Execution Requirement. Any component, section, or page carrying Arabic content must implement memory/rtl-css-engineering.md and memory/typography-arabic.md — enforcing direction-agnostic logical properties CSS, letterform-aware font sizing, and Arabic-native layout structure.
When this is the right tool vs. others:
tidyfactor-design.tidyfactor-html, tidyfactor-next, tidyfactor-php).tidyfactor-doc.tidyfactor-skill-architect.| User intent | Command | What it loads |
|---|---|---|
| "Establish design brief / project baseline" | references/commands/brief.md |
workflows/brief.md + memory/decision-points.md |
| "Redesign/create this component" | references/commands/component.md |
workflows/component-create.md or workflows/component-redesign.md + memory/component-anatomy.md + memory/decision-points.md + matching memory/stacks/*.md |
| "Redesign/restyle this section" | references/commands/section.md |
workflows/section-create.md or workflows/section-redesign.md + memory/layout-archetypes.md + memory/nav-footer-catalog.md + memory/decision-points.md + matching memory/stacks/*.md |
| "Build a new production page" | references/commands/page.md |
workflows/page-create.md + memory/layout-archetypes.md + memory/nav-footer-catalog.md + memory/decision-points.md + matching memory/stacks/*.md |
| "Redesign this existing page" | references/commands/redesign.md |
workflows/page-redesign.md + memory/layout-archetypes.md + memory/nav-footer-catalog.md + memory/quality-bar.md + matching memory/stacks/*.md |
| "Select layout archetype / macrostructure" | references/commands/layout.md |
memory/layout-archetypes.md + matching memory/stacks/*.md |
| "Select navigation (N1–N9) & footer (Ft1–Ft8)" | references/commands/nav-footer.md |
memory/nav-footer-catalog.md + memory/typography-arabic.md + memory/rtl-css-engineering.md |
| "Pick/pair typography, incl. Arabic" | references/commands/typography.md |
memory/typography-arabic.md |
| "Extract color palette & WCAG AA contrast" | references/commands/palette.md |
memory/brand-tokens.md + memory/asset-tooling.md |
| "Asset hygiene & image optimization" | references/commands/assets.md |
memory/asset-tooling.md + memory/quality-bar.md |
| "Fix/build RTL correctness" | references/commands/rtl.md |
workflows/rtl-audit-fix.md + memory/rtl-css-engineering.md |
| "Add/review motion and interaction" | references/commands/motion.md |
memory/motion-principles.md |
| "Choose a design direction / style movement" | references/commands/styles.md |
memory/design-styles.md |
Read only the command file that matches the request. A command loads its workflow (if it has one) and its listed memory files — nothing else, until the workflow itself calls for more. component, section, page, and redesign additionally load memory/rtl-css-engineering.md and memory/typography-arabic.md whenever the target carries Arabic/bilingual content.
typography-arabic.md) using logical-properties CSS (rtl-css-engineering.md), applying the per-component checklist for icons, modals, tables, and animations.brand.json is present at the project root, read memory/brand-tokens.md and map tokens directly into CSS variables or Tailwind theme configs.memory/quality-bar.md before being called finished.Compatible with Antigravity, Claude Code, OpenAI Codex, and OpenCode.
v1.2.0Give Google Antigravity, Claude Code, Cursor, OpenAI Codex, or Windsurf a production-grade UI transformation engine that operates directly inside your live codebase — without inventing duplicate style layers, alien dependencies, or per-page CSS drift.
English • العربية • فارسی • Español • Português • 简体中文 • Deutsch • Français
Most AI UI prompts output generic HTML with inline styles, uncalibrated utility bloat, or alien libraries that clash with your existing repository.
TidyFactor/Styler enforces a strict "Conform, Don't Compete" engineering contract: it detects your project's active framework, inspects existing design tokens, and outputs stack-native components that look like your senior frontend architect wrote them.
| Dimension | Generic AI Prompting / Prototypers | tidyfactor-styler |
|---|---|---|
| Operating Environment | Isolated demo files or new sandboxes | Live, existing codebases (React/Next.js, PHP, WordPress, HTML) |
| Styling Conformance | Injects new alien CSS rules or duplicate Tailwind layers | Adopts your active Tailwind config, CSS variables, or class conventions |
| Scope Control | Sloppy edits that accidentally break global layouts | Strictly scoped refactoring (component touches only component) |
| Arabic & RTL Support | Literal flipping or broken directional margins (mr-*, left-*) |
Native Logical CSS (ms-*, pe-*, start-*) + letterform font scaling |
| Anti-Slop Quality | Generic purple AI gradients and missing interactive states | 6-Axis pre-emit self-critique + mandatory 8-state interaction matrix |
| Context Consumption | Giant unorganized design dumps (10k+ tokens) | Context-efficient dispatcher (~350 tokens at start, loads on demand) |
# Add Styler directly into your current project workspace
npx @alwkala/tidyfactor-styler add-skill
| AI Agent | Workspace Skill Path |
|---|---|
| Google Antigravity | .agents/skills/tidyfactor-styler/ or global ~/.gemini/config/skills/ |
| Claude Code | .claude-skill/skills/tidyfactor-styler/ |
| Cursor / Codex / Windsurf | .agents/skills/tidyfactor-styler/ |
Once installed, simply invoke /brief, /component, /section, or /redesign inside your AI agent chat to begin surgical UI engineering!
graph TD
Intent{"What are you building?"}
Intent -->|"Standalone prototype from zero"| D["🎨 tidyfactor-design<br/>(Zero-build HTML prototype)"]
Intent -->|"New framework skeleton"| S["🏗️ Architecture Track<br/>(tidyfactor-next, tidyfactor-php, etc.)"]
Intent -->|"Real existing codebase UI work"| ST["💎 tidyfactor-styler<br/>(Production Component/Section/Page UI)"]
| For Frontend Developers | For Fullstack & Agency Teams | For AI Coding Agents |
|---|---|---|
| Conform, Don't Compete: Adopts your existing naming, Tailwind config, and styling conventions without creating a parallel CSS system. | Full Stack Agnostic: Seamlessly switches between Next.js, PHP, WordPress, and Vanilla stacks with zero manual prompt calibration. | Token-Efficient Dispatcher: Lightweight SKILL.md entry router loads only ~350 tokens at launch, pulling memory only when required. |
| Component-Scoped Precision: Component redesigns touch only the component definition and its immediate usages — never neighboring widgets. | Arabic / RTL First-Class: Automated logical CSS properties (ms-*, pe-*, start-*), letterform-aware font scaling, and bidi isolation. |
Anti-Slop Certified: 6-axis pre-emit self-critique (P, H, E, S, R, V) blocks generic AI purple gradients and sloppy styling tells. |
| 8-State Interaction Matrix: Guarantees default, hover, active, focus, disabled, loading, empty, and error states for all components. | Brand SSOT Integration: Automatically reads brand.json and maps design tokens to native CSS custom properties or framework theme vars. |
Deterministic Checklists: Every workflow terminates with an explicit, quantifiable validation checklist before shipping. |
tidyfactor-styler exposes 13 precision slash commands organized into a modular dispatch architecture:
graph LR
SK["💎 SKILL.md<br/>(Dispatcher Router)"]
SK --> C0["Discovery<br/>(brief)"]
SK --> C1["Component Operations<br/>(component)"]
SK --> C2["Surface Operations<br/>(section, page, redesign)"]
SK --> C3["Architecture & Shell<br/>(layout, nav-footer)"]
SK --> C4["Design System & Brand<br/>(typography, palette, assets, styles)"]
SK --> C5["Engineering Quality<br/>(rtl, motion)"]
| Command | User Intent | What It Loads | Output & Value |
|---|---|---|---|
brief |
"Establish design brief / project baseline" | workflows/brief.md + memory/decision-points.md |
Pre-flight interview caching target framework and design school. |
component |
"Create / Redesign this component" | workflows/component-create.md or component-redesign.md + component-anatomy.md + stacks/*.md |
Production React/PHP/HTML component with 8-state coverage & CVA variants. |
section |
"Create / Restyle this section" | workflows/section-create.md or section-redesign.md + layout-archetypes.md + nav-footer-catalog.md |
Scoped section surface with responsive rhythm and clean visual hierarchy. |
page |
"Build a new production page" | workflows/page-create.md + layout-archetypes.md + nav-footer-catalog.md + stacks/*.md |
Complete page assembly strictly adhering to framework file conventions. |
redesign |
"Redesign this existing page" | workflows/page-redesign.md + layout-archetypes.md + nav-footer-catalog.md + quality-bar.md |
High-impact visual overhaul with zero functional regression or broken state. |
layout |
"Select layout archetype / macrostructure" | memory/layout-archetypes.md + stacks/*.md |
Matches product context to 1 of 8 macrostructure archetypes (editorial, interface, etc.). |
nav-footer |
"Select navigation & footer archetypes" | memory/nav-footer-catalog.md + typography-arabic.md + rtl-css-engineering.md |
Chooses from N1–N9 navigation and Ft1–Ft8 footer archetypes with RTL alignment. |
typography |
"Pick/pair typography, incl. Arabic" | memory/typography-arabic.md |
Applies 7 mood-routed font pairings (Cairo, Tajawal, El Messiri, Inter, Outfit). |
palette |
"Extract color palette & WCAG AA contrast" | memory/brand-tokens.md + memory/asset-tooling.md |
Generates semantic token scales with automated WCAG 2.1 AA contrast scores. |
assets |
"Asset hygiene & image optimization" | memory/asset-tooling.md + memory/quality-bar.md |
Compresses images, inspects dimensions, and processes image assets. |
rtl |
"Audit & fix RTL / Arabic correctness" | workflows/rtl-audit-fix.md + memory/rtl-css-engineering.md |
Converts directional CSS to logical properties and fixes icon flipping rules. |
motion |
"Add / review motion and interaction" | memory/motion-principles.md |
Orchestrates Framer Motion / Alpine transitions with prefers-reduced-motion a11y. |
styles |
"Choose a design direction / style movement" | memory/design-styles.md |
Directs UI to a specific aesthetic movement (Mod |