Write StyleX styles in PureScript with Iris through the built-in Iris.StyleX, Iris.StyleX.When, and Iris.StyleX.Types modules, which Iris compiles to @stylexjs/stylex calls.

Custom licenceAuto-check passedWriting & Content

Install Stylex

skills CLI
$ npx skills add purefunctor/purescript-iris --skill stylex -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install purefunctor/purescript-iris stylex --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/purefunctor/purescript-iris.git skills-src && mkdir -p .claude/skills && cp -r skills-src/compiler-executable/iris-cli/skills/stylex .claude/skills/stylex && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
stylex
GitHub stars
117
Token cost
~2.7k tokens
SKILL.md length
1,178 words
Files
1
Skills in repo
8
Repo updated
First seen
Licence
Custom licence

At a glance

Write StyleX styles in PureScript with Iris through the built-in Iris.StyleX, Iris.StyleX.When, and Iris.StyleX.Types modules, which Iris compiles to @stylexjs/stylex calls.

  • Changing styles in a module that imports Iris.StyleX
  • SKILL.md covers Translate StyleX JavaScript, Write components, Rules Iris enforces and What only the StyleX plugin…, plus 1 more section
  • Calls curl; reaches raw.githubusercontent.com
  • The StyleX plugin reports an error about StyleX code from PureScript

What it does

Stylex is an agent skill from purefunctor/purescript-iris. Write StyleX styles in PureScript with Iris through the built-in Iris.StyleX, Iris.StyleX.When, and Iris.StyleX.Types modules, which Iris compiles to @stylexjs/stylex calls. Covers translating StyleX's JavaScript API and examples into PureScript, the placement rules Iris enforces, what only the StyleX plugin checks, and bundler settings for Iris output. Use when writing or changing styles in a module that imports Iris.StyleX, when Iris or the StyleX plugin reports an error about StyleX code from PureScript, or…

Its SKILL.md is about 2.7k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Writing & Content, covering Translation. It works with JavaScript. The repository describes itself as: A compiler for the PureScript programming language.

When your agent uses it

  • Changing styles in a module that imports Iris.StyleX
  • The StyleX plugin reports an error about StyleX code from PureScript
  • Adding StyleX to a project built with Iris

Example prompts

  • “/stylex”

What it can do on your machine

Read from SKILL.md and the folder at commit f62075e. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • curl

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Hosts in commands or code, which the agent is likely to contact:

    • raw.githubusercontent.com

    Also links to:

    • stylexjs.com

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Stylex loads about 2.7k tokens when it runs. Until then it costs about 143 tokens; SKILL.md has 1,178 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~143
When it runs · the whole SKILL.md, loaded when a task matches
~2.7k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

Its licence (Custom licence) doesn't allow us to republish the file, so here is its outline and opening line. It has 1,178 words (~2,747 tokens).

“This skill covers what is specific to writing StyleX in PureScript. StyleX itself decides what properties, conditions, merging, variables, and themes mean, and its guidance changes with its releases, so read StyleX's own agent guides before writing styles unless they…”

— opening of SKILL.md by purefunctor, Custom licence
name
stylex

Read the full SKILL.md on GitHub

Files

Just SKILL.md in compiler-executable/iris-cli/skills/stylex of purefunctor/purescript-iris.

Open the folder on GitHubat commit f62075e

Compare with similar skills

Stylex next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Stylex compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Stylex this skillpurefunctor/purescript-iris117—~2.7kAutomated safety check: PassCustom licence
Translatetagspaces/tagspaces5.3k—~2.2kAutomated safety check: PassAGPL-3.0
Corvus Ecma Regexcorvus-dotnet/Corvus.JsonSchema199—~1kAutomated safety check: PassApache-2.0
Frappe Core TranslationImpertio-Studio/Frappe_Claude_Skill_Package187—~1.9kAutomated safety check: PassMIT
Azure AI Translation TSmicrosoft/skills3.1k—~2kAutomated safety check: PassMIT
Error Translatorlaolaoshiren/claude-code-skills-zh878—~609Automated safety check: PassMIT

Similar skills

  • Translate

    tagspaces/tagspaces

    Translate new or untranslated i18n strings from the English locale files (core.json + peri.json) into all other locales, maintaining consistency with each language's existing translations.

    5.3k GitHub stars~2.2k tokensUpdated 2 days ago
    Writing & ContentAuto-check passed
  • Corvus Ecma Regex

    corvus-dotnet/Corvus.JsonSchema

    Translate ECMAScript 262 /u mode regular expressions to .NET regex patterns.

    199 GitHub stars~1k tokensUpdated today
    Writing & ContentAuto-check passed
  • Frappe Core Translation

    Impertio-Studio/Frappe_Claude_Skill_Package

    A skill your agent uses when implementing translations/i18n in Frappe v14-v16 apps.

    187 GitHub stars~1.9k tokensUpdated 21 days ago
    Writing & ContentAuto-check passed
  • Azure AI Translation TS

    microsoft/skills

    Official

    Build translation applications using Azure Translation SDKs for JavaScript (@azure-rest/ai-translation-text, @azure-rest/ai-translation-document).

    3.1k GitHub stars~2k tokensUpdated 2 days ago
    Writing & ContentAuto-check passed
  • Error Translator

    laolaoshiren/claude-code-skills-zh

    编程错误消息翻译专家 — 将英文错误消息翻译成中文,解释原因并提供修复方案

    878 GitHub stars~609 tokensUpdated 3 days ago
    Writing & ContentAuto-check passed
  • Module Level Code Translator

    ArabelaTso/Skills-4-SE

    Translate source code between programming languages at function, class, and module levels while preserving behavior and generating verification tests.

    253 GitHub stars~1.9k tokensUpdated 1 mo ago
    Writing & ContentAuto-check passed

