Triage a Nativewind or react-native-css GitHub issue. An agent skill from nativewind/react-native-css.

MITAuto-check: notesMobile

Install Triage

skills CLI
$ npx skills add nativewind/react-native-css --skill triage -a claude-code

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

GitHub CLI
$ gh skill install nativewind/react-native-css triage --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/nativewind/react-native-css.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/triage .claude/skills/triage && 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
triage
GitHub stars
165
Token cost
~2.9k tokens
SKILL.md length
1,130 words
Files
1
Skills in repo
3
Repo updated
First seen
Licence
MIT

At a glance

Triage a Nativewind or react-native-css GitHub issue. An agent skill from nativewind/react-native-css.

  • Works in 8 steps: Parse the issue reference → Read the issue → Determine repo and version context → …
  • Tasks that involve Cross-platform mobile apps
  • SKILL.md covers Project context, Step 0: Parse the issue…, Step 1: Read the issue and Step 2: Determine repo and…, plus 6 more sections
  • Calls yarn, npx and gh

What it does

Triage is an agent skill from nativewind/react-native-css. Triage a Nativewind or react-native-css GitHub issue. Reads the issue, determines version/repo, creates a reproduction, tests against latest published and local HEAD, then drafts a comment.

Its SKILL.md is about 2.9k 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 Mobile, covering Cross-platform mobile apps. It works with React Native and GitHub. The licence is MIT.

When your agent uses it

  • Tasks that involve Cross-platform mobile apps

Example prompts

  • “/triage”

Requirements

  • Node.js
  • Pre-approved tools (allowed-tools): Read, Grep, Glob, Bash, Write, Edit, Agent, WebFetch

Workflow steps

8 steps, taken from the step headings in SKILL.md.

  1. Parse the issue reference
  2. Read the issue
  3. Determine repo and version context
  4. Assess reproducibility
  5. Create a reproduction
  6. Verify against versions
  7. Draft a comment
  8. Clean up

What it can do on your machine

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

  • Tool permissions

    Pre-approves these tools, so the agent can use them without asking each time:

    • Read
    • Grep
    • Glob
    • Bash
    • Write
    • Edit
    • Agent
    • WebFetch

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • yarn
    • npx
    • gh
    • git

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

  • Network

    No URLs in SKILL.md. Its commands use yarn, npx, gh and git, which can reach the network depending on how they are called.

    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

Triage loads about 2.9k tokens when it runs. Until then it costs about 49 tokens; SKILL.md has 1,130 words of instructions outside code blocks.

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

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: notes

The automated check noted patterns worth knowing about, such as sudo or a known installer.

  • NotePre-approves every shell command (allowed-tools: Bash)SKILL.md
    allowed-tools: Read, Grep, Glob, Bash, Write, Edit, Agent, WebFetch

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

The full file from nativewind/react-native-css at commit a5002c5, republished under its MIT licence (© nativewind). 1,130 words, ~2,860 tokens.

