Skip to content

docs: update skill#522

Merged
jpudysz merged 1 commit into
mainfrom
feature/skill-new
May 5, 2026
Merged

docs: update skill#522
jpudysz merged 1 commit into
mainfrom
feature/skill-new

Conversation

@jpudysz

@jpudysz jpudysz commented May 5, 2026

Copy link
Copy Markdown
Collaborator

Summary by CodeRabbit

  • New Features

    • Introduced a method to read Uniwind CSS variables outside React components for use in event handlers, async callbacks, utilities, and worklets with non-reactive behavior.
  • Documentation

    • Added comprehensive documentation with usage examples.
    • Updated FAQ clarifying reactive vs. non-reactive CSS variable access patterns.

@jpudysz jpudysz requested a review from Brentlok May 5, 2026 07:54
@coderabbitai

coderabbitai Bot commented May 5, 2026

Copy link
Copy Markdown

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 86109117-3d0c-42c0-adfe-e100b05a1344

📥 Commits

Reviewing files that changed from the base of the PR and between 0cbe527 and 3614de5.

📒 Files selected for processing (1)
  • skills/uniwind/SKILL.md

📝 Walkthrough

Walkthrough

Documentation adds a new getCSSVariable API reference for reading Uniwind CSS variables outside React in 1.6.4+. The changelog describes its TypeScript return type, non-reactive one-shot semantics, and example usage. FAQ entry updated to clarify reactive vs. non-reactive patterns.

Changes

Documentation for getCSSVariable API

Layer / File(s) Summary
API Documentation
skills/uniwind/SKILL.md (lines 947–961)
New getCSSVariable subsection added with 1.6.4+ version requirement, TypeScript return type (string | number | undefined), example calls for single and multiple variables, type casting guidance, and note on non-reactive one-shot semantics.
FAQ Update
skills/uniwind/SKILL.md (line 2045)
"How can I access CSS variables in JS?" answer expanded to reference Uniwind.getCSSVariable (one-shot) alongside useCSSVariable (reactive), with guidance on @theme static for non-className variables.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~3 minutes

Possibly related PRs

  • uni-stack/uniwind#521: Implements and exposes the getCSSVariable function that this PR documents.
  • uni-stack/uniwind#488: Prior Uniwind skill documentation update covering version guidance and related CSS variable APIs.
  • uni-stack/uniwind#433: Earlier Uniwind skill documentation changes covering useCSSVariable and CSS variable helpers.

Suggested reviewers

  • Brentlok

Poem

🐰 A rabbit's note on docs so neat,

New getCSSVariable makes reading complete—

Outside React, grab those CSS pearls,

One-shot delight, no reactivity twirls! ✨

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 inconclusive)

Check name Status Explanation Resolution
Title check ❓ Inconclusive The title 'docs: update skill' is vague and non-specific; it does not clearly convey what documentation or which skill was updated or what the actual changes involve. Use a more descriptive title that specifies the skill name and the primary change, such as 'docs: add getCSSVariable method to Uniwind skill documentation' or 'docs: document getCSSVariable for reading CSS variables outside React'.
✅ Passed checks (4 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
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 feature/skill-new

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.

@jpudysz jpudysz merged commit b7519dd into main May 5, 2026
2 checks passed
@jpudysz jpudysz deleted the feature/skill-new branch May 5, 2026 07:58
@github-actions

github-actions Bot commented May 5, 2026

Copy link
Copy Markdown
Contributor

🚀 This pull request is included in v1.6.4. See Release v1.6.4 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.

2 participants