enhance-capacitor-ui

enhance-capacitor-ui is a skill for Claude Code from kensaurus/cursor-kenji. It costs 77 tokens per session (5,322 once invoked), scanned A, original, MIT.

A UI and UX workflow for keeping desktop web, progressive web app, iOS, and Android versions of a hybrid app usable without one layout harming another.

In plain words
What is it for?
Use it when improving a Capacitor, Tauri, Expo Web, Ionic, or React Native Web app across web and mobile surfaces.
Why use it?
It addresses problems such as a desktop layout becoming cramped on a phone or a mobile design leaving too much empty space on a large screen.

Skill for Claude Code

Written for Claude Code: paths in frontmatter.

Good fit Use it when improving a Capacitor, Tauri, Expo Web, Ionic, or React Native Web app across web and mobile surfaces.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/kensaurus/cursor-kenji/enhance-capacitor-ui
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add kensaurus/cursor-kenji --skill enhance-capacitor-ui
Clone the repo
git clone --depth 1 https://github.com/kensaurus/cursor-kenji

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for enhance-capacitor-ui

README.md
[![agentmods](https://agentmods.dev/badge/skills/kensaurus/cursor-kenji/enhance-capacitor-ui.svg)](https://agentmods.dev/skills/kensaurus/cursor-kenji/enhance-capacitor-ui)
Your own site
<a href="https://agentmods.dev/skills/kensaurus/cursor-kenji/enhance-capacitor-ui"><img src="https://agentmods.dev/badge/skills/kensaurus/cursor-kenji/enhance-capacitor-ui.svg" alt="Measured on agentmods" height="20"></a>
Per session 77 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 5,322 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00077 $0.05322
Opus 5 $0.00039 $0.02661
Sonnet 5 $0.00015 $0.01064
Haiku 4.5 $0.00008 $0.00532

Measured 5d ago against content hash 6c635053b53d, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

enhance-capacitor-ui scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 5d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

| First-paint at /compact | View page source (Next.js `?_rsc` or curl) | If both `<BottomNav>` AND `<DesktopSideNav>` render, then JS hides one — you have FOUC |
skills/enhance-capacitor-ui/SKILL.md · 464 lines

How it starts

The opening of the file, as written. The whole thing — 464 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Surface router: /uiux. You are here: enhance-capacitor-ui. Native iOS/Android (SwiftUI / Compose, no web layer) is out of scope — use Apple HIG / Material directly.

Enhance Web ↔ Mobile UI

Degree of freedom: MIXED. Axis/tier judgment [HIGH freedom]; probes, SSR first-paint, and six-cell verify [LOW freedom — run exactly].

Separate the mobile and desktop design contracts of a hybrid app so that a UIUX sweep on one surface cannot silently degrade the other. This is not a "add a useIsMobile hook" skill. It establishes three orthogonal axes, one source of truth, mode tokens, container-query primitives, and a chrome allow-list — so per-form-factor / per-platform polish is a predictable, reviewable change instead of a regression.

Vague-but-visceral cross-surface feedback ("looks great on web, atrocious on iPhone", "the iPad version is just a stretched phone", "Android dock feels wrong", "everything wraps on tablet") almost always points to axis conflation — one boolean (isMobile) is being asked to answer three different questions. Start at the architecture, not at the broken page.

If browser/native automation is used, first follow the protocol-browser-anti-stall skill when present.

How to reason

  1. Inventory — which surfaces ship; how the code answers "is mobile?"
  2. Separate — form factor vs platform vs pointer (never one boolean)
  3. Allow-list — viewport queries only in chrome; containers elsewhere
  4. Verify — six-cell matrix + SSR first-paint + live data-* on <html>

Worked example

Inventory: Capacitor PWA + iOS + Android; 18 useIsMobile sites; cards use lg:grid-cols-2. Separate: sheet vs popover is compact OR coarse pointer, not viewport < 768. Allow-list: app-shell / docks keep md:; Card becomes @container + @4xl:. Verify: card in a 320px side panel on a 1920 monitor stays compact; no FOUC of both navs.

Self-critique before reporting

  • Three axes — no leftover useIsMobile answering platform or hover
  • SSR — chrome visibility is CSS-gated; no JS-only first paint
  • Six cells — compact/medium/expanded × web/iOS/Android viewed
  • Right owner — one-surface polish → enhance-web-ui; native SwiftUI/Compose is out of scope

Read the full file on GitHub · 464 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 5d ago First seen · 464 lines · 77 tokens per session scan A 6c635053b53d

Subscribe to this mod's changes

enhance-capacitor-ui is a skill published in the GitHub repository kensaurus/cursor-kenji (9 stars, last pushed 10d ago), licensed MIT. It adds 77 tokens to every session and 5,322 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

Other skills, from other repositories

render-ios-keyboard

Render a static iOS QWERTY keyboard as inline HTML+CSS sized for the 750-wide 9:16 stage. Includes the 3-suggestion bar, alpha keys, shift/backspace, 123/emoji/space/return row, and the bottom globe+mic strip. No animation logic — slide up/down is the molecule's job (CSS transform on the .keyboard root).

gooseworks-ai/goose-skills · 86 tokens

interaction-skill

Layer A interaction-mechanics reference anchored to the beui.dev catalog. Stacks on any style skill whenever work adds or changes motion or interaction — micro-interactions, animated components, transitions, gestures, hover/press/state feedback, loading/success/error morphs, 'make it feel alive'. Mandates reading the…

code-yeongyu/oh-my-openagent · 104 tokens

layout-skill

Layer A layout-mechanics reference. Stacks on any style skill when the screen is an app shell, dashboard, settings, list-detail, mail/inbox, or any layout with fixed regions plus a scrolling body — or when a layout breaks under long, empty, or unbroken content. Owns spatial structure and scroll ownership; owns zero…

code-yeongyu/oh-my-openagent · 88 tokens

flutter-use-column-row-first

Use when building any Flutter screen or component to choose responsive Row, Column, Expanded, Flexible, and Spacer layouts before fixed-size or coordinate-based alternatives.

evanca/flutter-ai-rules · 36 tokens

lov-mobile-adapt

A mobile adaptation workflow for existing web projects. It adjusts desktop websites for phones by handling responsive layouts, overflow, safe areas around notches, browser viewport height, touch targets, and mobile navigation.

lovstudio/skills · 105 tokens

accessibility-audit

Conduct accessibility audits against WCAG 2.2 guidelines. Evaluate pages, components, and flows for conformance at A, AA, and AAA levels. Identify issues, assess severity, provide code fixes, and generate audit reports. Covers automated testing, manual testing, keyboard navigation, screen reader compatibility, color…

cuellarfr/design-skills · 72 tokens