Download SKILL.mdSave it as .claude/skills/triage/SKILL.md (or your agent's skills folder).
name
triage
description
Triage a Nativewind or react-native-css GitHub issue. Reads the issue, determines version/repo, creates a reproduction, tests against latest published and local HEAD, then drafts a comment.
allowed-tools
Read, Grep, Glob, Bash, Write, Edit, Agent, WebFetch
argument-hint
<issue-number-or-url>

You are triaging a GitHub issue for either nativewind/nativewind or nativewind/react-native-css. Your goal is to understand the issue, reproduce it, verify it against the latest releases and local HEAD, and draft a response.

Project context

Before diving in, read the relevant project docs for architecture and conventions:

  • Nativewind v5: Read CLAUDE.md and DEVELOPMENT.md in /Users/dan/Developer/nativewind/nativewind/
  • react-native-css: Read CLAUDE.md and DEVELOPMENT.md in /Users/dan/Developer/nativewind/react-native-css/
  • Nativewind v4: Read CONTRIBUTING.md and check test structure in /Users/dan/Developer/nativewind/nativewind-v4/

These docs describe the architecture, test conventions, commands, and common pitfalls for each project. Use them to inform your reproduction strategy and root cause analysis.

Step 0: Parse the issue reference

Extract the issue number and repo from $ARGUMENTS. Accept formats like:

  • 123 or #123 (defaults to nativewind/react-native-css)
  • nativewind/nativewind#123
  • nativewind/react-native-css#123
  • A full GitHub URL like https://github.com/nativewind/react-native-css/issues/45

Step 1: Read the issue

bash
gh issue view <number> --repo <owner/repo> --json title,body,labels,state,comments,createdAt,author

Read the full output carefully. Pay attention to:

  • Title and description: What is the reported problem?
  • Comments: Any additional context, workarounds, or clarifications from the reporter or maintainers?
  • Labels: Any existing version or area labels?
  • Code snippets, config files, or error messages included in the issue

Step 2: Determine repo and version context

If filed on nativewind/react-native-css

react-native-css is a standalone CSS polyfill for React Native. It provides the CSS compiler (lightningcss-based), babel plugin (import rewriting), Metro transformer, and native runtime styling engine. It functions independently of Tailwind CSS but is the engine behind Nativewind v5. There is no v4 equivalent in this repo (v4's runtime was react-native-css-interop, which lives in the nativewind-v4 monorepo).

Read DEVELOPMENT.md in the react-native-css repo for the full architecture diagram and key directories. The issue likely involves one of these layers:

  • Compiler (src/compiler/) if CSS parses/compiles incorrectly
  • Native runtime (src/native/) if styles resolve incorrectly at runtime
  • Babel plugin (src/babel/) if import rewriting fails
  • Metro transformer (src/metro/) if bundling/transformation fails
react-native-css
Branchmain
npm packagereact-native-css
npm tag@latest
Local repo path/Users/dan/Developer/nativewind/react-native-css
If filed on nativewind/nativewind

Figure out whether this is a v4 or v5 issue. Clues:

  • nativewind version in their package.json (v4.x = v4, v5.x = v5)
  • Presence of tailwind.config.js = v4 (v5 uses Tailwind CSS v4's @tailwindcss/postcss)
  • Presence of react-native-css-interop = v4; react-native-css = v5
  • Mention of @import "nativewind/theme" = v5
  • If unclear, assume v5 (the active development branch) but note the ambiguity
Nativewind v4 (stable)Nativewind v5 (preview)
Branchv4main
Tailwindv3v4
Runtimereact-native-css-interopreact-native-css
npm tag@latest@preview
Repro templatenpx rn-new@latest --nativewindnpx rn-new@next --nativewind
Local repo path/Users/dan/Developer/nativewind/nativewind-v4/Users/dan/Developer/nativewind/nativewind

Step 3: Assess reproducibility

Before creating a reproduction, check if there is enough information:

  • Is the problem clearly described?
  • Are there code snippets showing the failing className, component, CSS, or config?
  • Is there an error message or screenshot?

If the issue lacks critical details needed for reproduction, skip to Step 6 and draft a comment requesting more information. Tailor the ask to the repo:

For nativewind issues:

Thanks for reporting this. To investigate, we need a minimal reproduction. Could you provide:

  • Your package.json dependencies (nativewind, react-native-css/react-native-css-interop, tailwindcss versions)
  • The specific className(s) or config causing the issue
  • A reproduction using npx rn-new@latest --nativewind (v4) or npx rn-new@next --nativewind (v5)

For react-native-css issues:

Thanks for reporting this. To investigate, we need a minimal reproduction. Could you provide:

  • Your react-native-css version
  • The CSS and component code that triggers the issue
  • Expected vs. actual behavior

Step 4: Create a reproduction

Create a minimal reproduction. The approach depends on the repo and what's being tested.


react-native-css issues

Tests are organized by domain in src/__tests__/ with three subdirectories: native/, compiler/, babel/. Before writing a test, read a few existing tests in the relevant subdirectory to match the conventions exactly.

For native styling issues (most common, e.g., wrong style output, className not working):

typescript
// Create: src/__tests__/native/triage-<issue-number>.test.tsx
import { render, screen } from "@testing-library/react-native";
import { View } from "react-native-css/components/View";
import { registerCSS, testID } from "react-native-css/jest";

describe("Issue #<number>", () => {
  test("description of the problem", () => {
    registerCSS(`.my-class { /* the CSS from the issue */ }`);

    render(<View testID={testID} className="my-class" />);
    const component = screen.getByTestId(testID);

    // Log what we actually get
    console.log(JSON.stringify(component.props, null, 2));

    // Assert expected behavior
    expect(component.props).toStrictEqual({
      children: undefined,
      style: { /* expected styles */ },
      testID,
    });
  });
});

Run with: cd /Users/dan/Developer/nativewind/react-native-css && yarn test src/__tests__/native/triage-<issue-number>.test.tsx

For compiler issues (CSS parses wrong, wrong JSON output):

Read existing tests in src/__tests__/compiler/ (e.g., compiler.test.tsx, declarations.test.tsx) to match the pattern. Compiler tests verify the JSON output structure from compile().

Run with: cd /Users/dan/Developer/nativewind/react-native-css && yarn test compiler

For babel issues (import rewriting broken):

Read existing tests in src/__tests__/babel/ which use babel-plugin-tester.

Run with: cd /Users/dan/Developer/nativewind/react-native-css && yarn test babel

For runtime issues that need a full app:

bash
cd /Users/dan/Developer/nativewind/react-native-css/example
yarn example start:build  # Rebuilds library + starts Metro

Show full SKILL.md (452 more words)Show less
Nativewind v5 issues

For CSS/styling issues (in /Users/dan/Developer/nativewind/nativewind):

typescript
// Create: src/__tests__/triage-<issue-number>.test.ts
import { renderCurrentTest, renderSimple } from "../test-utils";

describe("Issue #<number>", () => {
  test("<the-failing-classname>", async () => {
    // Use renderCurrentTest() if testing a single className (test name = className)
    const result = await renderCurrentTest();
    console.log(JSON.stringify(result, null, 2));
  });

  // Or use renderSimple() for more complex scenarios
  test("complex case", async () => {
    const result = await renderSimple({
      className: "<multiple classes here>",
      // css: "custom CSS if needed",
      // extraCss: "additional CSS",
    });
    console.log(JSON.stringify(result, null, 2));
  });
});

Run with: yarn test src/__tests__/triage-<issue-number>.test.ts


Nativewind v4 issues

(in /Users/dan/Developer/nativewind/nativewind-v4): Check the v4 test conventions first:

bash
ls /Users/dan/Developer/nativewind/nativewind-v4/packages/nativewind/src/__tests__/

Then write a similar test following v4's patterns.


For runtime/Metro/babel issues (any repo)

These are harder to reproduce with unit tests. Create a standalone project:

v5 / react-native-css: npx rn-new@next --nativewind in a temp directory v4: npx rn-new@latest --nativewind in a temp directory

Then replicate the reporter's setup and config.

Step 5: Verify against versions

Run the reproduction in two contexts:

5a. Latest published version

For test-based reproductions, this is what yarn test already does (uses installed dependencies).

For app-based reproductions, ensure the project uses the latest published version:

  • react-native-css: react-native-css@latest
  • Nativewind v4: nativewind@latest
  • Nativewind v5: nativewind@preview

Record the result: does the issue reproduce? What's the actual vs. expected behavior?

5b. Local HEAD of the respective branch

For test-based reproductions in the repo itself, the tests already run against local source.

But consider whether the bug crosses repo boundaries:

  • A Nativewind styling issue might actually be a react-native-css compiler bug
  • A react-native-css issue might only surface when used with Nativewind's @map variant

Check recent commits for relevant changes:

bash
# In the appropriate repo
git log --oneline -20

If the issue might be in a different repo than where it was filed, note that in your findings.

Step 6: Draft a comment

Based on your findings, draft a GitHub issue comment. The tone should be helpful and direct. Include:

  1. Reproduction status: Did you reproduce it? On which version(s)?
  2. Root cause (if identified): Where the bug lives and why
  3. Scope: Is this a Nativewind issue or a react-native-css issue? If filed in the wrong repo, say so.
  4. Workaround (if any): A temporary fix the reporter can use
  5. Next steps: What needs to happen to fix this (PR, upstream fix, config change)

If the issue is not reproducible, say so clearly and ask for more details.

If the issue is already fixed on HEAD but not published, mention that and suggest the user try the latest version or a canary build.

Format the comment as a markdown blockquote so Dan can review it before posting:

Reproduction result

[Your findings here]

Step 7: Clean up

Remove any temporary test files you created:

bash
# In whichever repo you created the test
rm src/__tests__/triage-<issue-number>.test.ts
rm src/__tests__/native/triage-<issue-number>.test.tsx
rm src/__tests__/compiler/triage-<issue-number>.test.tsx

Do NOT leave triage test files in either repo.

Important notes

  • Never post the comment automatically. Always present it to Dan for review.
  • If the issue is clearly a duplicate, mention the original issue number.
  • If the issue is filed in the wrong repo (e.g., a react-native-css bug filed on nativewind), note that and suggest transferring it.
  • Be honest about what you can and cannot determine from the reproduction.
  • When the issue spans both repos, test in both and note which repo owns the fix.

© nativewind, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .claude/skills/triage of nativewind/react-native-css.

Open the folder on GitHubat commit a5002c5

Compare with similar skills

Triage 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.

Triage compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Triage this skillnativewind/react-native-css165—~2.9kAutomated safety check: NotesMIT
Web To Mobilesuntay44/web-to-mobile-magic-plugin107—~781Automated safety check: PassMIT
Funding Stewardhyochan/react-native-nitro-sound961—~650Automated safety check: PassMIT
Msstore CLIgithub/awesome-copilot40k1 repos~4.1kAutomated safety check: PassMIT
Android Cicddavila7/claude-code-templates32k—~2.2kAutomated safety check: PassMIT
Funding Stewardhyochan/react-native-nitro-sound961—~134Automated safety check: PassMIT

Similar skills

  • Web To Mobile

    suntay44/web-to-mobile-magic-plugin

    Orchestrate website or web app conversion into a mobile app.

    107 GitHub stars~781 tokensUpdated 24 days ago
    MobileAuto-check passed
  • Funding Steward

    hyochan/react-native-nitro-sound

    Maintain react-native-nitro-sound funding links, GitHub Funding configuration, Buy Me a Coffee and PayPal calls to action, supporter acknowledgements, and transparent maintainer updates.

    961 GitHub stars~650 tokensUpdated 8 days ago
    MobileAuto-check passed
  • Msstore CLI

    github/awesome-copilot

    Official

    Microsoft Store Developer CLI (msstore) for publishing Windows applications to the Microsoft Store.

    40k GitHub starsUsed in 1 repo~4.1k tokens
    MobileAuto-check passed
  • Android Cicd

    davila7/claude-code-templates

    Automated Android CI/CD pipeline to Google Play — supports TWA, React Native, Flutter, and native Android.

    32k GitHub stars~2.2k tokensUpdated today
    MobileAuto-check passed
  • Funding Steward

    hyochan/react-native-nitro-sound

    Maintain react-native-nitro-sound funding links, GitHub Funding configuration, Buy Me a Coffee and PayPal calls to action, supporter acknowledgements, and transparent maintainer updates.

    961 GitHub stars~134 tokensUpdated 8 days ago
    MobileAuto-check passed
  • GitHub Actions

    callstackincubator/agent-skills

    Official

    GitHub Actions workflow patterns for React Native iOS simulator and Android emulator cloud builds with downloadable artifacts.

    1.7k GitHub starsUsed in 1 repo~703 tokens
    DevOps & CloudAuto-check passed

More from nativewind/react-native-css

  • Add Test

    nativewind/react-native-css

    Scaffold a test for a react-native-css feature following the project's testing conventions.

    165 GitHub stars~373 tokensUpdated 9 days ago
    Auto-check passed
  • Architecture

    nativewind/react-native-css

    Explain the react-native-css architecture, compiler pipeline, and key files.

    165 GitHub stars~467 tokensUpdated 9 days ago
    Auto-check passed

Categories

Questions about Triage

What does Triage do?

Triage a Nativewind or react-native-css GitHub issue. An agent skill from nativewind/react-native-css. Triage is an agent skill from nativewind/react-native-css. Triage a Nativewind or react-native-css GitHub issue.

When should I use Triage?

Triage fits situations like: tasks that involve Cross-platform mobile apps.

How do I install Triage in Claude Code?

Run `npx skills add nativewind/react-native-css --skill triage -a claude-code`. Or copy the skill folder (.claude/skills/triage in nativewind/react-native-css) into .claude/skills/triage in your project. Claude Code loads it when a task matches its description.

How do I install Triage in Codex?

Run `npx skills add nativewind/react-native-css --skill triage -a codex`. Or copy the skill folder (.claude/skills/triage in nativewind/react-native-css) into .agents/skills/triage in your project. Codex loads it when a task matches its description.

Can I use Triage 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 nativewind/react-native-css --skill triage -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/triage, .gemini/skills/triage, .github/skills/triage and .opencode/skills/triage in your project.

What does Triage need to run?

Going by SKILL.md and its folder, Triage needs the command-line tools its instructions call (yarn, npx, gh and git). Our summary lists: Node.js. Its frontmatter pre-approves these tools: Read, Grep, Glob, Bash, Write, Edit, Agent, WebFetch.

Does Triage access the network?

SKILL.md contains no URLs. Its commands use npx, gh and git, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Triage safe to install?

Our automated static check of SKILL.md found notes only (pre-approves every shell command (allowed-tools: bash)), nothing it rates as a warning. It is not a guarantee. Review the folder before installing.

What licence does Triage use?

Triage is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Triage use?

About 2.9k 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 Triage?

Skills that share tags, products or a category with Triage: Web To Mobile (suntay44/web-to-mobile-magic-plugin, 107 stars), Funding Steward (hyochan/react-native-nitro-sound, 961 stars), Msstore CLI (github/awesome-copilot, 40k stars) and Android Cicd (davila7/claude-code-templates, 32k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Triage?

nativewind (a GitHub organization) maintains it in nativewind/react-native-css, which has 165 GitHub stars. The repository holds 3 skills in this directory. The repository was last updated on September 28, 2026.

Source: nativewind/react-native-css on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.