Skip to content

feat: improve mobile guidance and platform detection - #23

Merged
AnxForever merged 1 commit into
mainfrom
improve/skill-guidance-20261007
Oct 7, 2026
Merged

AnxForever merged 1 commit into
mainfrom
improve/skill-guidance-20261007

Conversation

@AnxForever

Copy link
Copy Markdown
Owner

Mobile work could be routed into the wrong runtime: the detector classified React Native as React Web, while the Skill lacked guidance for selecting native versus browser components. This update adds evidence-based platform detection and mobile guidance, including how to adapt ChunUI's visual direction in a Web project and when to use its actual SwiftUI package.

The entrypoint now routes to focused references for mobile work, complete specs, and update controls. Existing updater safeguards remain intact. Documentation clarifies full CLI/API/MCP brief contracts, verifies stylekit-cli@0.3.1 brief, and scopes Skills CLI upgrades with --project or --global. The managed payload version is 0.8.0.

Validation:

  • 64 Python tests: 62 passed, 2 Windows-only junction tests skipped on Linux. Includes nine detector regressions for native/web boundaries, mixed workspaces, Next + React Native Web, and invalid target paths.
  • Skill format, release-manifest hashes, version increase, local documentation links, and git diff --check passed.
  • skills@1.7.1 add <local-checkout> --list discovered exactly one stylekit skill without installing it.
  • Live read-only style/asset retrieval passed. Published stylekit-cli@0.3.1 brief glassmorphism normalized through the Python loader as stylekit-brief-v1 with 10 recipes.
  • Two isolated recommendation-only agent exercises selected compatible approaches: existing Radix for a Next.js product page; existing React Native Paper for an Expo notes app. Neither changed app files or installed dependencies. These exercises validate routing/selection, not generated UI or native runtime quality.

The mobile library guidance uses official external sources; it does not assume the unpublished StyleKit /mobile route or invent asset-catalog entries. The existing StyleKit website checkout is not part of this PR.

@coderabbitai

coderabbitai Bot commented Oct 7, 2026 •

Copy link
Copy Markdown

Review in Change Stack →

Note

Currently processing new changes in this PR. This may take a few minutes, please wait...

⚙️ Run configuration
  • Configuration used: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: db1aa81d-963c-43f9-882b-ce83c5f99878
📥 Commits

Reviewing files that changed from the base of the PR and between ab36d80 and 195eedb.

📒 Files selected for processing (16)
  • README.en.md
  • README.md
  • SKILL.md
  • references/design-principles.md
  • references/forward-test.md
  • references/mobile-ui.md
  • references/spec-workflow.md
  • references/updates.md
  • scripts/detect-project.py
  • scripts/eval-check.py
  • scripts/fetch-style.py
  • scripts/generate-release-manifest.py
  • scripts/release-manifest.json
  • scripts/spec_input.py
  • scripts/verify-spec.py
  • tests/test_detect_project.py
 ________________________________________
< C*deR*bb*t: The uncensored bug hunter. >
 ----------------------------------------
  \
   \   \
        \ /\
        ( )
      .( o ).
✨ Finishing Touches
📝 Generate docstrings
  • Commit to this branch
  • Create a new PR
🧪 Generate unit tests (beta)
  • Commit to this branch
  • Create a new PR
  • Autopilot · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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.

@AnxForever
AnxForever marked this pull request as ready for review October 7, 2026 05:42
@AnxForever
AnxForever merged commit 93b9c1d into main Oct 7, 2026
2 of 3 checks passed
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