Agent skill

I Optimize

by boussadjra in boussadjra/vuestrata

Improve interface performance across loading speed, rendering, animations, images, and bundle size.

MITAuto-check passedFrontend & Design

Install I Optimize

skills CLI
$ npx skills add boussadjra/vuestrata --skill i-optimize -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install boussadjra/vuestrata i-optimize --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/boussadjra/vuestrata.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.github/skills/i-optimize .claude/skills/i-optimize && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
i-optimize
GitHub stars
111
Used in
11 other repos
Token cost
~1.9k tokens
SKILL.md length
709 words
Files
1
Skills in repo
21
Repo updated
First seen
Licence
MIT

At a glance

Improve interface performance across loading speed, rendering, animations, images, and bundle size.

  • Works in 2 steps: Measure current state → Identify bottlenecks
  • Tasks that involve Web performance
  • SKILL.md covers Assess Performance Issues, Optimization Strategy, Core Web Vitals Optimization and Performance Monitoring, plus 1 more section
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

I Optimize is an agent skill from boussadjra/vuestrata. Improve interface performance across loading speed, rendering, animations, images, and bundle size. Makes experiences faster and smoother.

Its SKILL.md is about 1.9k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Frontend & Design, covering Web performance. It works with JavaScript. The repository describes itself as: A modern, production-ready Vue 3 template with multi-theme support, Reka UI wrappers, and enterprise-grade tooling. The licence is MIT.

When your agent uses it

  • Tasks that involve Web performance

Example prompts

  • “/i-optimize”

Workflow steps

2 steps, taken from the first numbered list in SKILL.md.

  1. Measure current state
  2. Identify bottlenecks

What it can do on your machine

Read from SKILL.md and the folder at commit 73cbf9f. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are javascript, css and html).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

I Optimize loads about 1.9k tokens when it runs. Until then it costs about 37 tokens; SKILL.md has 709 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~37
When it runs · the whole SKILL.md, loaded when a task matches
~1.9k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from boussadjra/vuestrata at commit 73cbf9f, republished under its MIT licence (© boussadjra). 709 words, ~1,930 tokens.

