cap-go avatar

Capacitor Performance

This covers the practical stuff you need to speed up a Capacitor app: lazy loading plugins instead of importing everything upfront, batching native bridge calls to avoid constant back and forth between JavaScript and native code, and using CSS transforms over layout properties for animations. The profiling section gives you actual steps for Chrome DevTools, Xcode Instruments, and Android Profiler rather than just saying "use profiling tools." It's focused on quick wins like dropping image quality from 100 to 80 and virtual scrolling for long lists. The metrics table is helpful for knowing what you're aiming for. Good if your hybrid app feels sluggish or you're seeing memory issues.

skills.sh installs
129
GitHub stars
43
last updated
Jun 3, 2026

Install

$ npx -y skills add cap-go/capacitor-skills --skill capacitor-performance --agent claude-code

Installs into .claude/skills of the current project.

Files

Capacitor Performance

Find the bottleneck first (WebView JS, bridge, native, or network), then fix the specific cause. Generic web advice (code splitting, image compression, virtual lists) still applies; this skill focuses on what is different inside Capacitor.

When to Use

TRIGGER when:

  • Cold start is slow, splash stays long, or the first screen is blank for seconds.
  • App "restarts" or shows a white screen after taking a photo, opening a big file, or returning from background.
  • Native calls feel slow, especially with images, files, or large HTTP responses.
  • Scrolling/animations jank only on device (often older Android WebView).
  • Memory grows over time; listeners pile up.

Do not use:

  • Crashes, native stack traces -> debugging-capacitor, capacitor-native-observability.
  • Getting logs off a device -> ios-android-logs.
  • Offline storage design / SQLite migration -> capacitor-offline-first, sqlite-to-fast-sql.
  • Splash screen setup -> capacitor-splash-screen; keyboard resize jank -> capacitor-keyboard.
  • OTA bundle size and delta updates -> capgo-live-updates.

Procedure

Sponsors

Details

Repository
github.com/cap-go/capacitor-skills
Categories
Debugging, Mobile Development
First seen
Jun 3, 2026

More from cap-go/capacitor-skills

All 13

Recommended

More Debugging
1sickn33 avatarlinux-troubleshootingsickn33/antigravity-awesome-skillslinux troubleshooting125skills.sh installs
2composiohq avatarperf-profilercomposiohq/awesome-claude-pluginsWhen you need to find out why your service is pegging CPU or leaking memory, this skill runs perf, JFR, or similar profilers and...0skills.sh installs
3hoangsonww avatardebug-live-issuehoangsonww/claude-code-agent-monitorDebug production-like issues in this repository with disciplined evidence gathering. Use when fixing failing workflows, regressions, flaky behavior, or data inc0skills.sh installs
4laolaoshiren avatarerror-translatorlaolaoshiren/claude-code-skills-zh编程错误消息翻译专家 — 将英文错误消息翻译成中文,解释原因并提供修复方案0skills.sh installs
5greensock avatargsap-performancegreensock/gsap-skillsOfficial GSAP skill for performance — prefer transforms, avoid layout thrashing, will-change, batching. Use when optimizing GSAP animations, reducing jank, or w78.9Kskills.sh installs
6warpdotdev avatarfix-errorswarpdotdev/common-skillsFix compilation errors, linting issues, and test failures in the warp Rust codebase. Covers presubmit checks, WASM-specific errors, and running specific tests. 28.7Kskills.sh installs