triage
Skill167 starsChanged 8 months agoMITView on GitHub
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.
189 other projects use a version of this, 1 of them edited.
Adopted by
Most recently taken up by
- udecode/platetheir own version, first seen Nov 8, 2026
- vercel-labs/add-skilltheir own version, first seen Nov 8, 2026
- chrysogonus/power-agentstheir own version, first seen Nov 8, 2026
- ishandutta2007/Awesome-Claude-Skillstheir own version, first seen Nov 8, 2026
- Adelie-Squad/solosquadtheir own version, first seen Nov 8, 2026
- cloudflare/vinexttheir own version, first seen Nov 8, 2026
Used with
Projects with it also use writing-beats, setup-matt-pocock-skills and 10 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
LesaniSkillwriting-beats
Shape an article as a journey of beats, choose-your-own-adventure style. The user picks a starting beat from the raw material, you write only that beat, then offer options for where to pivot next, beat by beat, until the article reaches a natural end. Use when the user has raw material and wants to assemble it as a narrative rather than an argument.
Also in 66 projects that use this
GoogleSkillsetup-matt-pocock-skills
Configure this repo for the engineering skills — set up its issue tracker, triage label vocabulary, and domain doc layout. Run once before first use of the other engineering skills.
Also in 167 projects that use this
liufeng1976Skillsetup-ts-deep-modules
Wire dependency-cruiser into a TypeScript repo so each package is a deep module — implementation hidden in subfolders, reachable only through its entry-point files. User-invoked.
Also in 42 projects that use this
SethGammonSkillascii-diagram
Generate perfectly aligned ASCII diagrams — architecture, flow, sequence, box-and-arrow. Uses a programmatic character-grid approach so alignment is guaranteed by math, not token prediction. Includes post-render verification.
Also in 4 projects that use this
simo97Skillmigrate-to-shoehorn
Migrate test files from `as` type assertions to @total-typescript/shoehorn. Use when user mentions shoehorn, wants to replace `as` in tests, or needs partial test data.
Also in 68 projects that use this
LesaniSkillwriting-shape
Take a markdown file of raw material and shape it into an article through a conversational session — drafting candidate openings, growing the piece paragraph by paragraph, arguing about format (lists, tables, callouts, quotes) at each step. Use when the user has a pile of notes, fragments, or a rough draft and wants help turning it into something publishable.
Also in 63 projects that use this
- +1 more from Lesani
Other versions189 projects use a version of this.
Word for word · 0
None found.
Edited · 1
- nativewind/nativewind★ 8.1k73% same
Wrote their own version · 188
- mattpocock/skills★ 309ksame name
- withastro/astro★ 64ksame name
- vectorize-io/hindsight★ 60ksame name
- ogulcancelik/herdr★ 47ksame name
- herdrdev/herdr★ 47ksame name
- colinhacks/zod★ 44ksame name
- QuivrHQ/quivr★ 40ksame name
- The-Vibe-Company/quivr★ 40ksame name
- vercel-labs/add-skill★ 39ksame name
- vercel-labs/skills★ 39ksame name
178 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository3 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- add-testSkill
- architectureSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
24 rules. 0 are common, 17 are distinctive, and 7 are very specific to this project.
0
Common
Most of the 176 edited versions we read keep these.
17
Distinctive
This author's own choices. Worth a look.
7
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 12
Before diving in, read the relevant project docs for architecture and conventions:
- Very specific: line 14
Nativewind v5: Read CLAUDE.md and DEVELOPMENT.md in /Users/dan/Developer/nativewind/nativewind/
- Very specific: line 15
react-native-css: Read CLAUDE.md and DEVELOPMENT.md in /Users/dan/Developer/nativewind/react-native-css/
- Very specific: line 16
Nativewind v4: Read CONTRIBUTING.md and check test structure in /Users/dan/Developer/nativewind/nativewind-v4/
- Distinctive: line 34
Read the full output carefully.
- Very specific: line 46
Read DEVELOPMENT.md in the react-native-css repo for the full architecture diagram and key directories.
- Distinctive: line 66
If unclear, assume v5 (the active development branch) but note the ambiguity
- Distinctive: line 79
Before creating a reproduction, check if there is enough information:
- Distinctive: line 84
If the issue lacks critical details needed for reproduction, skip to Step 6 and draft a comment requesting more information.
- Distinctive: line 100
Create a minimal reproduction.
- Very specific: line 140
Read existing tests in src/__tests__/compiler/ (e.g., compiler.test.tsx, declarations.test.tsx) to match the pattern.
- Very specific: line 146
Read existing tests in src/__tests__/babel/ which use babel-plugin-tester.
- Distinctive: line 192
Check the v4 test conventions first:
- Distinctive: line 211
Run the reproduction in two contexts:
- Distinctive: line 232
Check recent commits for relevant changes:
- Distinctive: line 238
If the issue might be in a different repo than where it was filed, note that in your findings.
- Distinctive: line 250
If the issue is not reproducible, say so clearly and ask for more details.
- Distinctive: line 252
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.
- Distinctive: line 262
Remove any temporary test files you created:
- Distinctive: line 270
Do NOT leave triage test files in either repo.
- Distinctive: line 274
Never post the comment automatically: Always present it to Dan for review.
- Distinctive: line 275
If the issue is clearly a duplicate, mention the original issue number.
- Very specific: line 276
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.
- Distinctive: line 278
When the issue spans both repos, test in both and note which repo owns the fix.
“Common” is measured: kept by at least 6 in 10 of the 176 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
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.mdandDEVELOPMENT.mdin/Users/dan/Developer/nativewind/nativewind/ - react-native-css: Read
CLAUDE.mdandDEVELOPMENT.mdin/Users/dan/Developer/nativewind/react-native-css/ - Nativewind v4: Read
CONTRIBUTING.mdand 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:
123or#123(defaults tonativewind/react-native-css)nativewind/nativewind#123nativewind/react-native-css#123- A full GitHub URL like
https://github.com/nativewind/react-native-css/issues/45
Step 1: Read the issue
gh issue view <number> --repo <owner/repo> --json title,body,labels,state,comments,createdAt,authorRead 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 | |
| Branch | main |
| npm package | react-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:
nativewindversion in theirpackage.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) | |
| Branch | v4 | main |
| Tailwind | v3 | v4 |
| Runtime | react-native-css-interop | react-native-css |
| npm tag | @latest | @preview |
| Repro template | npx rn-new@latest --nativewind | npx 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.jsondependencies (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) ornpx 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-cssversion- 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):
// 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:
cd /Users/dan/Developer/nativewind/react-native-css/example
yarn example start:build # Rebuilds library + starts MetroNativewind v5 issues
For CSS/styling issues (in /Users/dan/Developer/nativewind/nativewind):
// 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:
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-csscompiler bug - A react-native-css issue might only surface when used with Nativewind's
@mapvariant
Check recent commits for relevant changes:
# In the appropriate repo
git log --oneline -20If 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:
- Reproduction status: Did you reproduce it? On which version(s)?
- Root cause (if identified): Where the bug lives and why
- Scope: Is this a Nativewind issue or a react-native-css issue? If filed in the wrong repo, say so.
- Workaround (if any): A temporary fix the reporter can use
- 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:
# 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.tsxDo 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.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

