by TidyFactor
Production-Stage Visual Design & In-Codebase UI Engineering Suite
# Add to your Claude Code skills
git clone https://github.com/TidyFactor/StylerLast scanned: 8/29/2026
{
"issues": [],
"status": "PASSED",
"scannedAt": "2026-08-29T10:51:15.053Z",
"npmAuditRan": true,
"pipAuditRan": true,
"promptInjectionRan": true
}Styler 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 110 GitHub stars.
Yes. Styler passed SkillsLLM's automated security scan — a dependency vulnerability audit plus prompt-injection heuristics — with no high-severity issues. You can read the full report in the Security Report section on this page.
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!
⚠️ 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.
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.4.1Give 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
[!IMPORTANT] The Styler Manifesto: Why Raw AI Codegen Produces Bland UI
Raw LLMs default to the statistical mean: generic purple gradients, missing interactive micro-states, arbitrary inline styles, and broken directional CSS margins (mr-*,ml-*).
TidyFactor Styler is the surgical in-codebase antidote: It enforces a zero-drift, framework-native contract that refactors live components, injects production-grade RTL ergonomics, and respects your existing design tokens without breaking upstream architecture.
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 | 7-Axis pre-emit self-critique (P, H, E, S, R, V, D) + mandatory 8-state interaction matrix |
| Context Consumption | Giant unorganized design dumps (10k+ tokens) | Context-efficient dispatcher (~350 tokens at start, loads on demand) |
```html
<!-- ❌ RAW AI GENERATION (Generic, Fragile, LTR-Hardcoded) -->
<button class="bg-purple-600 hover:bg-purple-700 text-white font-bold py-2 px-4 rounded mr-3 shadow-lg flex items-center gap-2">
<span>Submit Order</span>
<svg class="w-4 h-4 ml-1" fill="none" viewBox="0 0 24 24"><!-- hardcoded LTR arrow --></svg>
</button>
<!-- Flaws: Hardcoded mr/ml breaks RTL; Generic purple gradient; Missing focus-visible, active, disabled, and loading states; Ignores project design tokens -->
```
<!-- slide -->
```html
<!-- ✅ TIDYFACTOR STYLER POLISH (Production-Grade, Token-Aligned, Native RTL) -->
<button class="btn-primary inline-flex items-center justify-center gap-2 font-medium transition-all duration-150 ease-out focus-visible:ring-2 focus-visible:ring-primary/40 focus-visible:outline-none disabled:opacity-50 disabled:pointer-events-none data-[state=loading]:cursor-wait data-[state=loading]:opacity-80 active:scale-[0.98] me-3">
<span>تأكيد الطلب / Submit Order</span>
<svg class="w-4 h-4 rtl:rotate-180 transition-transform" aria-hidden="true" viewBox="0 0 24 24"><!-- bidi-aware --></svg>
</button>
<!-- Strengths: Native logical properties (me-3); Bidi-safe icon rotation; Full 8-state interaction matrix; Strictly scoped to existing design tokens -->
```
Choose your preferred installation method:
Install directly using the official ecosystem package runner into your active workspace:
npx @tidyfactor/cli add styler
Or if you have the CLI installed globally (npm i -g @tidyfactor/cli):
tidyfactor add styler
Install using the universal multi-agent standard across all supported IDEs (Cursor, Antigravity, Claude Code, Windsurf, Trae, Codex):
npx skills add tidyfactor/styler
Run the dedicated skill installer directly with automatic cache invalidation:
npx @tidyfactor/styler@latest
| 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 | Outpu