More from purefunctor/purescript-iris

All 8 skills in this repo
  • Running Compatibility Checks

    purefunctor/purescript-iris

    Runs Iris package-set compatibility comparisons with release-built verifiers.

    117 GitHub stars~605 tokensUpdated today
    Auto-check passed
  • Cutting Releases

    purefunctor/purescript-iris

    Cuts Iris GitHub releases through the version-bump PR, merge commit, tag-driven build workflow, attestations, installer tests, and generated release notes.

    117 GitHub stars~1.5k tokensUpdated today
    Auto-check passed
  • Watch

    purefunctor/purescript-iris

    Ask a running iris watch about a PureScript project with iris watch query for signatures, module exports, definitions, references, instances, dependent modules, name search, diagnostics, and…

    117 GitHub stars~1.3k tokensUpdated today
    Auto-check passed
  • Workflow Integration Tests

    purefunctor/purescript-iris

    Workflow for adding and updating Iris integration-test fixtures for unified compiler, lowering, resolving, and LSP behavior.

    117 GitHub stars~2.3k tokensUpdated today
    Auto-check passed
  • Workflow Regression Tests

    purefunctor/purescript-iris

    Workflow for producing auditable Git or jj history for a known compiler bug fix.

    117 GitHub stars~1.8k tokensUpdated today
    Auto-check passed
  • Writing Code Commentary

    purefunctor/purescript-iris

    Writes and reviews Iris compiler comments, algorithm traces, and documentation examples.

    117 GitHub stars~2.8k tokensUpdated today
    Auto-check passed

Works with

Questions about Stylex

What does Stylex do?

Write StyleX styles in PureScript with Iris through the built-in Iris.StyleX, Iris.StyleX.When, and Iris.StyleX.Types modules, which Iris compiles to @stylexjs/stylex calls. Stylex is an agent skill from purefunctor/purescript-iris.Types modules, which Iris compiles to @stylexjs/stylex calls.

When should I use Stylex?

Stylex fits situations like: changing styles in a module that imports Iris.StyleX; the StyleX plugin reports an error about StyleX code from PureScript; adding StyleX to a project built with Iris.

How do I install Stylex in Claude Code?

Run `npx skills add purefunctor/purescript-iris --skill stylex -a claude-code`. Or copy the skill folder (compiler-executable/iris-cli/skills/stylex in purefunctor/purescript-iris) into .claude/skills/stylex in your project. Claude Code loads it when a task matches its description.

How do I install Stylex in Codex?

Run `npx skills add purefunctor/purescript-iris --skill stylex -a codex`. Or copy the skill folder (compiler-executable/iris-cli/skills/stylex in purefunctor/purescript-iris) into .agents/skills/stylex in your project. Codex loads it when a task matches its description.

Can I use Stylex in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add purefunctor/purescript-iris --skill stylex -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/stylex, .gemini/skills/stylex, .github/skills/stylex and .opencode/skills/stylex in your project.

What does Stylex need to run?

Going by SKILL.md and its folder, Stylex needs the command-line tools its instructions call (curl).

Does Stylex access the network?

SKILL.md names 2 domains. In commands or code: raw.githubusercontent.com; the agent is likely to contact it when it follows the instructions. As links in the text: stylexjs.com. This is read from the text; nothing was executed.

Is Stylex safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Stylex use?

Stylex has a licence file (the repository's licence) that doesn't match a standard licence. Read it on GitHub before reusing the skill.

How many tokens does Stylex use?

About 2.7k tokens (SKILL.md is roughly 11k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Stylex?

Skills that share tags, products or a category with Stylex: Translate (tagspaces/tagspaces, 5.3k stars), Corvus Ecma Regex (corvus-dotnet/Corvus.JsonSchema, 199 stars), Frappe Core Translation (Impertio-Studio/Frappe_Claude_Skill_Package, 187 stars) and Azure AI Translation TS (microsoft/skills, 3.1k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Stylex?

purefunctor (a GitHub user) maintains it in purefunctor/purescript-iris, which has 117 GitHub stars. The repository holds 8 skills in this directory. The repository was last updated on October 8, 2026.

Source: purefunctor/purescript-iris on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.