Skip to content

docs: update skill with important properties#536

Merged
Brentlok merged 1 commit into
mainfrom
docs/skill-update-important-properties
May 14, 2026
Merged

docs: update skill with important properties#536
Brentlok merged 1 commit into
mainfrom
docs/skill-update-important-properties

Conversation

@Brentlok
Copy link
Copy Markdown
Contributor

@Brentlok Brentlok commented May 14, 2026

Summary by CodeRabbit

  • Documentation
    • Expanded guidance on Tailwind "important" (!) utilities in Uniwind, clarifying how they override standard utilities and interact with inline styles and state variants.
    • Added new section explaining style specificity rules and best practices for using important utilities.

Review Change Stack

@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented May 14, 2026

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: de89102f-5015-4d64-abec-dbf96a475534

📥 Commits

Reviewing files that changed from the base of the PR and between 5f4d7f1 and bd6d4a4.

📒 Files selected for processing (2)
  • skills/migrate-nativewind-to-uniwind/SKILL.md
  • skills/uniwind/SKILL.md

📝 Walkthrough

Walkthrough

This PR expands documentation across two Uniwind skill files to clarify how Tailwind "important" (!) utilities work in Uniwind. The main skill documentation adds the feature to its trigger text, defines critical rules with examples covering basic and variant-prefixed ! utilities, introduces a new section on style specificity behavior, and updates the FAQ. A complementary migration guide section explains precedence with React Native variants.

Changes

Uniwind "Important" Utilities Documentation

Layer / File(s) Summary
Uniwind skill documentation - frontmatter, rules, and detailed guidance
skills/uniwind/SKILL.md
Skill trigger text updated to mention "important utilities"; new Critical Rules item covers basic, state, and platform-prefixed ! utilities; new "Important Utilities and Style Specificity" section explains ! override behavior, variant compatibility, and that inline style always takes precedence; FAQ on style specificity expanded to document ! rules and cn() guidance.
Migration guide update - important utilities behavior
skills/migrate-nativewind-to-uniwind/SKILL.md
Migration guide adds documentation explaining that !-prefixed utilities override non-! utilities for the same property (including React Native active variants) and that inline style retains highest priority.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~3 minutes

Possibly related PRs

  • uni-stack/uniwind#380: Adds documentation about Tailwind ! important utilities in the migration guide.
  • uni-stack/uniwind#433: Modifies the same Uniwind skill documentation file with foundational Tailwind utility guidance.

Suggested reviewers

  • jpudysz

Poem

🐰 Hopping through the styles with care,
Where ! utilities declare,
"I take the lead, but inline's king,"
And variants dance on every spring!
The docs shine bright, specificity's clear—
Uniwind magic draws near! ✨

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title 'docs: update skill with important properties' accurately reflects the main changes—documentation updates to clarify Tailwind important utilities in the Uniwind skill guides.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch docs/skill-update-important-properties

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@Brentlok Brentlok merged commit f1bd00a into main May 14, 2026
2 checks passed
@Brentlok Brentlok deleted the docs/skill-update-important-properties branch May 14, 2026 11:27
@github-actions
Copy link
Copy Markdown
Contributor

🚀 This pull request is included in v1.6.5. See Release v1.6.5 for release notes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant