tx-styling — community tx-styling, community, ide skills

v1.0.0

About this Skill

Perfect for Frontend Agents specializing in React and Next.js applications needing optimized Tailwind CSS styling and debugging capabilities. Guidance for using @landfolk/tx styling (tx prop, grouping syntax, Tailwind transformer, SWC + ESLint plugins) in React/Next.js.

landfolk landfolk
[0]
[0]
Updated: 3/12/2026

Killer-Skills Review

Decision support comes first. Repository text comes second.

Reviewed Landing Page Review Score: 9/11

Killer-Skills keeps this page indexable because it adds recommendation, limitations, and review signals beyond the upstream repository text.

Original recommendation layer Concrete use-case guidance Explicit limitations and caution Quality floor passed for review Locale and body language aligned
Review Score
9/11
Quality Score
51
Canonical Locale
en
Detected Body Locale
en

Perfect for Frontend Agents specializing in React and Next.js applications needing optimized Tailwind CSS styling and debugging capabilities. Guidance for using @landfolk/tx styling (tx prop, grouping syntax, Tailwind transformer, SWC + ESLint plugins) in React/Next.js.

Core Value

Empowers agents to efficiently manage Tailwind classes using the `tx` prop, streamline conditional styles with arrays, and leverage grouping syntax for hover effects, all while ensuring seamless integration with `@landfolk/tx` and adherence to best practices for `tx` template literals and linting.

Ideal Agent Persona

Perfect for Frontend Agents specializing in React and Next.js applications needing optimized Tailwind CSS styling and debugging capabilities.

Capabilities Granted for tx-styling

Optimizing component styling with `tx` prop
Debugging Tailwind extraction and linting issues
Integrating `@landfolk/tx` into React/Next.js applications for enhanced styling

! Prerequisites & Limits

  • Requires React or Next.js environment
  • Specific to Tailwind CSS and `@landfolk/tx` library

Source Boundary

The section below is imported from the upstream repository and should be treated as secondary evidence. Use the Killer-Skills review above as the primary layer for fit, risk, and installation decisions.

After The Review

Decide The Next Action Before You Keep Reading Repository Material

Killer-Skills should not stop at opening repository instructions. It should help you decide whether to install this skill, when to cross-check against trusted collections, and when to move into workflow rollout.

Labs Demo

Browser Sandbox Environment

⚡️ Ready to unleash?

Experience this Agent in a zero-setup browser environment powered by WebContainers. No installation required.

Boot Container Sandbox

FAQ & Installation Steps

These questions and steps mirror the structured data on this page for better search understanding.

? Frequently Asked Questions

What is tx-styling?

Perfect for Frontend Agents specializing in React and Next.js applications needing optimized Tailwind CSS styling and debugging capabilities. Guidance for using @landfolk/tx styling (tx prop, grouping syntax, Tailwind transformer, SWC + ESLint plugins) in React/Next.js.

How do I install tx-styling?

Run the command: npx killer-skills add landfolk/tx/tx-styling. It works with Cursor, Windsurf, VS Code, Claude Code, and 19+ other IDEs.

What are the use cases for tx-styling?

Key use cases include: Optimizing component styling with `tx` prop, Debugging Tailwind extraction and linting issues, Integrating `@landfolk/tx` into React/Next.js applications for enhanced styling.

Which IDEs are compatible with tx-styling?

This skill is compatible with Cursor, Windsurf, VS Code, Trae, Claude Code, OpenClaw, Aider, Codex, OpenCode, Goose, Cline, Roo Code, Kiro, Augment Code, Continue, GitHub Copilot, Sourcegraph Cody, and Amazon Q Developer. Use the Killer-Skills CLI for universal one-command installation.

Are there any limitations for tx-styling?

Requires React or Next.js environment. Specific to Tailwind CSS and `@landfolk/tx` library.

How To Install

  1. 1. Open your terminal

    Open the terminal or command line in your project directory.

  2. 2. Run the install command

    Run: npx killer-skills add landfolk/tx/tx-styling. The CLI will automatically detect your IDE or AI agent and configure the skill.

  3. 3. Start using the skill

    The skill is now active. Your AI agent can use tx-styling immediately in the current project.

Upstream Repository Material

The section below is imported from the upstream repository and should be treated as secondary evidence. Use the Killer-Skills review above as the primary layer for fit, risk, and installation decisions.

Upstream Source

tx-styling

Install tx-styling, an AI agent skill for AI agent workflows and automation. Review the use cases, limitations, and setup path before rollout.

SKILL.md
Readonly
Upstream Repository Material
The section below is imported from the upstream repository and should be treated as secondary evidence. Use the Killer-Skills review above as the primary layer for fit, risk, and installation decisions.
Supporting Evidence

tx styling

When to use

  • Editing components that use the tx prop or tx template literals.
  • Integrating @landfolk/tx into a React/Next.js app.
  • Debugging grouping, Tailwind extraction, or linting around tx.

Core rules

  • Prefer tx over className for Tailwind classes.
  • Use arrays for conditional styles; avoid string concatenation.
  • Use grouping syntax like hover:(bg-blue-500 text-white).
  • Do not forward tx props; only forward className.
  • For styleable components, merge className into tx.

Tooling overview

  • SWC plugin rewrites tx to className at compile time.
  • Tailwind transformer expands grouped classes for JIT extraction.
  • ESLint rule sorts and validates classes.

Grouping syntax

Example:

tsx
1<div tx="hover:(bg-blue-500 text-white)" />

Compiles to className="hover:bg-blue-500 hover:text-white". Groups can be nested.

SWC transform

  • tx="..." becomes className="...".
  • Arrays like tx={[cond && tx...]} become joined className arrays.
  • Tagged tx templates expand at compile time.
  • In dev, class strings can be wrapped with a conflict checker if registered.

Register the dev-only conflict checker once:

ts
1import '@landfolk/tx/checkConflicts'

Tailwind transformer

The transformer scans tx attributes and template literals to expand grouped syntax into full class lists so Tailwind JIT sees every class.

ESLint rule

@landfolk/tx/optimize-tailwind-classes:

  • Expands grouped syntax and re-compacts in a stable order.
  • Sorts classes using Tailwind's internal order.
  • Normalizes whitespace in arbitrary values.
  • Can validate class names when given a Tailwind config path.

Getting started

See getting-started.md for install, config, and Next.js compatibility.

Related Skills

Looking for an alternative to tx-styling or another community skill for your workflow? Explore these related open-source skills.

View All

openclaw-release-maintainer

Logo of openclaw
openclaw

Your own personal AI assistant. Any OS. Any Platform. The lobster way. 🦞

333.8k
0
AI

widget-generator

Logo of f
f

Generate customizable widget plugins for the prompts.chat feed system

149.6k
0
AI

flags

Logo of vercel
vercel

The React Framework

138.4k
0
Browser

pr-review

Logo of pytorch
pytorch

Tensors and Dynamic neural networks in Python with strong GPU acceleration

98.6k
0
Developer