Download SKILL.mdSave it as .claude/skills/i-optimize/SKILL.md (or your agent's skills folder).
name
i-optimize
description
Improve interface performance across loading speed, rendering, animations, images, and bundle size. Makes experiences faster and smoother.
user-invokable
true
argument-hint
TARGET=<value>

Identify and fix performance issues to create faster, smoother user experiences.

Assess Performance Issues

Understand current performance and identify problems:

  1. Measure current state:

    • Core Web Vitals: LCP, FID/INP, CLS scores
    • Load time: Time to interactive, first contentful paint
    • Bundle size: JavaScript, CSS, image sizes
    • Runtime performance: Frame rate, memory usage, CPU usage
    • Network: Request count, payload sizes, waterfall
  2. Identify bottlenecks:

    • What's slow? (Initial load? Interactions? Animations?)
    • What's causing it? (Large images? Expensive JavaScript? Layout thrashing?)
    • How bad is it? (Perceivable? Annoying? Blocking?)
    • Who's affected? (All users? Mobile only? Slow connections?)

CRITICAL: Measure before and after. Premature optimization wastes time. Optimize what actually matters.

Optimization Strategy

Create systematic improvement plan:

Loading Performance

Optimize Images:

  • Use modern formats (WebP, AVIF)
  • Proper sizing (don't load 3000px image for 300px display)
  • Lazy loading for below-fold images
  • Responsive images (srcset, picture element)
  • Compress images (80-85% quality is usually imperceptible)
  • Use CDN for faster delivery
html
<img
  src="hero.webp"
  srcset="hero-400.webp 400w, hero-800.webp 800w, hero-1200.webp 1200w"
  sizes="(max-width: 400px) 400px, (max-width: 800px) 800px, 1200px"
  loading="lazy"
  alt="Hero image"
/>

Reduce JavaScript Bundle:

  • Code splitting (route-based, component-based)
  • Tree shaking (remove unused code)
  • Remove unused dependencies
  • Lazy load non-critical code
  • Use dynamic imports for large components
javascript
// Lazy load heavy component
const HeavyChart = lazy(() => import('./HeavyChart'))

Optimize CSS:

  • Remove unused CSS
  • Critical CSS inline, rest async
  • Minimize CSS files
  • Use CSS containment for independent regions

Optimize Fonts:

  • Use font-display: swap or optional
  • Subset fonts (only characters you need)
  • Preload critical fonts
  • Use system fonts when appropriate
  • Limit font weights loaded
css
@font-face {
  font-family: 'CustomFont';
  src: url('/fonts/custom.woff2') format('woff2');
  font-display: swap; /* Show fallback immediately */
  unicode-range: U+0020-007F; /* Basic Latin only */
}

Optimize Loading Strategy:

  • Critical resources first (async/defer non-critical)
  • Preload critical assets
  • Prefetch likely next pages
  • Service worker for offline/caching
  • HTTP/2 or HTTP/3 for multiplexing
Rendering Performance

Avoid Layout Thrashing:

javascript
// ❌ Bad: Alternating reads and writes (causes reflows)
elements.forEach((el) => {
  const height = el.offsetHeight // Read (forces layout)
  el.style.height = height * 2 // Write
})

// ✅ Good: Batch reads, then batch writes
const heights = elements.map((el) => el.offsetHeight) // All reads
elements.forEach((el, i) => {
  el.style.height = heights[i] * 2 // All writes
})

Optimize Rendering:

  • Use CSS contain property for independent regions
  • Minimize DOM depth (flatter is faster)
  • Reduce DOM size (fewer elements)
  • Use content-visibility: auto for long lists
  • Virtual scrolling for very long lists (react-window, react-virtualized)

Reduce Paint & Composite:

  • Use transform and opacity for animations (GPU-accelerated)
  • Avoid animating layout properties (width, height, top, left)
  • Use will-change sparingly for known expensive operations
  • Minimize paint areas (smaller is faster)
Animation Performance

GPU Acceleration:

css
/* ✅ GPU-accelerated (fast) */
.animated {
  transform: translateX(100px);
  opacity: 0.5;
}

/* ❌ CPU-bound (slow) */
.animated {
  left: 100px;
  width: 300px;
}

Smooth 60fps:

  • Target 16ms per frame (60fps)
  • Use requestAnimationFrame for JS animations
  • Debounce/throttle scroll handlers
  • Use CSS animations when possible
  • Avoid long-running JavaScript during animations

Intersection Observer:

javascript
// Efficiently detect when elements enter viewport
const observer = new IntersectionObserver((entries) => {
  entries.forEach((entry) => {
    if (entry.isIntersecting) {
      // Element is visible, lazy load or animate
    }
  })
})
React/Framework Optimization

React-specific:

  • Use memo() for expensive components
  • useMemo() and useCallback() for expensive computations
  • Virtualize long lists
  • Code split routes
  • Avoid inline function creation in render
  • Use React DevTools Profiler

Framework-agnostic:

  • Minimize re-renders
  • Debounce expensive operations
  • Memoize computed values
  • Lazy load routes and components
Network Optimization

Reduce Requests:

  • Combine small files
  • Use SVG sprites for icons
  • Inline small critical assets
  • Remove unused third-party scripts

Optimize APIs:

  • Use pagination (don't load everything)
  • GraphQL to request only needed fields
  • Response compression (gzip, brotli)
  • HTTP caching headers
  • CDN for static assets

Optimize for Slow Connections:

  • Adaptive loading based on connection (navigator.connection)
  • Optimistic UI updates
  • Request prioritization
  • Progressive enhancement
Show full SKILL.md (259 more words)Show less

Core Web Vitals Optimization

Largest Contentful Paint (LCP < 2.5s)
  • Optimize hero images
  • Inline critical CSS
  • Preload key resources
  • Use CDN
  • Server-side rendering
First Input Delay (FID < 100ms) / INP (< 200ms)
  • Break up long tasks
  • Defer non-critical JavaScript
  • Use web workers for heavy computation
  • Reduce JavaScript execution time
Cumulative Layout Shift (CLS < 0.1)
  • Set dimensions on images and videos
  • Don't inject content above existing content
  • Use aspect-ratio CSS property
  • Reserve space for ads/embeds
  • Avoid animations that cause layout shifts
css
/* Reserve space for image */
.image-container {
  aspect-ratio: 16 / 9;
}

Performance Monitoring

Tools to use:

  • Chrome DevTools (Lighthouse, Performance panel)
  • WebPageTest
  • Core Web Vitals (Chrome UX Report)
  • Bundle analyzers (webpack-bundle-analyzer)
  • Performance monitoring (Sentry, DataDog, New Relic)

Key metrics:

  • LCP, FID/INP, CLS (Core Web Vitals)
  • Time to Interactive (TTI)
  • First Contentful Paint (FCP)
  • Total Blocking Time (TBT)
  • Bundle size
  • Request count

IMPORTANT: Measure on real devices with real network conditions. Desktop Chrome with fast connection isn't representative.

NEVER:

  • Optimize without measuring (premature optimization)
  • Sacrifice accessibility for performance
  • Break functionality while optimizing
  • Use will-change everywhere (creates new layers, uses memory)
  • Lazy load above-fold content
  • Optimize micro-optimizations while ignoring major issues (optimize the biggest bottleneck first)
  • Forget about mobile performance (often slower devices, slower connections)

Verify Improvements

Test that optimizations worked:

  • Before/after metrics: Compare Lighthouse scores
  • Real user monitoring: Track improvements for real users
  • Different devices: Test on low-end Android, not just flagship iPhone
  • Slow connections: Throttle to 3G, test experience
  • No regressions: Ensure functionality still works
  • User perception: Does it feel faster?

Remember: Performance is a feature. Fast experiences feel more responsive, more polished, more professional. Optimize systematically, measure ruthlessly, and prioritize user-perceived performance.

© boussadjra, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .github/skills/i-optimize of boussadjra/vuestrata.

Open the folder on GitHubat commit 73cbf9f

Used in 11 other repositories

We found 13 copies of this SKILL.md (exact, near-identical or edited) in other folders, from 11 other GitHub owners. This page covers the copy in boussadjra/vuestrata, which our catalogue first saw on October 7, 2026.

Compare with similar skills

I Optimize next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

I Optimize compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
I Optimize this skillboussadjra/vuestrata11111 repos~1.9kAutomated safety check: PassMIT
Compare Array Bundle SizePostHog/posthog-js628—~599Automated safety check: PassCustom licence
Web Performancemozilla/firefox-devtools-mcp474—~1.2kAutomated safety check: PassCustom licence
Igniteui Wc Integrate With FrameworkIgniteUI/igniteui-webcomponents170—~1.4kAutomated safety check: PassMIT
Web Performance Optimizationdavila7/claude-code-templates32k7 repos~4kAutomated safety check: PassMIT
Duplicate JSthedaviddias/Front-End-Checklist74k—~423Automated safety check: PassMIT

Similar skills

  • Compare Array Bundle Size

    PostHog/posthog-js

    Official

    Quickly compare the posthog-js array.js bundle size in the current working tree against a git baseline using the repository's esbuild proxy.

    628 GitHub stars~599 tokensUpdated today
    Frontend & DesignAuto-check passed
  • Web Performance

    mozilla/firefox-devtools-mcp

    Find and fix why a website is slow by capturing and analyzing a Firefox performance profile, or by analyzing a profile the user already has (a saved file or a profiler.firefox.com share link).

    474 GitHub stars~1.2k tokensUpdated yesterday
    Frontend & DesignAuto-check passed
  • Igniteui Wc Integrate With Framework

    IgniteUI/igniteui-webcomponents

    Install and integrate Ignite UI Web Components packages into React, Angular, Vue 3, LitElement, or vanilla JS/HTML apps, detecting the framework and applying framework-specific setup (package…

    170 GitHub stars~1.4k tokensUpdated today
    Frontend & DesignAuto-check passed
  • Web Performance Optimization

    davila7/claude-code-templates

    Optimize website and web application performance including loading speed, Core Web Vitals, bundle size, caching strategies, and runtime performance

    32k GitHub starsUsed in 7 repos~4k tokens
    Frontend & DesignAuto-check passed
  • Duplicate JS

    thedaviddias/Front-End-Checklist

    A skill your agent uses when auditing slow page loads, heavy assets, or rendering delays related to Remove duplicate JavaScript libraries.

    74k GitHub stars~423 tokensUpdated 3 days ago
    Frontend & DesignAuto-check passed
  • JS File Size

    thedaviddias/Front-End-Checklist

    A skill your agent uses when auditing slow page loads, heavy assets, or rendering delays related to Optimize JavaScript bundle size.

    74k GitHub stars~408 tokensUpdated 3 days ago
    Frontend & DesignAuto-check passed

More from boussadjra/vuestrata

All 21 skills in this repo
  • I Delight

    boussadjra/vuestrata

    Add moments of joy, personality, and unexpected touches that make interfaces memorable and enjoyable to use.

    111 GitHub starsUsed in 11 repos~2.6k tokens
    Auto-check passed
  • I Frontend Design

    boussadjra/vuestrata

    Create distinctive, production-grade frontend interfaces with high design quality.

    111 GitHub starsUsed in 9 repos~2k tokens
    Auto-check passed
  • I Harden

    boussadjra/vuestrata

    Improve interface resilience through better error handling, i18n support, text overflow handling, and edge case management.

    111 GitHub starsUsed in 7 repos~2.3k tokens
    Auto-check passed
  • I Onboard

    boussadjra/vuestrata

    Design or improve onboarding flows, empty states, and first-time user experiences.

    111 GitHub starsUsed in 7 repos~2k tokens
    Auto-check passed
  • I Teach Impeccable

    boussadjra/vuestrata

    One-time setup that gathers design context for your project and saves it to your AI config file.

    111 GitHub starsUsed in 6 repos~672 tokens
    Auto-check passed
  • I Animate

    boussadjra/vuestrata

    Review a feature and enhance it with purposeful animations, micro-interactions, and motion effects that improve usability and delight.

    111 GitHub starsUsed in 4 repos~2.1k tokens
    Auto-check passed

Works with

Questions about I Optimize

What does I Optimize do?

Improve interface performance across loading speed, rendering, animations, images, and bundle size. I Optimize is an agent skill from boussadjra/vuestrata. Improve interface performance across loading speed, rendering, animations, images, and bundle size.

When should I use I Optimize?

I Optimize fits situations like: tasks that involve Web performance.

How do I install I Optimize in Claude Code?

Run `npx skills add boussadjra/vuestrata --skill i-optimize -a claude-code`. Or copy the skill folder (.github/skills/i-optimize in boussadjra/vuestrata) into .claude/skills/i-optimize in your project. Claude Code loads it when a task matches its description.

How do I install I Optimize in Codex?

Run `npx skills add boussadjra/vuestrata --skill i-optimize -a codex`. Or copy the skill folder (.github/skills/i-optimize in boussadjra/vuestrata) into .agents/skills/i-optimize in your project. Codex loads it when a task matches its description.

Can I use I Optimize in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add boussadjra/vuestrata --skill i-optimize -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/i-optimize, .gemini/skills/i-optimize, .github/skills/i-optimize and .opencode/skills/i-optimize in your project.

What does I Optimize need to run?

SKILL.md names no scripts, command-line tools or credentials: I Optimize is instructions for the agent only.

Does I Optimize access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is I Optimize safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does I Optimize use?

I Optimize is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does I Optimize use?

About 1.9k tokens (SKILL.md is roughly 7.7k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to I Optimize?

Skills that share tags, products or a category with I Optimize: Compare Array Bundle Size (PostHog/posthog-js, 628 stars), Web Performance (mozilla/firefox-devtools-mcp, 474 stars), Igniteui Wc Integrate With Framework (IgniteUI/igniteui-webcomponents, 170 stars) and Web Performance Optimization (davila7/claude-code-templates, 32k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains I Optimize?

boussadjra (a GitHub user) maintains it in boussadjra/vuestrata, which has 111 GitHub stars. The repository holds 21 skills in this directory. The repository was last updated on October 5, 2026.

Source: boussadjra/vuestrata on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.