cap-go avatar

Capacitor Performance

This walks you through the performance bottlenecks that hit Capacitor apps hardest: bloated bundles from eager plugin imports, janky animations from non-GPU-accelerated CSS, and sluggish native bridge calls from chatty back-and-forth patterns. The quick wins section is solid, especially the lazy loading pattern and the batching advice for storage operations. It covers profiling with Chrome DevTools, Xcode Instruments, and Android Profiler, though you'll need to know your way around those tools already. The virtual scrolling and debouncing examples are framework-agnostic pseudocode, so you'll adapt them to React, Vue, or whatever you're using. Good for when your app feels slow and you need a checklist of likely culprits rather than deep performance theory.

skills.sh installs
1.3K
GitHub stars
77
last updated
Aug 21, 2026

Install

$ npx -y skills add cap-go/capgo-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/capgo-skills
Categories
Documentation, Debugging, Mobile Development
First seen
Jun 3, 2026

More from cap-go/capgo-skills

All 41
1genkit-ai avatardeveloping-genkit-dartgenkit-ai/skillsGenerates code and provides documentation for the Genkit Dart SDK. Use when the user asks to build AI agents in Dart, use Genkit flows, or integrate LLMs into D1.3Kskills.sh installs
2neolabhq avatarcreate-agentneolabhq/context-engineering-kitComprehensive guide for creating Claude Code agents with proper structure, triggering conditions, system prompts, and validation - combines official Anthropic b1.3Kskills.sh installs
3pmprompt avatarprd-writerpmprompt/claude-plugin-product-managementGenerate comprehensive product requirements documents. Use when starting a new feature or product initiative and need structured documentation.1.2Kskills.sh installs
4nexscope-ai avatarecommerce-email-marketing-buildernexscope-ai/ecommerce-skillsE-commerce email marketing system builder. Creates complete email automation flows with full copywriting, subject lines, ESP setup instructions, segmentation ru1.2Kskills.sh installs
5jezweb avatarshopify-contentjezweb/claude-skillsCreate and manage Shopify pages, blog posts, navigation menus, redirects, and SEO metadata via the Admin API or browser automation. Use whenever the user wants 1.2Kskills.sh installs
6software-mansion-labs avatarexpo-horizonsoftware-mansion-labs/skillsSoftware Mansion's guide for migrating Expo SDK apps to Meta Quest using expo-horizon packages. Use when adding Meta Quest or Meta Horizon OS support to an exis1.2Kskills.sh installs