Agent skill · Audited from source
Performance Optimization
skill · rohitg00/awesome-claude-code-toolkitApache-2.0 licenceAudited 11 Oct 2026 · source f03e77eaf446
Is it safe? Yes — SAFE, grade B (89/100). We read this skill's source at commit f03e77eaf446 and found no filesystem, network or shell access and no hard-coded secrets. What it does: Web performance optimization including bundle analysis, lazy loading, caching strategies, and Core Web Vitals
Cite
Cite this page
ModelsAtlas. “Performance Optimization (rohitg00/awesome-claude-code-toolkit)”. Retrieved 11 Oct 2026. https://modelsatlas.com/skills/rohitg00/performance-optimization
2 skills are called “Performance Optimization”. You are viewing rohitg00/awesome-claude-code-toolkit.
- rohitg00/awesome-claude-code-toolkit★ 2.7k✓SAFE
- addyosmani/agent-skills★ 100k✓SAFE
Trust audit
Audit 0.4.1 · source read 11 Oct 2026
SAFE means nothing in the source contradicts what the skill says it does. Grade B is shared by 17,406 of 18,389 audited skills.
What the source does
- FilesystemNone observedNo reads or writes in the source
- NetworkNone observedNo outbound calls in the source
- ShellNone observedNo commands run in the source
- DependenciesPinnedNothing floats
- SecretsNone foundNo keys in source
Five audit layers
| Layer | What we check | Result | Findings |
|---|---|---|---|
L0 Provenance | Repo owner, licence, archive status, activity | PASS | 0 |
L1 Static source | Secrets, path traversal, supply chain, hidden code | NA | 0 |
L2 Instructions | Prompt injection, authority framing, hidden directives | PASS | 0 |
L3 Inventory | The files and declarations match the source | PASS | 0 |
L4 Sandbox | Run in isolation and watch behaviour | SKIPPED why | 0 |
Gates applied: no behavioural pass.
Findings (0)
No findings at any severity. We re-audit when the source changes.
Audit 0.4.1 · source sha f03e77eaf446 · 11 Oct 2026Report an issue or request a re-scan
Provenance
Who published it, and what the verdict is pinned to
- Publisherrohitg00 GitHub userOwner of the repository this skill is read from
- Source folderrohitg00/awesome-claude-code-toolkit/skills/performance-optimizationThe exact folder we audited
- LicenceApache-2.0As the repository states it
- Commit pinned for this verdictf03e77eaf446A new audit runs when the source changes
- Repository statusNot archivedLast push 152 days ago
- Sandboxed runNot runSkills are read, not executed; layer L4 is skipped
What it tells the agent
Full source on GitHub ↗Its description: Web performance optimization including bundle analysis, lazy loading, caching strategies, and Core Web Vitals
---
name: performance-optimization
description: Web performance optimization including bundle analysis, lazy loading, caching strategies, and Core Web Vitals
---
# Performance Optimization
## Bundle Analysis and Code Splitting
```typescript
// Dynamic import for route-level code splitting
const Dashboard = lazy(() => import("./pages/Dashboard"));
const Settings = lazy(() => import("./pages/Settings"));
function App() {
return (
<Suspense fallback={<PageSkeleton />}>
<Routes>
<Route path="/dashboard" element={<Dashboard />} />
<Route path="/settings" element={<Settings />} />
</Routes>
</Suspense>
);
}
```
```javascript
// vite.config.ts - manual chunk splitting
export default defineConfig({
build: {
rollupOptions: {
output: {
manualChunks: {
vendor: ["react", "react-dom"],
charts: ["recharts", "d3"],
editor: ["@monaco-editor/react"],
},
},
},
},
});
```
```bash
# Analyze bundle composition
npx vite-bundle-visualizer
npx source-map-explorer dist/assets/*.js
```
## Image Optimization
```tsx
import Image from "next/image";
function ProductImage({ src, alt }: { src: string; alt: string }) {
return (
<Image
src={src}
alt={alt}
width={800}
height={600}
sizes="(max-width: 768px) 100vw, (max-width: 1200px) 50vw, 33vw"
placeholder="blur"
blurDataURL={generateBlurHash(src)}
loading="lazy"
/>
);
}
```
```html
<!-- Native lazy loading with aspect ratio -->
<img
src="product.webp"
alt="Product photo"
width="800"
height="600"
loading="lazy"
decoding="async"
fetchpriority="low"
/>
<!-- Preload LCP image -->
<link rel="preload" as="image" href="/hero.webp" fetchpriority="high" />
```
## Caching Headers
```typescript
function setCacheHeaders(res: Response, options: CacheOptions) {
if (options.immutable) {
res.setHeader("Cache-Control", "public, max-age=31536000, immutable");
return;
}
if (options.revalidate) {
res.setHeader("Cache-Control", `public, max-age=0, s-maxage=${options.revalidate}, stale-while-revalidate=${options.staleWhileRevalidate ?? 86400}`);
return;
}
res.setHeader("Cache-Control", "no-cache, no-store, must-revalidate");
}
app.use("/assets", (req, res, next) => {
setCacheHeaders(res, { immutable: true });
next();
});
app.use("/api", (req, res, next) => {
setCacheHeaders(res, { revalidate: 60, staleWhileRevalidate: 3600 });
next();
});
```
## Virtual Lists for Large Data
```tsx
import { useVirtualizer } from "@tanstack/react-virtual";
function VirtualList({ items }: { items: Item[] }) {
const parentRef = useRef<HTMLDivElement>(null);
const virtualizer = useVirtualizer({
count: items.length,
getScrollElement: () => parentRef.current,
estimateSize: () => 50,
overscan: 5,
});
return (
<div ref={parentRef} style={{ height: "600px", overflow: "auto" }}>
<div style={{ height: `${virtualizer.getTotalSize()}px`, position: "relative" }}>
{virtualizer.getVirtualItems().map((virtualRow) => (
<div
key={virtualRow.key}
style={{
position: "absolute",
top: 0,
transform: `translateY(${virtualRow.start}px)`,
height: `${virtualRow.size}px`,
width: "100%",
}}
>
<ItemRow item={items[virtualRow.index]} />
</div>
))}
</div>
</div>
);
}
```
## Core Web Vitals Monitoring
```typescript
import { onCLS, onINP, onLCP } from "web-vitals";
function sendMetric(metric: { name: string; value: number; id: string }) {
navigator.sendBeacon("/api/vitals", JSON.stringify(metric));
}
onCLS(sendMetric);
onINP(sendMetric);
onLCP(sendMetric);
```
- **LCP** (Largest Contentful Paint): < 2.5s. Preload hero images, optimize server response time.
- **INP** (Interaction to Next Paint): < 200ms. Avoid long tasks, use `requestIdleCallback`.
- **CLS** (Cumulative Layout Shift): < 0.1. Set explicit dimensions on images and embeds.
## Anti-Patterns
- Loading all JavaScript upfront instead of code-splitting by route
- Serving unoptimized images (no WebP/AVIF, no responsive sizes)
- Missing `width` and `height` on images (causes layout shift)
- Using `Cache-Control: no-cache` on static assets with content hashes
- Rendering thousands of DOM nodes instead of virtualizing lists
- Blocking the main thread with synchronous computation
## Checklist
- [ ] Routes lazy-loaded with dynamic `import()` and Suspense
- [ ] Bundle analyzed and vendor chunks separated
- [ ] Images served in WebP/AVIF with responsive `sizes` attribute
- [ ] LCP image preloaded with `fetchpriority="high"`
- [ ] Static assets cached with immutable headers and content hashes
- [ ] Lists with 100+ items use virtualization
- [ ] Core Web Vitals monitored in production (LCP, INP, CLS)
- [ ] No render-blocking resources in the critical pathExcerpt, first 4,991 characters of SKILL.md, verbatim from the audited commit. It is text from someone else’s repository, quoted so you can judge it before your agent reads it.
Install
Pinned to the audited commit f03e77e
git clone https://github.com/rohitg00/awesome-claude-code-toolkit git -C awesome-claude-code-toolkit checkout f03e77eaf446
The author documents no install command, so this uses the repository directly. Our verdict covers commit f03e77eaf446 only.
Works in
The author has not said which agents this skill supports, and we have not tested it in any.
Audit history
Every audit, every source change
- ✓SAFE B 89 / 100
first audit · source
f03e77eaf446
README badge
For maintainers · shows the latest audit
[](https://modelsatlas.com/skills/rohitg00/performance-optimization/)
The badge shows our verdict and grade for this skill, and links back to this page. It changes when the audit does.
Similar skills
rohitg00/awesome-claude-code-toolkit
Web accessibility patterns for WCAG 2.2 compliance including ARIA, keyboard navigation, screen readers, and testing
rohitg00/awesome-claude-code-toolkit
Route broad or ambiguous AgentKit SEO work to the right module while keeping context scoped. Use when a request spans multiple surfaces, asks for overall digital-presence strategy, involves provider or install…
rohitg00/awesome-claude-code-toolkit
REST API design with resource naming, pagination, versioning, and OpenAPI spec generation
rohitg00/awesome-claude-code-toolkit
Authentication and authorization patterns including OAuth2, JWT, RBAC, session management, and PKCE flows
rohitg00/awesome-claude-code-toolkit
AWS cloud patterns for Lambda, ECS, S3, DynamoDB, and Infrastructure as Code with CDK/Terraform
rohitg00/awesome-claude-code-toolkit
CI/CD pipeline patterns for GitHub Actions, GitLab CI, testing strategies, and deployment automation
Add this badge to your README
[](https://modelsatlas.com/skills/rohitg00/performance-optimization/)
<a href="https://modelsatlas.com/skills/rohitg00/performance-optimization/"><img src="https://modelsatlas.com/skills/rohitg00/performance-optimization/badge.svg" alt="ModelsAtlas: SAFE B"></a>
Questions about Performance Optimization
What does the Performance Optimization skill do?
Is Performance Optimization safe to install?
What can Performance Optimization access on my machine?
How current is this page?
Sources
- github.com/rohitg00/awesome-claude-code-toolkit/tree/main/skills — the audited source at commit f03e77eaf446 and every finding aboveObserved · 11 Oct 2026
Spotted something wrong? Report a correction · Methodology
Keep going in your AI
Opens with this page as the source. We add nothing else to the prompt.
- What does the Performance Optimization skill do?
- Is Performance Optimization safe to install?
- What can Performance Optimization access on my machine?